I have a CaptureDataVC view CaptureDataVC and a custom KeyboardView view.
KeyboardView has all the init functions necessary to work as needed:
-(id)initWithCoder:(NSCoder *)aDecoder and -(id)initWithFrame:(CGRect)frame
In the CaptureDataVC xib file, I have a UIView with a custom KeyboardView class.
The view looks just fine. The problem is that I cannot call any of the methods in KeyboardView (it compiles and I don't get any errors, but the methods are not called).
So basically I can not do this:
CaptureDataVC.h
@property (nonatomic,retain) IBOutlet KeyboardView *keyboardView;
CaptureDataVC.m
[self.keyboardView foo]
KeyboardView.m
-(void) foo { NSLog(@"Hello World!");
Any ideas?
Edit:

Custom class set to blue.
source share