• 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
Calling makeFirstResponder when saving doc crashes my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling makeFirstResponder when saving doc crashes my app


  • Subject: Calling makeFirstResponder when saving doc crashes my app
  • From: Magnus Strand <email@hidden>
  • Date: Tue, 01 Feb 2005 13:58:26 +0100

Hi!

I have a Cocoa document based app.
In my document's dataRepresentationOfType I call [window makeFirstResponder:window].
I do this to make sure that the currently edited text field saves its text to its NSFormCell.
But when I do this my app crashes at the end of the save in:
objc_msgSend
NSPopAutoreleasePool
-[NSApplication run]
NSApplicationMain
main


If I don't call makeFirstResponder saving works fine.

TIA

Magnus Strand
System Developer, MSc

_______________________________________________
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


  • Prev by Date: Re: Using custom framework
  • Next by Date: Re: Daemon with AppKit
  • Previous by thread: Re: More NetSocket problems...
  • Next by thread: Re: Daemon with AppKit
  • Index(es):
    • Date
    • Thread