• 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: Problem with binding of @count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with binding of @count


  • Subject: Re: Problem with binding of @count
  • From: j o a r <email@hidden>
  • Date: Fri, 28 Nov 2008 14:52:54 -0800


On Nov 28, 2008, at 2:49 PM, j o a r wrote:

I think that it would be more straight forward and efficient to write that:

[NSString stringWithFormat:@"The number of students is: %lu", ((unsigned long)[theStudentArrayController count])];


Crap, typo: You'd get the count from the array, and not the controller, of course...

j o a r


_______________________________________________

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


References: 
 >Problem with binding of @count (From: Mikael Wämundson <email@hidden>)
 >Re: Problem with binding of @count (From: j o a r <email@hidden>)

  • Prev by Date: Re: Text blurred in application
  • Next by Date: Re: Problem with binding of @count
  • Previous by thread: Re: Problem with binding of @count
  • Next by thread: Re: Problem with binding of @count
  • Index(es):
    • Date
    • Thread