escoz/QuickDialog — Issue #47: Proper way to use QuickDialog in a container view
Author: madgeekfiend
Created: 2012-01-22 20:56:54+00:00
State: open

I'm using XCode 4.2 and storyboard.

I couldn't find an example of embedding QuickDialog as one of the pages on my tab controller. I created a new controller called MyCustomController which inherited form QuickDialogController.

@interface MyCustomController : QuickDialogController
...

I then added MyCustomController to the storyboard page that I wanted it to appear in by declaring it the views custom class. I placed my dialog creation code into 'viewDidLoad' and had to change code in QuickDialog source to make it appear group style. It's working but I fear that QuickDialog is written way better then what I did and I may have used a bazooka to kill some ants.

My question is what is the proper way to do this without having to alter the source code. Thanks.