• 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
NSArrayController in 'entity mode'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController in 'entity mode'


  • Subject: NSArrayController in 'entity mode'
  • From: Andrew Kimpton <email@hidden>
  • Date: Tue, 27 Sep 2005 21:41:24 -0700

I'd like to create an NSArrayController via code in 'entity mode'. It seems by default that NSArrayControllers are in object mode if created :

NSArrayController *anArrayController = [[NSArrayController alloc] initWithContent:nil];

calling setManagedObjectContext, setEntityName, and setAutomaticallyPreparesContent:YES don't seem to change this.

Is there a way to construct an 'entity mode' NSArrayController from Code ? Or can it only be done using the inspector panel of IB ?

Andrew 8-)

_______________________________________________
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


  • Prev by Date: Re: How do you fill an NSBezierPath with transparent color?
  • Next by Date: progress sheet and a NIB file
  • Previous by thread: Re: How do you fill an NSBezierPath with transparent color?
  • Next by thread: progress sheet and a NIB file
  • Index(es):
    • Date
    • Thread