Possible Duplicate:
Class methods which create new instances
How would you declare a constructor in objective-c which would allow you to skip the [[class alloc] init]
step during a declaration; Instead of saying for example Fraction* somefrac=[[Fraction alloc] init];
, just say Fraction* somefrac
and the constructor would do the rest.