I'm using logos to make a tweet. I use %new to add a new method - (void)checkTQT
to SBAwayController, but when I invoke the method using [self checkTQT]
, it says "instance method '-checkTQT' not found(return type defaults to 'id')"
here is my code:
%hook SBAwayController
- (void)lock
{
%orig;
[self checkTQT];
}
%new(v@:)
- (void)checkTQT
{
...
}
%end
Do I use it wrong?