Logos subclass of private runtime class

210 views Asked by At

I am trying to implement a tweak for iOS7 Control Center that involves adding additional section. So I want to make subclass of SBControlCenterSectionViewController but I get linker errors

Undefined symbols for architecture armv7s:
  "_OBJC_METACLASS_$_SBControlCenterSectionViewController", referenced from:
  "_OBJC_CLASS_$_SBControlCenterSectionViewController", referenced from:

As far as I understand that's because I don't have implementation for SB private frameworks (only headers), but is there is a way to make a subclass of SBControlCenterSectionViewController?

1

There are 1 answers

0
AudioBubble On BEST ANSWER
%subclass MySubclass: SBControlCenterSectionViewController

- (void)anExistingMethodInSuperclass
{
    //...
}

%new
- (void)aNewMethodInSubclass
{
    //...
}

%end