Re: Confusion with copyWithZone and Archiving
Re: Confusion with copyWithZone and Archiving
- Subject: Re: Confusion with copyWithZone and Archiving
- From: Graham Cox <email@hidden>
- Date: Tue, 01 Mar 2016 09:37:24 +1100
> On 1 Mar 2016, at 1:58 AM, Dave <email@hidden> wrote:
>
> @interface LTWBaseClass : NSView <NSCoding,NSCopying>
> Do I need to call the super version of this method too?
In general, yes. But NSView doesn’t conform to NSCopying, so there is no super to call. You’ll have to do all of the copying needed to copy the underlying view.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden