Re: Nib loading cycle

2011-07-09 Thread Dale Miller
On July 7, Manfred Schwind wrote:On OS X all objects of the nib including the file's owner get an awakeFromNib. I don't think I ever found the doc for that, either, but I did learn the hard way. I was instantiating a NIB multiple times with InstantiateNibWithOwner:topLevelObjects, but I

Re: getting last accessed date

2011-07-09 Thread Gary L. Wade
Using Core Services or OS, you can call FSGetCatalogInfo. Also, I recall things are different for stat under 64 bit, so you may want to make sure you're doing the right thing. - Gary L. Wade (Sent from my iPhone) On Jul 8, 2011, at 8:37 PM, Rick C. rickcort...@gmail.com wrote: Ok I have

Re: Nib loading cycle

2011-07-09 Thread Quincey Morris
On Jul 8, 2011, at 23:06, Dale Miller wrote: On July 7, Manfred Schwind wrote:On OS X all objects of the nib including the file's owner get an awakeFromNib. I don't think I ever found the doc for that, either, but I did learn the hard way. I was instantiating a NIB multiple times with

CALayers are rooted in GC only apps

2011-07-09 Thread Michael Link
In an application that is built gc-only it seems that any CALayers added as sublayers to an NSView are rooted (perhaps by CFRetain) and if those layers have any references to the NSView that is hosting them then they can cause a memory leak. I have a view that has sublayers that accept

Re: NSArrayController - how?

2011-07-09 Thread William Squires
On Jul 8, 2011, at 9:49 PM, Ken Thomases wrote: On Jul 8, 2011, at 8:16 PM, William Squires wrote: Here's what I have plist file - NSMutableArray of NSDictionary instances Don't focus on the array object. Focus on the object which has a to-many relationship property which is

Re: NSArrayController - how?

2011-07-09 Thread Ken Thomases
On Jul 9, 2011, at 8:32 PM, William Squires wrote: On Jul 8, 2011, at 9:49 PM, Ken Thomases wrote: On Jul 8, 2011, at 8:16 PM, William Squires wrote: I've got the UI laid out, including the NSTableView (for displaying the NSDictionarys in the NSMutableArray, NSTextFields for each

Help finding documentation about printing

2011-07-09 Thread Christopher Henrich
I am developing a Cocoa application, and I want to implement printing in it. I have found the document Printing Programming Topics for Cocoa. In it is this paragraph: To understand how Cocoa printing works in the context of the Mac OS X printing system as a whole, you should first read Mac OS