Now I'm getting a very odd result. In the code for a UIView I have this:

        CALayer *theLayer = self.layer;
        id pLayer = [theLayer presentationLayer];

The first line is fine, but for the second I get a compiler warning:

        no '-presentationLayer' method found

I'm looking at the CALayer docs, which has this:

        - (id)presentationLayer

        Return Value
        A layer instance representing the current presentation layer.

Any idea what's going on? (I'm also puzzled why this method would return an id.)

dkj
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to