• 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: Typo In NSPersistentDocument Core Data Tutorial?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Typo In NSPersistentDocument Core Data Tutorial?


  • Subject: Re: Typo In NSPersistentDocument Core Data Tutorial?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 14 Jun 2005 18:06:40 -0700


On Jun 14, 2005, at 5:41 PM, mmalcolm crawford wrote:

unsigned i, count = [selectedObjects count];
// more code follows...
When you compile this you get a selectedObjects undeclared error, probably because it should be selectedEmployees instead (which works)
This seems unlikely. employeeTableController is declared as an NSArrayController:


My apologies. Thanks to someone(*) off-list who pointed out I was looking at the wrong thing. Yes, [*selectedObjects* count] is indeed a typo, and has already been fixed on the internal site (so on this occasion please don't file a bug report).


mmalc

(*) I prefer not to mention names explicitly unless permission has been given -- for the same reasons that in general off-list messages should not be posted in private. I'd be happy to give credit if permission is given.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Typo In NSPersistentDocument Core Data Tutorial?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Typo In NSPersistentDocument Core Data Tutorial? (From: Thaddeus Cooper <email@hidden>)
 >Re: Typo In NSPersistentDocument Core Data Tutorial? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Getting a reference to an NSMenuItem from another nib?
  • Next by Date: Re: Representing hierarchy in NSPopupButtonCell
  • Previous by thread: Re: Typo In NSPersistentDocument Core Data Tutorial?
  • Next by thread: Re: Typo In NSPersistentDocument Core Data Tutorial?
  • Index(es):
    • Date
    • Thread