Re: unexpected nil outlet
Re: unexpected nil outlet
- Subject: Re: unexpected nil outlet
- From: William Squires <email@hidden>
- Date: Sun, 22 Jun 2008 19:32:11 -0500
On Jun 18, 2008, at 2:21 PM, Nathan wrote:
On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye <email@hidden>
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
application sort people based on the number of characters in their
names using only Interface Builder.
I can do it by cheating (not using Interface Builder), but for the
life of me I can't figure it out using only IB.
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 window.
Make sure the sortKey is personName.length, and the selector is
"compare:". If that doesn't work, delete the text for the sort key
and try again. If it still doesn't work, then something isn't
connected to the ArrayController properly. Otherwise, you should be
able to get it to work with that key path.
HTH!
~ Nathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40satx.rr.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden