• 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
Re: Just 1 entity in a Core Data document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Just 1 entity in a Core Data document?


  • Subject: Re: Just 1 entity in a Core Data document?
  • From: "I. Savant" <email@hidden>
  • Date: Mon, 10 Jul 2006 10:08:48 -0400


Also - you will probably need to describe your model in real terms, not "Entity1, Entity2", etc. Being this vague doesn't let us see your problem and we can't suggest alternative approaches as a result.


--
I.S.


On Jul 10, 2006, at 8:52 AM, Michael Anckaert wrote:

Hello all,

I'd like to know if it's possible to add a custom class to your Core Data files?
Let's say you have a Core Data model that has an entity. The way I do it now, I always have multiple entities in a document.
But what if I would only want 1 entity in a document?
Is it possible to save your custom class to your Core Data model?


What I have:

Core Data
========
Entity1
Entity2
Enttity3
...


What I want: Core Data ======== Entity1

In my Gui, I can only use a NSArrayController to access my entities, so I always use more than 1 entity
(through the selection controller key in my bindings). How can I have only 1 entity in my document?
Basically, a NSArrayController without a controller key, because it only has 1 entity :)


Met vriendelijke groeten,
With kind regards,

Michael Anckaert

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to 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
References: 
 >Just 1 entity in a Core Data document? (From: Michael Anckaert <email@hidden>)

  • Prev by Date: Re: Objects as keys NSMutableDictionary
  • Next by Date: Re: Objective-C and it's future
  • Previous by thread: Re: Just 1 entity in a Core Data document?
  • Next by thread: Document-apps and custom windowShouldClose
  • Index(es):
    • Date
    • Thread