Re: textField - setIntegerValue

2011-04-04 Thread Graham Cox
On 05/04/2011, at 10:48 AM, Carlos Eduardo Mello wrote: > Still, if you look at this little test app (public link to Google Docs), > you'll see what I mean. There is an AppController class, (which was made the > window's delegate) with an outlet connected to a text field and a button in > the

Re: textField - setIntegerValue

2011-04-04 Thread Carlos Eduardo Mello
On Apr 4, 2011, at 7:09 PM, Kyle Sluder wrote: On Mon, Apr 4, 2011 at 2:26 PM, Carlos Eduardo Mello wrote: I am new to this but, (just in case...) have you, by any chance, named a function in your delegate as a setter for your outlet (setTextField:)? I fell into that trap a little while ag

Re: textField - setIntegerValue

2011-04-04 Thread Graham Cox
On 05/04/2011, at 7:26 AM, Carlos Eduardo Mello wrote: > I am new to this but, (just in case...) have you, by any chance, named a > function in your delegate as a setter for your outlet (setTextField:)? I fell > into that trap a little while ago: -awakeFromNib is called before the outlet > is

Re: textField - setIntegerValue

2011-04-04 Thread Kyle Sluder
On Mon, Apr 4, 2011 at 2:26 PM, Carlos Eduardo Mello wrote: > I am new to this but, (just in case...) have you, by any chance, named a > function in your delegate as a setter for your outlet (setTextField:)? I > fell into that trap a little while ago:  -awakeFromNib is called before the > outlet i

Re: textField - setIntegerValue

2011-04-04 Thread Carlos Eduardo Mello
[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 "setInteger

Re: textField - setIntegerValue

2011-04-04 Thread Fritz Anderson
On 4 Apr 2011, at 1:53 PM, JAMES ROGERS wrote: > 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

2011-04-04 Thread JAMES ROGERS
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