Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 51

BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
05/19/13 09:02 AM (12 years ago)

Point To Custom XIB

Good Day BT loyalists, Quick question:(Are they ever really?) Can I create a custom XIB file with IB actions, etc. in the file and make it lets say a tab bar item? I was lost on how i could make reference to this screen in my control panel(Self hosted if that helps).I was looking at the XIB menu plugin and though I could just assign the action to the buttons but i will need more than one XIB menu per project, maybe 3 or 4..The plugin recommends one use per project.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
05/19/13 10:19 AM (12 years ago)
It's actually really easy to do. Point the tab to a new instance of the blank screen plugin. Then change the itemType in the JSON for that blank screen to the name of the class associated with your nib file.
 
BandO
I hate code!
Profile
Posts: 153
Reg: Jan 23, 2012
Manhattan
1,530
like
05/19/13 04:19 PM (12 years ago)
YOU ROCK!!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.