The docs say there is a factory method ... layer ... for CALayer.
layer Creates and returns an instance of CALayer. + (id)layer When compiling I get a warning at this line CALayer *layer = [CALayer layer]; Warning no '+layer' method found. Am I brain dead and missing something? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com