• 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
Updating text field bound to core data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Updating text field bound to core data


  • Subject: Updating text field bound to core data
  • From: "Andrew Zahra" <email@hidden>
  • Date: Sat, 16 Aug 2008 09:57:27 +1000

I am working on a basic core data app. I have a single entity with a name
attribute and other attributes including a file path. I have bound a table
view to the entity name and then a group of text fields to the individual
attributes to show the details. It works fine if I type stuff directly into
these field.
The problem is, I want to set the value of the file path based on a user
selection from an NSOpenPanel. I tried setting the value of the text field
with setStringValue, but that did not end up stored by core data.

I am guessing I have to access the currently selected managed object somehow
and then update it, but none of the core data examples I have seen do
anything like this. Can someone point me in the right direction?

Thanks,
Andrew
_______________________________________________

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: Updating text field bound to core data
      • From: Ron Lue-Sang <email@hidden>
  • Prev by Date: Re: creating files to write data to?
  • Next by Date: Re: Updating text field bound to core data
  • Previous by thread: Re: Expanding outline view item ancestry
  • Next by thread: Re: Updating text field bound to core data
  • Index(es):
    • Date
    • Thread