I'm trying to implement in my project a JASidePanels, but first I was trying to create an interface such a .xib file or storyboard where I can drag items instead the programmatically created default interface in the project.
I'm follwing steps of Example 2: Storyboards section.
But this is exactly what I'm doing based on the example, I'm new in iOS.
First in JASidePanels/Source
I add a New File "Cocoa Touch Class
" and name it "MySidePanelController
" with sublass of JASidePanelController
.
Then I add a storyboard
file in the same folder and add 3 View Controllers
inside, in each I give identifiers.
Finally I add the method -(void) awakeFromNib
to MySidePanelController.m
Run the app and the JASidePanels app shows the same initial content as when I dowloaded it.
Do I missing something? I'm pretty sure
How can I load the interface from a xib file or storyboard?