I am trying to write the embedded reader example in ZBar SDK using a story board and not NIB files. I Declare my IBOutlets as so:
@interface MYQViewController : UIViewController < ZBarReaderViewDelegate >
{
ZBarReaderView *readerView;
UITextView *resultText;
}
@property (strong, nonatomic) IBOutlet ZBarReaderView *readerView;
@property (strong, nonatomic) IBOutlet UITextView *resultText;
@end
However when I create a ZBarReaderView
View Controller on the main UIView
and try click and drag to connect readerView
as a referencing outlet, I just can't figure out how to connect it. All I get from the primary ViewController
is an option to select view
.