Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 102

Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
05/07/12 07:50 AM (13 years ago)

Adding std xcode to BT project

I have a form build in Xcode (basically a .h, .m and .xib). Is it possible to add that to a BT project?
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
05/07/12 08:43 AM (13 years ago)
I'm not sure if anyone has covered it in this forums, but google "Linking xcode projects". Its time consuming (what code aint aside from buzztouch:)) but it works.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/07/12 10:11 AM (13 years ago)
Yes, you should be able to do so. Now the question is, "How do I link from a Buzztouch Screen to a non-Buzztouch Screen?" Glad you asked. By ItemType. Read How to Create a plugin. You do the same except just don't upload to the Control Panel, but the process should be the same.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
05/08/12 06:57 AM (13 years ago)
^ can you expand on that ItemType more? @Bonzo this is my dream as well. so many code projects and samples out there i'd love to use and integrate with my app. i'm moving slow tho, lots on the plate. this is the only post i found @ here with people using .XIB files in BT: http://www.buzztouch.com/forum/thread.php?tid=69BA9F58F348D52E3CAB150&command=isSearching&currentPage=1&topicTitle=xib&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory= David offered some tips there that have helped me. I'm just trying to get a simple Hello World screen/project going that linked to my BT screens. If our meeting on Saturday pans out, this is one topic i want to discuss with David. stobe seems to be using them too and he's been working on a few BT mods/tools. he might have some insight on using them.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
05/08/12 09:14 AM (13 years ago)
^ can you expand on that ItemType more? What you're really asking is, "What does a Plugin do? And would a "Custom Plugin" plugin make this much easier. " Two main things: a. Add files to the Project (Source Code) b. Add date in JSON format to the Config file. c. Provide an interface on the Control Panel to accomplish a & b. So, how do you accomplish same without the Plugin? a. Just add the files directly to the Source Code. b. (Option 1): If you wish to follow the Buzztouch Framework and have the screens created dynamically then you'll need to create a set of files that use data in JSON format. See any Plugin for an example. I recommend you take a look at the PDF plugin since it allows both embedded files and via URL. But you really need to take a look at the type of plugin similar to the type your wishing to add to the project. (Option 2): You could use code that doesn't create screens dynamically. In this case ? c. So, by bypassing the Control Panel you encounter a problem. How to add the screen data to the Config file. (Option i): Access the database on the server directly. Problem: You may not have permission to do so? 2nd Problem: New skill, hence learning curve. (Option ii): Modify the Project's Config file. Problem: Now the Project_Config file doesn't match the Control Panel Config file. Not really a problem if your app will be a Offline app. Solution: Move the Online Config file to another location such as Dropbox, a website. (Option iii) Create the "Custom Plugin" plugin first. Yes, the Custom Plugin will allow users to adde JSON data to the Control Panel Config file (the user will add the files directly to the Project), thereby allowing continued use of the Control Panel. What the Custom Plugin doesn't need: New Project files. So, @Raveyd and BT_Mods, you created several plugins already, this should be the simpler Plugin to create. Fred PS: I'm posting this as a new thread since others may not drill down this far.
 

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.