Discussion Forums  >  Self Hosted Control Panels

Replies: 6    Views: 97

TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
07/30/12 05:34 PM (13 years ago)

where is the xib file

I think I have a way to add sounds to buttons but in each tutorial I have found it requires it to be done through xcode and I have to use the xib. where is the xib file? I can normally find it but not with these buzztouch codes.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
07/30/12 05:49 PM (13 years ago)
Don't believe BT ever used the xib method, I may be wrong though. All that magic - I think - takes place in your main.m file. You'll find this code in your main.m: #import <UIKit/UIKit.h> int main(int argc, char *argv[]) { //return YOURAPPNAME_appDelegate as UIApplicationMain (not using any .xib files)
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
07/30/12 06:20 PM (13 years ago)
yep, no .xibs in the original buzztouch source. All the views are created dynamically. You can add your own, if you are following a tutorial that needs one. Depending on what version of BT you are using will determine how you "call" the .xibs.
 
TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
like
07/30/12 06:45 PM (13 years ago)
im just trying to add sounds to buttons man and a background music. using 2.0 self hosted. I need help
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
07/31/12 04:28 AM (13 years ago)
I believe I read that sound stuff doesn't work in self hosted. So you would need to write a plugin (I'm guessing) to get a sound board to work. If you need help creating that plugin just Let me know and I'll see what I can do.
 
TraceCampbellBSNRN
buzztouch Evangelist
Profile
Posts: 233
Reg: Dec 16, 2011
Forney
3,680
like
07/31/12 05:39 AM (13 years ago)
yes I need help please. I cant seem to play sounds with buttons. working on it for days and days now.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
07/31/12 06:53 AM (13 years ago)
They can be used in 2.0 Self Hosted but keeping the BT Navigation in tact while using them is very tricky. It has to be a custom plug-in screen too. theMonster - I've been slowly working on an audio screen for BT 2.0. I had to stop for a bit so I can finish some other projects - but one KEY piece I want is the ability to play when the screen locks. I was using the BT_audioPlayer.m/.h files as my base and looking at some other good audio projects out there. I'd love to get some more time to really get back into that plugin...
 

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.