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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to