Re: unexpected nil outlet

2008-06-24 Thread David Reynolds
On 23 Jun 2008, at 1:32 am, William Squires wrote: Assuming you've followed the RaiseMan example up to that point, and have IB open, select the 1st column of the NSTableView (in MyDocument.nib - or .xib, depending on your Xcode version), and examine its properties with the inspector wind

Re: unexpected nil outlet

2008-06-22 Thread William Squires
On Jun 18, 2008, at 2:21 PM, Nathan wrote: On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye <[EMAIL PROTECTED]> wrote: wow, I'm another one just starting the same challenge...how many of us newbies are there working through Hillegaas at the moment? /me raises hand. I'm currently stuck on cha

Re: unexpected nil outlet

2008-06-18 Thread Aron Nopanen
On 19/06/2008, at 7:21 AM, Nathan wrote: On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye <[EMAIL PROTECTED]> wrote: wow, I'm another one just starting the same challenge...how many of us newbies are there working through Hillegaas at the moment? /me raises hand. I'm currently stuck on chal

Re: unexpected nil outlet

2008-06-18 Thread Nathan
On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye <[EMAIL PROTECTED]> wrote: > wow, I'm another one just starting the same challenge...how many of us > newbies are there working through Hillegaas at the moment? /me raises hand. I'm currently stuck on challenge 1 in chapter 8 (pg 135): Make the appli

Re: unexpected nil outlet

2008-06-18 Thread David Reynolds
On 18 Jun 2008, at 13:31, David Reynolds wrote: Sure, I can email it to you I get home from work if you like? For anyone following, here is my version of the code: Controller.h: #import @interface Controller : NSObject { } @end No instance variables and no methods- is this bad? Controll

Re: unexpected nil outlet

2008-06-18 Thread David Reynolds
On 18 Jun 2008, at 11:41 am, Michael Kaye wrote: wow, I'm another one just starting the same challenge...how many of us newbies are there working through Hillegaas at the moment? I would love to see your solution...when I complete it maybe we should exchange off list? Sure, I can email

Re: unexpected nil outlet

2008-06-18 Thread Michael Kaye
wow, I'm another one just starting the same challenge...how many of us newbies are there working through Hillegaas at the moment? I would love to see your solution...when I complete it maybe we should exchange off list? Regards, Michael. On 18 Jun 2008, at 09:25, David Reynolds wrote: O

Re: unexpected nil outlet

2008-06-18 Thread David Reynolds
On 18 Jun 2008, at 1:47 am, William Squires wrote: I'm trying to code a solution to the challenge "Make a Delegate" in chapter 6 of the new Hillegaas book. Here is my AppController.h Interestingly, I was doing this same challenge last night, and I think I did it a slightly different way,

Re: unexpected nil outlet

2008-06-17 Thread Jonathan Hess
Hey William - Assuming everything else is correct, it looks like your problem is that you're poking at 'window' too early. Your object receives the init message before IB has a chance to establish connections. If you think about it, IB has to create all of the objects before it can connec

Re: unexpected nil outlet

2008-06-17 Thread William Squires
Oh, and never mind. No one need respond to this - problem solved. I put the delegate caca in the awakeFromNib() method instead... On Jun 17, 2008, at 7:49 PM, William Squires wrote: Oh, there's an "@end" at the end of the .m file, too, before anyone jumps on this... :D On Jun 17, 2008, at

Re: unexpected nil outlet

2008-06-17 Thread David Wilson
- awakeFromNib Is the function you should be looking at. On Tue, Jun 17, 2008 at 8:47 PM, William Squires <[EMAIL PROTECTED]> wrote: > I'm trying to code a solution to the challenge "Make a Delegate" in chapter > 6 of the new Hillegaas book. Here is my AppController.h > > @interface AppController

Re: unexpected nil outlet

2008-06-17 Thread William Squires
Oh, there's an "@end" at the end of the .m file, too, before anyone jumps on this... :D On Jun 17, 2008, at 7:47 PM, William Squires wrote: I'm trying to code a solution to the challenge "Make a Delegate" in chapter 6 of the new Hillegaas book. Here is my AppController.h @interface AppCont

unexpected nil outlet

2008-06-17 Thread William Squires
I'm trying to code a solution to the challenge "Make a Delegate" in chapter 6 of the new Hillegaas book. Here is my AppController.h @interface AppController : NSObject { IBOutlet NSWindow *window; } @end and my AppController.m #import #import "AppController.h" @implementation AppController