Typo In NSPersistentDocument Core Data Tutorial?
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