Adding methods to a class… when %new isn’t good enough

@interface Class (LLAdditions)
– (void)method;
@end

If you are getting a no method found or no instance found error after hooking into a class and attempting to add an extra method… add the above code in your main class.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s