Suggestions on implementing settings

So I’m converting an old app into Corona/Lua and it’s coming along nicely. I’m really liking Corona!

My old Xcode/Objective-C game used the settings area of iOS.

Is there a way to use iOS’s settings or do I have to implement a settings screen in my app? If I have to implement the settings screen, any suggestions?

I found this for handling the actual settings, but not sure how it can integrate into the settings area of iOS or how I could implement my own settings screen.

http://stackoverflow.com/questions/16527097/how-to-create-and-save-settings-in-corona-sdk
 

And I found this for implementing iOS UI elements:

http://howto.oz-apps.com/2011/04/coronaui-amazing-step-for-developers.html

Any suggestions on how to implement settings for a game?

Guess I have to implement my own screen in the app. Found this.

Any suggestions on how to make a settings screen? I’m looking into the “director” class to handle multiple screens.

http://forums.coronalabs.com/topic/24923-ios-settings-apps-panel/?p=135537

Uh, hello?

Suggest using the Storyboard as opposed to Director. Storyboard is supported by Corona Labs

Normally I build my own UI in the game to manage settings and save the data out to a local file.

Rob

OK, there’s got to be a better way to do this.
 
I’m just trying to implement the settings panel of my app. I found a TableView example where I can define the list of settings.
 
I think I now have to make additional TableViews for each setting to present the list of options. I also want to be able to display the current selection for a setting in the row for each setting.
 
So, for the main list of settings available it would look like this:

\<Back\> App Settings Setting 1&nbsp;&nbsp; Choice A \> Setting 2&nbsp;&nbsp; Choice C \> Setting 3&nbsp;&nbsp; Choice B \> etc.

Where <Back> is a button to go back to the app.

And then for each setting, it would look like this:

\<Back\> Setting 1 &nbsp; Choice A X &nbsp; Choice B Choice C etc.

Where the “X” denotes the current selection option and <Back> is a button to go back to the list of settings.

This is just like the regular Settings area of iOS. I have this implemented in my original Obj-C version of the app using plists.

Anyone know of a module to do this kind of stuff or do I have to go through the tedious steps to code all this using TableViews?

On iOS 7 it looks like a bunch of tableViews with rows containing on-off switches, or > entries to open a new screen.  I don’t know how complex your settings are for your app, but if you don’t nest it too deep and there are a bunch of on/off switches, it shouldn’t be too painful.

But no, Corona doesn’t have an automatic way to take a bunch of XML like a plist file and turn it into widgets on the fly.

Rob

Thanks Rob.

I have 5 settings, but each one has 3 to 12 choices each. Might be tedious.

Maybe I’ll cheat and make the list of settings a bunch of buttons that open TableViews. Not sure if that will make it easier.

Wish me luck!

Gobble, Gobble.

Guess I have to implement my own screen in the app. Found this.

Any suggestions on how to make a settings screen? I’m looking into the “director” class to handle multiple screens.

http://forums.coronalabs.com/topic/24923-ios-settings-apps-panel/?p=135537

Uh, hello?

Suggest using the Storyboard as opposed to Director. Storyboard is supported by Corona Labs

Normally I build my own UI in the game to manage settings and save the data out to a local file.

Rob

OK, there’s got to be a better way to do this.
 
I’m just trying to implement the settings panel of my app. I found a TableView example where I can define the list of settings.
 
I think I now have to make additional TableViews for each setting to present the list of options. I also want to be able to display the current selection for a setting in the row for each setting.
 
So, for the main list of settings available it would look like this:

\<Back\> App Settings Setting 1&nbsp;&nbsp; Choice A \> Setting 2&nbsp;&nbsp; Choice C \> Setting 3&nbsp;&nbsp; Choice B \> etc.

Where <Back> is a button to go back to the app.

And then for each setting, it would look like this:

\<Back\> Setting 1 &nbsp; Choice A X &nbsp; Choice B Choice C etc.

Where the “X” denotes the current selection option and <Back> is a button to go back to the list of settings.

This is just like the regular Settings area of iOS. I have this implemented in my original Obj-C version of the app using plists.

Anyone know of a module to do this kind of stuff or do I have to go through the tedious steps to code all this using TableViews?

On iOS 7 it looks like a bunch of tableViews with rows containing on-off switches, or > entries to open a new screen.  I don’t know how complex your settings are for your app, but if you don’t nest it too deep and there are a bunch of on/off switches, it shouldn’t be too painful.

But no, Corona doesn’t have an automatic way to take a bunch of XML like a plist file and turn it into widgets on the fly.

Rob

Thanks Rob.

I have 5 settings, but each one has 3 to 12 choices each. Might be tedious.

Maybe I’ll cheat and make the list of settings a bunch of buttons that open TableViews. Not sure if that will make it easier.

Wish me luck!

Gobble, Gobble.