Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 53

Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
03/04/13 04:47 AM (12 years ago)

Each app screen details

I would like to know where do I go inside Xcode to find every screen for my app. What I mean is that if I have added some screens in my app, where can I go to modify each one by changing some code?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
03/04/13 05:00 AM (12 years ago)
The code in xcode is per plugin, not per individual screen. im not a code but you would have to code per screen nickname within each plugin if you wanted to do something specific. Is the changes per screen not something you can do using the control panel?
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/04/13 05:11 AM (12 years ago)
yes for example I'm using the blog pro plugin, and after I use the default template I would like to change something, for example a button and I would like this to change only at one specific screen... So you're telling me that inside each plugin there are the separate screens with their nicknames? ok I'll search for that...where exactly? at the .m file?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/04/13 05:28 AM (12 years ago)
Bonzo is correct; it's by plugin, not by discrete name. So if you have more than one of the same kind of Screen, any changes to the code will affect all screens, not just one. However, if you only have one of a certain kind of screen, then it's no issue to modify the plugin code. In iOS you'll find them in the plugin directory. In Android the java files are in the src directory, and the layout files are in res/layout. The 'definition' of the screens are in your config.txt file, which is pulled from your Buzztouch app control panel. But I don't think this will be the file you're looking for. It is going to depend on what kind of modification you wish to do. Cheers! -- Smug
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
03/04/13 05:28 AM (12 years ago)
hi @georgios - i think you misunderstood @bonzo : the .m and .h files for a plugin is same for each screen for example: 1)if you edit and desing a custom button to blogpro plugin,now how many screens you add it will reflect in all the screens,so i think what you want to accomplish is not possible.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
03/04/13 06:24 AM (12 years ago)
It is possible, but not in the way you were thinking. To customize a plugin, find the related class files and make the change. To prevent it from going to ALL screens made with this plugin, simply wrap it in an if/else check. You could check for certain itemId values if you know at time of compile which screens will have the change, or you could add a new JSON value to turn the change on or off from the control panel. The hardest part is writing the code for the change itself. The rest is easy.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
03/04/13 07:23 AM (12 years ago)
I appreciate all of your help...I was just searching for an easier way but it seems that the solution which is described by chris1 is the right one... if anyone has something else to propose, plz feel free to do it. also I would like to ask how can I disappear the refresh button from the first page... or change it's icon
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
03/04/13 09:47 AM (12 years ago)
@chris1 is right but as he already said it isnt that easy ..
 

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.