Re: Finding front view in a Cocoa app

2008-06-07 Thread Ron Lue-Sang
On Jun 7, 2008, at 9:11 AM, John James wrote: This seems like it should be easy, but I can not find anything with various googles etc. I want to animate only my front view for performance reasons. How do i determine the current top view (document). I found something in carbon about FrontWi

Re: Java and Objective-C

2008-06-07 Thread Peter Duniho
Date: Sat, 07 Jun 2008 17:16:13 -0700 From: Bill Bumgarner <[EMAIL PROTECTED]> On Jun 7, 2008, at 4:16 PM, Peter Duniho wrote: As I pointed out in my other replies, implementing something like NSUndoManager is trivial in C#. It would only be slightly more so in Java, and only because of the abo

Re: Finding front view in a Cocoa app

2008-06-07 Thread Jerry Krinock
On 2008 Jun, 07, at 22:38, Ron Lue-Sang wrote: On Jun 7, 2008, at 9:11 AM, John James wrote: This seems like it should be easy, but I can not find anything with various googles etc. I want to animate only my front view for performance reasons. How do i determine the current top view (do

Re: Java and Objective-C

2008-06-07 Thread Denis Bohm
On Jun 7, 2008, at 5:16 PM, Bill Bumgarner wrote: On Jun 7, 2008, at 4:16 PM, Peter Duniho wrote: As I pointed out in my other replies, implementing something like NSUndoManager is trivial in C#. It would only be slightly more so in Java, and only because of the above. There's really no

Re: Garbage collector vs variable lifetime

2008-06-07 Thread Quincey Morris
On Jun 7, 2008, at 17:23, Bill Bumgarner wrote: As well, if foo / bar fall in a register, then those registers would have to be preserved for all of the while loop, too, either by not being available to the bulk of the program (which raises some serious codegen issues) or being moved out/i

Re: Cocoa n00b frustrations

2008-06-07 Thread Vijay Malhan
On Sun, Jun 8, 2008 at 8:59 AM, Robert Nicholson <[EMAIL PROTECTED]> wrote: > You can try the following methods > > - (BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText > *)fieldEditor > { >[ MyController logCurrentInputSource ]; >return true; > } > > - (void)control

<    1   2