Re: Two view controllers in one set of files (Noob question)

2009-03-26 Thread Weydson Lima
Thanks for the replies. I looked around the net and found some tutorials on how to create multiple views in a single nib file. I was just confused on how to do that. But you are right, it's better to have unique classes files for each views. Weydson On Mar 25, 2009, at 11:31 AM, Weydson L

Re: Two view controllers in one set of files (Noob question)

2009-03-25 Thread I. Savant
On Mar 25, 2009, at 8:26 PM, Peter N Lewis wrote: At 12:57 -0400 25/3/09, I. Savant wrote: You can certainly have more than one class declared and implemented in the same .h/.m files. You can also have multiple controllers within the same XIB. Wherever your classes are declared/implemented,

Re: Two view controllers in one set of files (Noob question)

2009-03-25 Thread Peter N Lewis
At 12:57 -0400 25/3/09, I. Savant wrote: You can certainly have more than one class declared and implemented in the same .h/.m files. You can also have multiple controllers within the same XIB. Wherever your classes are declared/implemented, they show up as "available" in Interface Builder as i

Re: Two view controllers in one set of files (Noob question)

2009-03-25 Thread I. Savant
On Wed, Mar 25, 2009 at 12:31 PM, Weydson Lima wrote: > I want to set up two view controllers but I don't want to create a XIB and > .m/.h for each controller. Is it possible to use a single set of files to do > so? As I was reading the book by Mark and LaMarche, it looks that their > approach is

Re: Two view controllers in one set of files (Noob question)

2009-03-25 Thread Alexander Spohr
Am 25.03.2009 um 17:31 schrieb Weydson Lima: I want to set up two view controllers but I don't want to create a XIB and .m/.h for each controller. Is it possible to use a single set of files to do so? Yes. But unwise. As I was reading the book by Mark and LaMarche, it looks that their a

Two view controllers in one set of files (Noob question)

2009-03-25 Thread Weydson Lima
Hi there, I want to set up two view controllers but I don't want to create a XIB and .m/.h for each controller. Is it possible to use a single set of files to do so? As I was reading the book by Mark and LaMarche, it looks that their approach is to create a pair of those files for each Vi