Re: Array controllers in code?

2010-07-22 Thread Laurent Demaret
Amy Gibbs wrote: > how do > I reference the Arrays/Array controllers in the code? >. I've > added a 'calculate' button, so now I just need to take the 2 > properties from the selected product, do the maths, and set the cost > property with the result. Why don't use use bindings of the bu

Re: WebView pagination for printing

2010-07-21 Thread Laurent Demaret
Kyle Sluder wrote: > If Apple were to provide a print-oriented table or report class, I > would expect and hope it was separate from NSTableView. NSTableView is > very much an onscreen control, and its design reflects such. There is the NSTextTable Class that inherits from NSTextBlock that goes i

Re: Cant Access Properties of NSManagedObject from a NSArrayController...

2009-11-25 Thread Laurent Demaret
Hi Gustavo, Gustavo Pizano wrote: > I needed to use not the proxy but the selected element. .. grrr.. Then I may advise you to use the lastObject selector il you expect only one selectedObject. Using objectAtIndex:0 will give a BAD_EXEC (as long I recall) Error (anyway) each time you have an e

Re: Cant Access Properties of NSManagedObject from a NSArrayController...

2009-11-24 Thread Laurent Demaret
Gustavo Pizano wrote: > Thats what its telling me the console... when logging... It means that the object you sent the message could not handle it. Just put a breakpoint at your NSLog statement and type "po" followed by the id of the faulting object so you know who you are sending your action t

Re: Cant Access Properties of NSManagedObject from a NSArrayController...

2009-11-24 Thread Laurent Demaret
Gustavo Pizano wrote: > .. > unrecognized selector sent to instance 0x100266580.. > any clue what Im doing wrong? You used a unrecognized selector for object 0x100266580 ? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post adm

Re: NSDates and natural language ...

2009-03-30 Thread Laurent Demaret
Hello, Mic Pringle wrote: > any frameworks/classes that have been released that > allow you to return natural language from a date ? NSDateFormatter ? My firs answer on this list, l hope it's a good one... ___ Cocoa-dev mailing list (Cocoa-dev@lists