> On Oct 6, 2015, at 11:31 , Greg Parker <[email protected]> wrote: > > >> On Oct 5, 2015, at 7:57 PM, Rick Mann <[email protected]> wrote: >> >> Especially when a struct can be an AnyObject. > > `AnyObject` is an instance of any class type. It is never a struct. `Any` > encompasses both classes and structs.
Thanks for the reminder. So, I wonder why it's behaving as it is in this case, since copy() returns an AnyObject. -- Rick Mann [email protected] _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
