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

Typo In NSPersistentDocument Core Data Tutorial?


  • Subject: Typo In NSPersistentDocument Core Data Tutorial?
  • From: Thaddeus Cooper <email@hidden>
  • Date: Tue, 14 Jun 2005 16:25:15 -0700

I think there's a typo in the tutorial in the section that implements the cut code. The code reads as follows:

// other code here...
NSArray *selectedEmployees = [employeeTableController selectedObjects];
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)

--Thaddeus O. Cooper
(email@hidden)

_______________________________________________
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>
  • Prev by Date: Re: NSDocument: Connecting the menubar to objects?
  • Next by Date: Re: One Solution for storing ordered arrays within Core Data objects
  • Previous by thread: Re: Creating a subclass of an *unknown* object
  • Next by thread: Re: Typo In NSPersistentDocument Core Data Tutorial?
  • Index(es):
    • Date
    • Thread