Re: Manipluate Cocoa Touch keyboard mode

2009-10-17 Thread Yandy Ramirez
numbers and punctuation in IB textfield properties for keyboard type -- yandy On Oct 17, 2009, at 8:53 PM, Tron Thomas wrote: When an UITextField becomes active in a Cocoa Touch application, the device automatically displays a keyboard for character input. The keyboard always appears

Re: Programming Style: Method Definition with or without a semicolon.

2009-10-17 Thread Yandy Ramirez
Thanks a million for this, awesome! -- yandy On Oct 17, 2009, at 10:01 PM, Rob Keniger wrote: On 17/10/2009, at 10:25 PM, Graham Cox wrote: If there is a way to disable these insertions independently and I've missed it, please someone, let me know how to do it. I can't recommend th

Re: Manipluate Cocoa Touch keyboard mode

2009-10-18 Thread Yandy Ramirez
, the keyboard switches to letter mode. How can someone prevent this behavior? Yandy Ramirez wrote: numbers and punctuation in IB textfield properties for keyboard type -- yandy On Oct 17, 2009, at 8:53 PM, Tron Thomas wrote: When an UITextField becomes active in a Cocoa Touch applic

Re: UITextfield print to NSLog

2009-12-26 Thread Yandy Ramirez
Assuming your UITextField is an IBOutlet, simple way: NSLog(@"%@", self.myTextField.text); you can also implement the UITextFieldDelegate and pass the textField value as you begin editing, once it's done editing and so forth. -- yandy On Fri, Dec 25, 2009 at 6:49 PM, Chad Eubanks wrote:

Re: UITextfield print to NSLog

2009-12-26 Thread Yandy Ramirez
+1 on this, it's completely up to you where you want to put it. -- yandy On Sat, Dec 26, 2009 at 10:01 AM, David Duncan wrote: > On Dec 26, 2009, at 6:58 AM, Chad Eubanks wrote: > > > Yandy, > > > > Thank you for the response and info but can you please elaborate a little > more. Would NS

Re: [iPhone] Refreshing a UITableView in a UINavigationController...

2009-12-27 Thread Yandy Ramirez
I personally tend to call super after all my code not before, but that could change if apple actually does anything with these methods later on. And I would implement the tableView reloadData in viewWillAppear, since it gets called before it actually appears. If there's any slow downs on the phone

Re: Why is [NSArray arrayWithObjects:] failing for me?

2010-01-02 Thread Yandy Ramirez
the method [NSArray arrayWithObjects:] returns an autoreleased object, there's no need for you to release it yourself. According to ObjC memory management guidelines you only release when you. Retain and object, init/alloc and object or copy it. In this case I think your array is getting released b