Re: Strange XCode Warning
Re: Strange XCode Warning
- Subject: Re: Strange XCode Warning
- From: Dave <email@hidden>
- Date: Tue, 15 Sep 2015 20:49:27 +0100
>
> See the type for the argument to +appearanceWhenContainedIn:. It's a
> Class<UIAppearanceContainer>. Not an explicit mention of metaclasses,
> but at least proof that we use the Class<SomeProto> syntax to refer to
> classes, not instances.
>
> --Kyle Sluder
But should the compiler warn if you pass a Class that doesn’t conform to the Protocol to such a definition?
Cheers
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden