Re: EXC_BAD_ACCESS in a Core Data application

2009-09-04 Thread Rippit the Ogg Frog
the right thing, but won't be likely to cause a crash. A better example of code that would cause a crash is to return either an uninitialized pointer, or a pointer to a struct that is a local variable. -- Rippit the Ogg Frog rip...@oggfrog.com http://

Data-Driven Animation

2009-12-12 Thread Rippit the Ogg Frog
I'm working on what is now a Mac OS X prototype, that I'll be porting to the iPhone once I have a better architecture in place. Please forgive me for being vague about the precise nature of my product. :-D I need to better understand how to architect a 2-D animation in my app. I'm happy to

Re: Wierd Crash Report

2009-12-14 Thread Rippit the Ogg Frog
From your crash log: Code Type: PPC (Translated) "Translated" - does that mean it's running under Rosetta on Intel? It can happen that there are Rosetta bugs that don't occur on native PowerPC hardware. While that shouldn't ever be the case, we all know that programmers are only huma

Re: GC memory leak - what is it?

2010-01-04 Thread Rippit the Ogg Frog
some other code will nil out your references, then nil them out yourself. Rippit the Ogg Frog rip...@oggfrog.com http://www.oggfrog.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: Cocoa Document-Based App v. Windows MDI App

2009-07-28 Thread Rippit the Ogg Frog
it look and act just like a Windows program. Look up the Macintosh User Interface guidelines at http://developer.apple.com/ and send the link to your coworkers. Emphasize the importance of a native look and feel. -- Rippit the Ogg Frog rip...@oggfrog.com ht

Identifying NSTextViews

2009-07-28 Thread Rippit the Ogg Frog
e text from each view when the window is dismissed, so there could be another way to do what I want without using a delegate. It's not necessary for me to get called for every character the user types. Thanks! -- Rippit the Ogg Frog rip...

Re: Identifying NSTextViews

2009-07-28 Thread Rippit the Ogg Frog
Graham Cox wrote: On 29/07/2009, at 1:56 PM, Rippit the Ogg Frog wrote: - (void) textDidChange: (NSNotification*) notification { NSString *text = [[notification object] string]; // But which view was it? return; } [notification object] is it. Thanks, but that doesn&#

Re: Identifying NSTextViews

2009-07-28 Thread Rippit the Ogg Frog
Sorry I hadn't seen Andy Lees response before I sent my immediately previous post. I think his solution will do what I need. I'll try it out and let you know. -- Rippit the Ogg Frog rip...@oggfrog.com http://www.oggfrog.com/ ___ Cocoa-d

Re: Identifying NSTextViews

2009-07-28 Thread Rippit the Ogg Frog
bly already the window's delegate, but if it isn't, make that connection in IB. Then in windowWillClose:, collect the data from your six text views using [textViewOne string], [textViewTwo string], etc. --Andy -- Rippit the Ogg Fro

Re: Listening to Eject command

2009-07-30 Thread Rippit the Ogg Frog
uot;known" to the system, but just doesn't have a mounted filesystem. If you make such a testbed application as I describe, eventually DiskArbitration's operation will become quite clear and even appear sensibly designed. It's not that it's so difficult, it's th