• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: unexpected nil outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: unexpected nil outlet
      • From: David Reynolds <email@hidden>
References: 
 >unexpected nil outlet (From: William Squires <email@hidden>)
 >Re: unexpected nil outlet (From: David Reynolds <email@hidden>)
 >Re: unexpected nil outlet (From: Michael Kaye <email@hidden>)
 >Re: unexpected nil outlet (From: Nathan <email@hidden>)

  • Prev by Date: Re: Can a nib be confused about its owner?
  • Next by Date: Re: weird bug or feature?
  • Previous by thread: Re: unexpected nil outlet
  • Next by thread: Re: unexpected nil outlet
  • Index(es):
    • Date
    • Thread