objective c - Category for a class that conforms to a protocol -


i'm trying implement category uiviewcontroller , want object conforms protocol. this:

#import <uikit/uikit.h>  @interface uiviewcontroller<myprotocol> (category)  @end 

is possible?

swap category , protocol:

@interface uiviewcontroller (category) <myprotocol> 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -