Re: Core data grand-children list

2008-09-17 Thread Tomaž Kragelj
Hi, thanks for suggestion - definitely worth remembering it. Yesterday evening I was playing a bit more with array controllers and I figured it out - I use intermediate array controller for sessions and bindings like this: ProjectArrayController: no binding, just setting the mode to entity

Multi DB Library

2008-09-17 Thread Andrew Zahra
Can anyone suggest a multi Database library for use in developing a Cocoa based app? At least support for Oracle, MySQL and PostgreSQL would be required. I notice that Python has good database support. Would developing a PyObjC app be a better way to go? thanks, Andrew

Re: AudioQueueServices Tutorial?

2008-09-17 Thread Jesse Armand
Well that's the issue most people is having, especially on iPhone SDK. But I think for Mac Desktop, the Apple docs is sufficient. Jesse Armand (http://jessearm.blogspot.com) On Wed, Sep 17, 2008 at 3:22 PM, Muhammad Ishaq [EMAIL PROTECTED] wrote: Hi

Re: Dealing with encoding in XML parsing

2008-09-17 Thread Nathan Kinsinger
On Sep 16, 2008, at 4:01 PM, Laurent Cerveau wrote: Hi I have an XML document with obviously some problems with it but that needs to be parsed in all cases. One of the problem is apparently an encoding one as some text read in an editor as Restaurant, Bar, Bistro, CafÈ (reopening with an

Re: How do I check if at least one TWAIN device is available

2008-09-17 Thread Ulf Dunkel
How do I check if at least one TWAIN device is available? Really noone out there who could help me with this topic? Or is this no question for cocoa-dev? Then please point me to the right list, thanks. Regards, UlfDunkel ___ Cocoa-dev mailing

Re: How do I check if at least one TWAIN device is available

2008-09-17 Thread Graham Cox
On 17 Sep 2008, at 10:55 pm, Ulf Dunkel wrote: How do I check if at least one TWAIN device is available? Really noone out there who could help me with this topic? Or is this no question for cocoa-dev? Then please point me to the right list, thanks. A quick search of the developer

RE: NSMutableString question

2008-09-17 Thread Matthew Youney
Roland, You really need to start here: http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concept s/ObjectOwnership.html#//apple_ref/doc/uid/2043 For me, this was the most complicated part of Cocoa and most different from other languages. I recommend reading it, printing

Binding to an NSArrayController however binding is 1-way only.

2008-09-17 Thread dreamcat7
Hello, I am stuck finding a solution for my array of arrays problem. - A problem with a twist ! For the data must be displayed in an NSTableView and therefore it must be structured in a particular way. Mutable array of [items] with keypaths in each item making up the columns of each

Re: Multi DB Library

2008-09-17 Thread Ted Thibodeau Jr.
Can anyone suggest a multi Database library for use in developing a Cocoa based app? At least support for Oracle, MySQL and PostgreSQL would be required. I notice that Python has good database support. Would developing a PyObjC app be a better way to go? ODBC... If you're working with any

Re: NSMutableString question

2008-09-17 Thread Roland King
I think you misunderstood my post, and I used 'release' instead of 'dealloc' which was just lazy of me. I was responding to Jason's post where he was talking about active memory management especially on devices where memory is limited. I may have misunderstood his post entirely but I took

Re: NSApplication subclass crashes on 10.3 with Xcode 3

2008-09-17 Thread Jamie Hardt
Hello- I don't thin you can call dictionaryWithObject: without having an autorelease pool set up, and initialize might be getting called before autorelease pool for the main loop is getting setup. Try replacing dictionaryWithObject: with a standard alloc-init sequence. Or, do the

Re: Multi DB Library

2008-09-17 Thread dreamcat7
Hi, As a developer I aswell am finding it hard to evaluate these options myself and without prior experience. For example I would be drawn to the prospect of learning the same api for both the local and remote database. (typically id like to cache the data downloaded from the data onto a

Re: Page Curl Transition of Layers

2008-09-17 Thread Matt Long
I think you need to clarify what you mean by swapping of layers into views. The page curl transition works fine in a CALayer. I just set the transition for the opacity key so that whenever opacity gets changed, the transition between the previous layer opacity and the new is done with a

CoreData _PK NSManagedObject

2008-09-17 Thread Camille GOUREAU-SUIGNARD
Hi, does somebody know a way to retrieve a NSManagedObject (whose db has already been saved) if I know its _PK in sqlite ? I use sqlite3 queries whose result I would like to fetch within a cocoa app. And I know no way of getting group by queries within CoreData. The result gives me the

Re: NSApplication subclass crashes on 10.3 with Xcode 3

2008-09-17 Thread Kevin Wojniak
Well it works fine on 10.5 without any autorelease warnings, and nothing shows up in 10.3's Console either, so I don't think that's the issue. Its as if the Cocoa frameworks aren't loading properly when the framework loads.. Kevin On Sep 17, 2008, at 12:13 PM, Jamie Hardt wrote:

QCView and NSGarbageCollector

2008-09-17 Thread Peter Schmidt
Hello List, I've found a problem with QCView in my Coca-App with GC enabled. The animation (created with the Quartz Composer) will play very laggy. When I disable the GC it will run fine and smooth. This seems not to be an error in my App. I can reproduce the same with the sample-Apps

Re: NSMutableString question

2008-09-17 Thread Jason Coco
On Sep 17, 2008, at 12:08 , Roland King wrote: You'd think perhaps that alloc/init would give you an object which really has never been retained by anyone else, but as I said I remembered a post from a while ago about a complex object which was alloc/init'ed but ended up still having a

Re: Multi DB Library

2008-09-17 Thread Devon Ferns
OS X has libsqlite3 built in. You just have to include the header file and link to the library. It's C based and you can write an Objective-C wrapper functions around it. There are already some good ones like FMDatabase or Quicklite. Devon dreamcat7 wrote: Hi, As a developer I aswell am

Re: NSApplication subclass crashes on 10.3 with Xcode 3

2008-09-17 Thread Jamie Hardt
You wont, since the garbage collector will be doing the work of the autorelease pool, and the log will just show references to a deallocated object as a bad access. Try running it in 10.3 with zombies enabled to get a warning that might be more useful. On Sep 17, 2008, at 10:06 AM,

Re: AudioQueueServices Tutorial?

2008-09-17 Thread Nick Zitzmann
On Sep 17, 2008, at 2:22 AM, Muhammad Ishaq wrote: I was just curious if there's a step by step AudioQueueServices Tutorial somewhere, I have gone through Apple's documentation but it is making my head spin (I am new to Mac Development) FWIW, I've had a lot of trouble getting AudioQueue

Re: QCView and NSGarbageCollector

2008-09-17 Thread Peter Schmidt
Am 17.09.2008 um 20:36 schrieb Nick Zitzmann: Have you filed a bug report at http://bugreport.apple.com/? No, not yet at the moment. I want to wait for a few responses from the list, if I overlooked something in the documentation, or so ... regards, Peter

fullscreen quicktime across multiple monitors

2008-09-17 Thread Memo Akten
Hi All, I'd like to create a little app the runs a quicktime movie (prores) fullscreen across multiple monitors. I think I can figure out the QTKit stuff, but couldn't find upto date documentation on going fullscreen. I've found some code snippets to do it, but they are all pre-leopard and

Re: Multi DB Library

2008-09-17 Thread Ted Thibodeau Jr.
Devon wrote: OS X has libsqlite3 built in. You just have to include the header file and link to the library. It's C based and you can write an Objective-C wrapper functions around it. There are already some good ones like FMDatabase or Quicklite. Well, yes ... but it's not an ODBC driver,

Re: Multi DB Library

2008-09-17 Thread Jonathan Monroe
On Sep 17, 2008, at 11:42 AM, dreamcat7 wrote: I would be drawn to the prospect of learning the same api for both the local and remote database. (typically id like to cache the data downloaded from the data onto a local sqlite DB). I did find only one ODBC driver for sqlite

Re: Multi DB Library

2008-09-17 Thread dreamcat7
Precisely my point: how do you go about evaluating which of these is the better option ? I hoped i was clear enough in my previous mail. On 17 Sep 2008, at 20:06, Ted Thibodeau Jr. wrote: Devon wrote: OS X has libsqlite3 built in. You just have to include the header file and link to the

OpenDirectory.framework LDAP tutorial

2008-09-17 Thread Martin Stoufer
Does anyone have a simple tutorial example for this (or URL)? I would like to implement LDAP authentication in an app. The only code I have found have been rather long low-level listings with little documentation. I hate to just cutpaste w/o any knowledge of whats going on. I have setup an

Re: Multi DB Library

2008-09-17 Thread Devon Ferns
He was talking about using a local sqlite cache so at least in my view I don't see the point in using ODBC for that. SQLite really doesn't have too much different from generic SQL that would make it hard to learn especially since there are some nice wrapper classes around it already. Devon

Re: Multi DB Library

2008-09-17 Thread Ted Thibodeau Jr.
dreamcat7 wrote: As a developer I aswell am finding it hard to evaluate these options myself and without prior experience. For example I would be drawn to the prospect of learning the same api for both the local and remote database. (typically id like to cache the data downloaded from the

Re: Multi DB Library

2008-09-17 Thread Ted Thibodeau Jr.
Devon wrote: He was talking about using a local sqlite cache so at least in my view I don't see the point in using ODBC for that. SQLite really doesn't have too much different from generic SQL that would make it hard to learn especially since there are some nice wrapper classes around it

iPod Touch apps

2008-09-17 Thread D.K. Johnston
How would I go about developing apps for the iPod Touch? Is there a separate SDK? Or would I need to use the one-whose-name-we-dare-not- speak? dkj ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: iPod Touch apps

2008-09-17 Thread Sherm Pendley
For crying out loud, people, grow up! It's called the iPhone, and its name is public information. What's more, if you go to http://developer.apple.com/ipod/ and click on the Developing content for iPod touch link, it takes you to the iPhone SDK page - so it's also public information that it's the

Re: Multi DB Library

2008-09-17 Thread dreamcat7
On 17 Sep 2008, at 20:48, Ted Thibodeau Jr. wrote: I understood the local cache to be a learning and/or small version of what would then be done with a remote engine, which would not be SQLite. Yes, that is correct. Some of the database transaction will need to be on the client side. It

Re: QCView and NSGarbageCollector

2008-09-17 Thread Bill Bumgarner
On Sep 17, 2008, at 11:50 AM, Peter Schmidt wrote: Am 17.09.2008 um 20:36 schrieb Nick Zitzmann: Have you filed a bug report at http://bugreport.apple.com/? No, not yet at the moment. I want to wait for a few responses from the list, if I overlooked something in the documentation, or so ...

Utility/Floating window with titlebar on left side

2008-09-17 Thread Nick Beadman
I am working on an application which, while having no menu bar, presents a floating window when certain applications are frontmost. The floating window contains a specialized WebView and even a download manager. I have no Carbon/Cocoa preference, believing that you should concentrate on

re: CoreData _PK NSManagedObject

2008-09-17 Thread Ben Trumbull
does somebody know a way to retrieve a NSManagedObject (whose db has already been saved) if I know its _PK in sqlite ? [snip] The result gives me the Z_PK of objects. This Z_PK is the index in the db. NSManagedObject does not accept _PK key. nice Please leave the Z_PK alone. It is not the

Re: iPod Touch apps

2008-09-17 Thread D.K. Johnston
On 17 Sep, 2008, at 13:13, Sherm Pendley wrote: For crying out loud, people, grow up! It's called the iPhone Try to develop a sense of humour: you'll do a lot less crying-out-loud. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do

CALayer Mask Logic

2008-09-17 Thread Matt Long
I've noticed that when using the mask property in a CALayer, the mask itself defines what part of the containing layer shows through rather than what part of the layer is actually covered or masked. I'm sure it's just me, but this logic seems inverted from what it ought to be. Is there a

Re: Core Data in a framework ?

2008-09-17 Thread dreamcat7
Hi I apologize if this topic has already been discussed elsewhere. Nobody else has replied yet so perhaps can summarize more briefly the whole thing: NSMutableArray* dates; NSMutableArray* emails; [self bind:@dates toObject:itemsController withKeyPath:@arrangedObjects.date

Re: OpenDirectory.framework LDAP tutorial

2008-09-17 Thread Kyle Sluder
On Wed, Sep 17, 2008 at 3:25 PM, Martin Stoufer [EMAIL PROTECTED] wrote: Does anyone have a simple tutorial example for this (or URL)? I would like to implement LDAP authentication in an app. Are you sure you don't mean to be working with Directory Services instead? --Kyle Sluder

Re: iPod Touch apps

2008-09-17 Thread Sherm Pendley
My sense of humor is just fine, thank you. Snide comments implying that even the name of the iPhone is NDA'd are neither funny nor insightful. After an endless parade of people posting the same thing, it's not a wry comment about your opinion of the NDA, it's just another tiresome repetition of

Re: NSApplication subclass crashes on 10.3 with Xcode 3

2008-09-17 Thread Michael Ash
On Wed, Sep 17, 2008 at 12:13 PM, Jamie Hardt [EMAIL PROTECTED] wrote: Hello- I don't thin you can call dictionaryWithObject: without having an autorelease pool set up, and initialize might be getting called before autorelease pool for the main loop is getting setup. Try replacing

Re: Core Data in a framework ?

2008-09-17 Thread Quincey Morris
On Sep 17, 2008, at 14:24, dreamcat7 wrote: NSMutableArray* dates; NSMutableArray* emails; [self bind:@dates toObject:itemsController withKeyPath:@arrangedObjects.date options:nil]; [self bind:@emails toObject:itemsController withKeyPath:@arrangedObjects.email options:nil]; Why is a

CATextLayer and attributed strings

2008-09-17 Thread Albert Martin
After rewriting much of my code to transition over to Core Animation, I've run across a problem with CATextLayer and displaying attributed strings. The string I am trying to display has a stroke set using NSStrokeWidthAttributeName. Everything seems to work fine, except that the text

Re: NSOutlineView: Which row is selected.

2008-09-17 Thread John Cebasek
Hi All: I guess I didn't have all the required interfaces implemented. I missed numberOfRowsInTable:NSTableView. John On 16-Sep-08, at 7:24 PM, Corbin Dunn wrote: On Sep 16, 2008, at 4:17 PM, John Cebasek wrote: Hi Nick, et al: Well, I did use [self selectedRow], in a previous version

Listening for changes in a table

2008-09-17 Thread Chris Idou
I've got a NSTableView controlled by an NSArrayController, which uses an array of NSMutableDictionaries as its controlled objects. One of the columns is a checkbox. These dictionaries are ultimately stored in the user's preferences. How would I get immediate notification if a user changed one

Re: Core Data in a framework ?

2008-09-17 Thread Chris Hanson
On Sep 17, 2008, at 2:24 PM, dreamcat7 wrote: If use Core Data, then can my class be part of a framework ? Yes. You can use Core Data in pretty much any situation where you would use Foundation. Core Data is not restricted to applications that the user interacts with. For one example,