• 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
textField - setIntegerValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

textField - setIntegerValue


  • Subject: textField - setIntegerValue
  • From: JAMES ROGERS <email@hidden>
  • Date: Mon, 04 Apr 2011 13:53:03 -0500

I am feeling really stupid. I have a simple textField set up in IB, nothing else, just a window with a textField.  I have connected the textField to the outlet.

In appdelegate,h
	IBOutlet NSTextField *textField;

in appdelegate.m

	[textField setIntegerValue:10]

Nothing is displayed in the textField. In another project, I have a textField and a stepper together, when I increment/decrement using the stepper connected to the textField, the steppers value is displayed (using "setIntegerValue").


JIM ROGERS
email@hidden
http://web.me.com/jimrogers_w4atk

_______________________________________________

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: textField - setIntegerValue
      • From: Carlos Eduardo Mello <email@hidden>
    • Re: textField - setIntegerValue
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Trying to subclass UISwitch
  • Next by Date: Re: Odd NSCache Eviction Behaviour
  • Previous by thread: Re: Odd NSCache Eviction Behaviour
  • Next by thread: Re: textField - setIntegerValue
  • Index(es):
    • Date
    • Thread