Re: Custom NSArrayController - Dynamic Class?
Re: Custom NSArrayController - Dynamic Class?
- Subject: Re: Custom NSArrayController - Dynamic Class?
- From: Quincey Morris <email@hidden>
- Date: Sat, 18 Jul 2009 12:24:40 -0700
On Jul 18, 2009, at 10:36, Brad Gibbs wrote:
Can I use that to indicate the type for the argument to the method?
On Jul 18, 2009, at 9:45 AM, Quincey Morris wrote:
Perhaps NSSClassFromString ([[self entityName]
managedObjectClassName])?
Sorry, I took your example too literally, and gave you the expression
for the class name (apart from the typo). For
insertNewObjectForEntityForName:inManagedObjectContext: you'd just
need the entity name:
insertNewObjectForEntityForName: [self entityName]
inManagedObjectContext: [self managedObjectContext]
Is that what you wanted?
_______________________________________________
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