• 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
core-data app design question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

core-data app design question


  • Subject: core-data app design question
  • From: Martin Hewitson <email@hidden>
  • Date: Fri, 28 Aug 2009 08:37:32 +0200

Dear list,

I have a question, or rather, I'm looking for advice, on the design of an application. Essentially I'm wanting to write a labbook-type application. My plan was to use core-data for the model. In the model will be an Entry entity. Each entry will have a one-to-one relationship to a Content entity. The Content entity will just (at the moment) contain a single attribute (data) which will be binary data. Implementing this on the Mac I planned to use NSTextView to provide a rich-text entry for the data attribute. Now comes the problem. I want to make a Cocoa Touch version of the app, and make then synchronize over Mobile me. The problem is I see no way to handle the NSAttributedString that will be stored in the data attribute on the iPhone.

Does anyone have any advice as to how I might go about this? I was considering dropping back to plain text, but am loath to do this.

Best wishes,

Martin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Martin Hewitson
Albert-Einstein-Institut
Max-Planck-Institut fuer
    Gravitationsphysik und Universitaet Hannover
Callinstr. 38, 30167 Hannover, Germany
Tel: +49-511-762-17121, Fax: +49-511-762-5861
E-Mail: email@hidden
WWW: http://www.aei.mpg.de/~hewitson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





_______________________________________________

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


  • Follow-Ups:
    • Re: core-data app design question
      • From: Michael Thon <email@hidden>
  • Prev by Date: Core Data Predicate Builder - comparing dates
  • Next by Date: Re: QuickTime Animation Rendering
  • Previous by thread: Re: Core Data Predicate Builder - comparing dates
  • Next by thread: Re: core-data app design question
  • Index(es):
    • Date
    • Thread