• 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: Correct way to commit pending text field edits?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct way to commit pending text field edits?


  • Subject: Re: Correct way to commit pending text field edits?
  • From: Graham Cox <email@hidden>
  • Date: Fri, 25 Jul 2008 12:45:19 +1000

I should mention I'm not using Core Data - by "data model" I mean my own d/m code.

Mmmm, coffee... now there's a thought.


Graham

On 25 Jul 2008, at 12:30 pm, <email@hidden> <email@hidden > wrote:

Apologies for the off-list reply, work email addy..

Try [managedObjectContext commitEditing] (from memory) - called just
before the save. You can also reset the firstResponder, but that takes
focus away and looks funny/not user friendly. Probably fine if you were
raising an alert panel or some such.


Hope that helps/is what you're after. I haven't had much coffee yet,
it's a little early. :)

-nick

_______________________________________________

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


  • Prev by Date: Re: Correct way to commit pending text field edits?
  • Next by Date: [MEET] Singapore CocoaHeads TODAY (25 July 08)
  • Previous by thread: Re: Correct way to commit pending text field edits?
  • Next by thread: Re: Correct way to commit pending text field edits?
  • Index(es):
    • Date
    • Thread