• 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: NSTextField problems.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextField problems.


  • Subject: Re: NSTextField problems.
  • From: Magnus Strand <email@hidden>
  • Date: Wed, 09 Feb 2005 11:03:22 +0100

Hi,

In what method do you get the info when it crashes?
Is it perhaps after the window is closed?
Are password and userName outlets to NSTextField?
You could check in the debugger if these outlets are valid and
not nil when you run your code.
In what method do you get a crash?
Some more code would be helpful.

Magnus

John Draper wrote:

Hi,

 In my application,  I extract information from a NSTextField like so....

   pw = [password stringValue];
   user = [userName stringValue];

pw and user are local variables in my "doLogin" function. I have no problem extracting
the strings from program control, except when I try to get them again, after they
were edited and changed. The next time I get them, it crashes... in the NIB
Attributes information on the NSTextField I have...


Send Action on - End editing
Options:  Editable and Enabled

Should I set "Send Action on" to "Enter only"? I tried that, it didn't seem to
make any difference.


John



_______________________________________________
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



-- *Magnus Strand * Systemutvecklare | System Developer, MSc

*Teknik i Media* | Södra Förstadsgatan 2 | 211 43 Malmö | Tel +46 40 601 57 00 | Fax +46 40 601 57 99
Direkt +46 40 601 57 16 | Mobil +46 704 20 57 16 | email@hidden | www.tim.se


/This message contains information that may be privileged or confidential and is the property of Teknik i Media. / /It is intended only for the person to whom it is addressed. If you receive this message in error, please notify the sender immediately and delete all copies of this message. /

_______________________________________________
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


References: 
 >NSTextField problems. (From: John Draper <email@hidden>)

  • Prev by Date: Re: Objective C class prefix
  • Next by Date: Re: Disclosure triangles?
  • Previous by thread: Re: NSTextField problems.
  • Next by thread: NSZone size question
  • Index(es):
    • Date
    • Thread