retaining and releasing a Window Controller.

2010-08-08 Thread Kevin Bracey
Hi guys, every time I find myself doing something convoluted I think hey I must be doing this wrong:-) I have a Report WindowController, that opens a Window from it's own nib. This is great, I can open lots of different Reports all bases on the same Controller. But I only need the Window and t

Re: Understanding property/synthesize

2010-08-08 Thread Quincey Morris
On Aug 8, 2010, at 22:14, David Duncan wrote: > As of the iOS 4.0 SDK, the simulator supports the modern, non-fragile runtime. Thanks for the correction. I couldn't remember offhand if this was here yet or was in a beta SDK, so I was trying to avoid getting myself into trouble. ___

Re: help with linking combo boxes

2010-08-08 Thread Quincey Morris
On Aug 8, 2010, at 21:08, Rounak Jain wrote: > I have an array called "Products". It has some product names which are saved > in a plist file. More Products are added to it through the combo box (named > Product) and they too get saved in the plist file automatically. > > Now I want to create a

Re: Understanding property/synthesize

2010-08-08 Thread David Duncan
On Aug 8, 2010, at 10:07 PM, Quincey Morris wrote: > My guess is that simulator support for non-fragile instance variables is > coming Real Soon Now, but that 32-bit Mac applications will never support > them, so you might want to factor that into you decision making process. As of the iOS 4.0

Re: Problems with NSCell setObjectValue

2010-08-08 Thread Quincey Morris
On Aug 7, 2010, at 10:16, Hrishikesh Murukkathampoondi wrote: > I subclassed NSCell to return a custom cell value for a NSTableView. Within > the function > > - (NSCell *)tableView:(NSTableView *)tableView > dataCellForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex > > I set

Re: Understanding property/synthesize

2010-08-08 Thread Quincey Morris
On Aug 7, 2010, at 08:52, Stefan Nobis wrote: > I'm a bit curious about the Objective-C 2.0 property/synthesize > mechanism. In all examples I've seen, an instance variable is declared > for each property. But if I leave out the instance variable like in > the following example, everything works f

help with linking combo boxes

2010-08-08 Thread Rounak Jain
I have an array called "Products". It has some product names which are saved in a plist file. More Products are added to it through the combo box (named Product) and they too get saved in the plist file automatically. Now I want to create a second Combo Box (named Brand) and a third Combo Box (

Problems with NSCell setObjectValue

2010-08-08 Thread Hrishikesh Murukkathampoondi
Hi I subclassed NSCell to return a custom cell value for a NSTableView. Within the function - (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex I set the objectValue for the MyCell object (subclass of NSCell) using setObj

Understanding property/synthesize

2010-08-08 Thread Stefan Nobis
Hi. I'm a bit curious about the Objective-C 2.0 property/synthesize mechanism. In all examples I've seen, an instance variable is declared for each property. But if I leave out the instance variable like in the following example, everything works fine, too. ---

Re: NSFetchedResultsController from a certain object of a to-many relationship of an entity?

2010-08-08 Thread Keary Suska
On Aug 8, 2010, at 8:48 AM, Ignacio Enriquez wrote: > Keary: > >>> I have a recursive structure where there are folders and files. >>> Folders can contain various folders and/or files. (File entity has a >>> boolean "isDirectory" flag) >>> >>> Is easy to show the highest (upper) level data in an

Re: Hiding Document Files from iTunes

2010-08-08 Thread Gordon Apple
Thanks. I have now moved the files/folders to a subfolder in the Library folder. However, I did find the following in the referenced document: " Applications that support file sharing should be able to recognize when files have been added to the Documents directory and respond appropriately. For

Re: NSFetchedResultsController from a certain object of a to-many relationship of an entity?

2010-08-08 Thread Ignacio Enriquez
Keary: >> I have a recursive structure where there are folders and files. >> Folders can contain various folders and/or files. (File entity has a >> boolean "isDirectory" flag) >> >> Is easy to show the highest (upper) level data in an UITableView but I >> am not sure how to implement the UITableV

Re: NSFetchedResultsController from a certain object of a to-many relationship of an entity?

2010-08-08 Thread Keary Suska
On Aug 8, 2010, at 4:10 AM, Ignacio Enriquez wrote: > I have a recursive structure where there are folders and files. > Folders can contain various folders and/or files. (File entity has a > boolean "isDirectory" flag) > > Is easy to show the highest (upper) level data in an UITableView but I > a

NSFetchedResultsController from a certain object of a to-many relationship of an entity?

2010-08-08 Thread Ignacio Enriquez
Hi, I have a recursive structure where there are folders and files. Folders can contain various folders and/or files. (File entity has a boolean "isDirectory" flag) Is easy to show the highest (upper) level data in an UITableView but I am not sure how to implement the UITableView datasource for