Re: Update UITextField

2009-04-02 Thread Nick Zitzmann
On Apr 2, 2009, at 10:51 AM, Barry Fawthrop wrote: The setText Fails to compile error 'username' undeclared How should I set the Value ??? You'll need to pass the class in as an argument, since C functions don't have any concept of "self", even when the function is declared within the s

Update UITextField

2009-04-02 Thread Barry Fawthrop
Trying to Update a UITextField from a c function I have a UITextField on the Window in controller.h IBOutlet UITextField *username; I have a c function getName(); in controller.m Collect linked to NSButton -(IBAction)Collect:(id)sender { ... ... getName(); ... } void get