From: Eloy D. <e....@su...> - 2008-04-14 12:11:01
|
Or dynamically: map = [[NSClassFromString(@"KNTiledMap") alloc] init]; - Eloy On Apr 14, 2008, at 1:58 PM, Axel M. Roest wrote: > At 12:51 +0100 14-04-2008, Knud Hinnerk Möller wrote: >>> @implementation KNTileView >>> ... >>> NSSize originalSize = [dataSource dimensions]; >>> ... >>> @end >>> >>> This leads to a compile "error: invalid initializer". > > > How do you initialize the dataSource object? > You can e.g. do 'dataSource=KNTiledMap.new' or use Interface Builder > to instantiate the object from the class. > > > > Axel > > -- > _________________________ > Axel Roest > axelloroestello@{AIM/MSN} - Skype:axellofono - XOIP: 084-8749988 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Rubycocoa-talk mailing list > Rub...@li... > https://lists.sourceforge.net/lists/listinfo/rubycocoa-talk |