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

Just 1 entity in a Core Data document?


  • Subject: Just 1 entity in a Core Data document?
  • From: Michael Anckaert <email@hidden>
  • Date: Mon, 10 Jul 2006 14:52:20 +0200

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Just 1 entity in a Core Data document?
      • From: "I. Savant" <email@hidden>
    • Re: Just 1 entity in a Core Data document?
      • From: "I. Savant" <email@hidden>
  • Prev by Date: convert Java or C Source code into Objective-c
  • Next by Date: Document-apps and custom windowShouldClose
  • Previous by thread: Re: convert Java or C Source code into Objective-c
  • Next by thread: Re: Just 1 entity in a Core Data document?
  • Index(es):
    • Date
    • Thread