Yup, its a bridge thing. You'll notice that the init method that I defined in the last post does the same thing as the hillegass example. As long as you stay on one side of the bridge or the other, you can do as you please, but as soon as you cross the bridge using super_ you have to keep the same signature. 

Envoyé de mon iPhone

Le 19 mars 2010 à 11:11, Wolfgang Kittenberger <kittekat@kabsi.at> a écrit :

Alli,

Thanks for the fast response and your advice.

Is this a requirement specific for the Rubycocoa bridge?
I found in the Hillegass book (3rd edition)  on page 359 an Objective-C code snippet like this:

@implementation DepartmentViewController

- (id)init
{
if (![super initWithNibName:@"DepartmentView"
bundle:nil]) 
return nil;
[self setTitle:@"Departments"];
return self;
}

@end


best regards
Wolfgang

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Rubycocoa-talk mailing list
Rubycocoa-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk