Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 82

Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
11/04/13 02:53 PM (12 years ago)

Need some advice with an app.

Hi, I am making an app where the user inputs data into (at the moment) 16 different fields, 7 of which are number fields, 2 are multi choice, 6 are yes/no fields, and a date picker. I want to have all the fields to be entered by clicking buttons, and i am using stepers for the numbers and segmented controls for the rest. I have a label on the right that shows which the user has chosen and what numbers they have input. I want to know how to set it so that when the user presses the submit button, all the data is sent to a database in the app. I then have fields on the main screen that will need to display the date for the most recent entry into each field in a specific label. Im not sure how to do that and would really appreciate some direction and/or help. If you want to know more please let me know and i will show you what it looks like. Ive heard there are a few of us here, so if your a pilot, this is an app to assist in keeping up with recency's. Any pilot that helps out i will give the app to for free for your help. Thanks everyone, Jeremy
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/04/13 11:24 PM (12 years ago)
Sending your data is merely collecting your field values and sending them via POST to your server… I don't have any sample code handy, but this looks pretty close: http://stackoverflow.com/questions/9509419/xcode-easiest-way-to-send-data-from-ios-textfield-for-example-to-a-remote-datab Cheers! -- Smug
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
11/05/13 03:19 PM (12 years ago)
Hey smug, Thanks for the link, but I want to do the same thing, but I want to store the database locally in the iOS app. Thanks, Jeremy
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
11/05/13 05:10 PM (12 years ago)
Ah. Hmm… That would need probably some SQLite work… I've created those DB's 'outside' the app before… not inside. This might help… But I haven't gone through them and tried anything… http://mobileorchard.com/iphone-sqlite-tutorials-and-libraries/ Cheers! -- Smug
 
Jlentriken
Aspiring developer
Profile
Posts: 246
Reg: Dec 26, 2012
Palm Beach, Gol...
12,110
like
11/06/13 11:37 AM (12 years ago)
Thanks Smug, nothing left but to have a few good goes and see how it turns out. Thanks for the help, glad someone knows how to search for what I need. Thanks, Jeremy
 

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.