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 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.

The secret is to stick 'length' on the end of the sortKey, and use 'compare:' as the selector. I.e., 'length' can be treated as a read- only property of the string, of type NSUInteger.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to