Re: Need Help with Swift
Re: Need Help with Swift
- Subject: Re: Need Help with Swift
- From: Stevo Brock <email@hidden>
- Date: Thu, 03 Dec 2015 23:42:49 -0800
So strange…
I added
class IB_MediaItemViewController_PhotoMediaItemView : MediaItemViewController<PhotoMediaItemView>
{
}
and used IB_MediaItemViewController_PhotoMediaItemView in the Storyboard, and I still see this error:
2015-12-03 23:35:52.400 Media Tools[14523:313526] Unknown class _TtC11Media_Tools45IB_MediaItemViewController_PhotoMediaItemView in Interface Builder file.
So strange…
-Stevo Brock
Owner
Sunset Magicwerks, LLC
www.sunsetmagicwerks.com
@SunsetMagicwrks
818-478-9758
> On Dec 3, 2015, at 11:30 PM, Roland King <email@hidden> wrote:
>
>
>> On 4 Dec 2015, at 15:24, Stevo Brock <email@hidden> wrote:
>>
>> Hi Roland,
>>
>> I think you’re right. The trick is - what do I put in the Storyboard such that it sticks (and IB doesn’t just change it back) and resolves at runtime?
>
>
> Quincey had one idea - but I don’t know how you @objcname a specialisation of a generic.
>
> Hmm how about
>
> public class IB_MediaItemViewController_VideoMediaItemView : MediaItemViewController<VideoMediaItemView>
> {
> }
_______________________________________________
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