On Dec 3, 2015, at 23:30 , Roland King <r...@rols.org> wrote:
> 
> Quincey had one idea - but I don’t know how you @objcname a specialisation of 
> a generic. 

Well, yes, that’s a good objection.

It seems to me that the three things to try, if they haven’t been tried yet are:

1.      class: 
Media_Tools.MediaItemViewController<Media_Tools.PhotoMediaItemView>
        module: empty

2.      class: MediaItemViewController<PhotoMediaItemView>
        module: Media_Tools

3.      class: MediaItemViewController< Media_Tools.PhotoMediaItemView>
        module: Media_Tools

It looks like Swift classes have a stringified name that Obj-C is supposed to 
recognize, that includes an explicit “myModule.” prefix. My understanding is 
that the module field in IB adds the module, but it may not do so for the 
specialization. Whether the generic specialization is in the class name string 
is anybody’s guess.

_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to