Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 84

CrazyLina
Aspiring developer
Profile
Posts: 8
Reg: Aug 04, 2013
London
4,680
08/18/13 08:55 AM (12 years ago)

Custom editable menu - how to link to BT code

Hello, I want to add a menu to my app where the user can dynamically add and remove rows (categories), with an initial list set up as a default. This category list is to be held in a global variable so that they can then be called from other screens. I've read that UITableViewController class can be used for this, but if I implement that, I can't figure out how to get it to link up with the other buzztouch code (app_Delegate files) so that it is called. Is this even possible, or is there an easier way to go about this? Thanks in advance!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
08/18/13 09:26 AM (12 years ago)
Hi Lina, What is the purpose of this screen is it a checklist or is it a favourite screen list. If it is the second I have a plugin that can do that http://www.youtube.com/watch?v=VlJWA13TEgA&feature=share&list=UUbP1n__701ZT328SHsNRHqg The video shows it with music but can be used with any screen PDF, menu, image,etc. if it is the first explain in more detail and we'll see what can be done
 
CrazyLina
Aspiring developer
Profile
Posts: 8
Reg: Aug 04, 2013
London
4,680
like
08/18/13 09:44 AM (12 years ago)
Hi Kittsy, It's a list of work expense categories - the user can then change these values to align to what their company has in their expenses tool. These would be set up when the user first uses the app. Then another screen would allow the user to 'Add expense' and they would choose one of these pre-defined categories and fill out some details for it. Thanks for your input!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
08/18/13 09:49 AM (12 years ago)
Right makes perfect sense. How accustomed to coding are you?
 
piggilypoo
Aspiring developer
Profile
Posts: 172
Reg: Jun 28, 2011
San Diego
5,120
like
08/18/13 10:11 AM (12 years ago)
Kitty that's an awesome plugin, how can i get it? :)
 
0z2000tv
Aspiring developer
Profile
Posts: 315
Reg: Sep 10, 2011
Nashville
11,950
like
08/18/13 10:44 AM (12 years ago)
Nice plugin @kittsy. Mike
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
08/18/13 11:06 AM (12 years ago)
It's not released on the market. If you are self hosted it can be sold PM me for more info
 
shak77
buzztouch Evangelist
Profile
Posts: 399
Reg: Jan 18, 2011
location unknow...
7,240
like
08/18/13 12:26 PM (12 years ago)
@kittsy, do you know when/if the favorites plugin will be released on the market? Thanks, David
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
08/18/13 01:39 PM (12 years ago)
God knows, lots of changes in the control panel and behind the scenes. I've sold I to a few people it works on he self hosted
 
CrazyLina
Aspiring developer
Profile
Posts: 8
Reg: Aug 04, 2013
London
4,680
like
08/18/13 05:05 PM (12 years ago)
Hi Kitty, I did a lot of coding 10 years ago whilst at uni (software engineering) but am quite rusty! I understand object orientated languages, but finding the ios developer reference pages confusing.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
08/19/13 05:38 AM (12 years ago)
So you definitely want a UITableView, but not necessarily a UITableViewController. Not sure that viewController can subclass the BT_viewController. The normal viewController can handle all things table just fine though. What you're going to need to do, though, is implement an SQLite database on the device, and manage the table's items through that. You'll want to take care that your code can distinguish between items from the control panel and items from the user, as both will go into the database. (Don't want the control panel overwriting the user's items on a refresh). I suggest having a column in your db that identifies where the item came from. On refresh, delete all control panel items and then add all downloaded ones. If you need help let me know. (Or if it becomes too much and you just want someone to build it for you)
 

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.