On Nov 26, 2008, at 6:49 PM, DKJ wrote:
I've got something this in my code, which is run several times by the app:

        UIView *subView = [[MyView alloc] initWithFrame:frame];
        [theView addSubview:subView];
        [subView release];

Later on this happens:

        [subView removeFromSuperView];
        subView = nil;

I assume this is just a typo because you spelled it correctly (twice) later in your message, but on the off chance that you implemented a removeFromSuperView method, intending it to be an override, I wanted to point out that it's removeFromSuperview, not removeFromSuperView.

--Andy

_______________________________________________

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

Reply via email to