Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 18, 2012, 06:55 PM   #1
iNeedAnsurs
macrumors newbie
 
Join Date: Nov 2012
xCODE I'm a noob. And I'm working on my first project #SOS

Im trying to add & subtract user inputs . Couple text fields , and labels , maybe some tabs ... Thanks for your help in advance
iNeedAnsurs is offline   0 Reply With Quote
Old Nov 18, 2012, 07:24 PM   #2
iNeedAnsurs
Thread Starter
macrumors newbie
 
Join Date: Nov 2012
What's the diff between text field and label ?

The functions and capabilities ?
iNeedAnsurs is offline   0 Reply With Quote
Old Nov 18, 2012, 07:51 PM   #3
Comeagain?
macrumors 68020
 
Comeagain?'s Avatar
 
Join Date: Feb 2011
Location: Spokane, WA
Text fields are where users type. Labels are where you (the dev) types - labels something.
__________________
Questions? MRoogle it!
Current iOS 8 "All the little things!"
MR Scavenger Score: 1
Comeagain? is offline   0 Reply With Quote
Old Nov 18, 2012, 07:58 PM   #4
iNeedAnsurs
Thread Starter
macrumors newbie
 
Join Date: Nov 2012
Reply

Is it possible to add fields ?
iNeedAnsurs is offline   0 Reply With Quote
Old Nov 18, 2012, 10:12 PM   #5
chambord
Banned
 
Join Date: Aug 2012
Quote:
Originally Posted by iNeedAnsurs View Post
Im trying to add & subtract user inputs . Couple text fields , and labels , maybe some tabs ... Thanks for your help in advance
You need to get a book and read through it and work through the examples. You shouldn't keep making these ridiculous threads asking extremely vague questions and expect any reasonable help. Go do your own work. Don't be lazy.
chambord is offline   0 Reply With Quote
Old Nov 18, 2012, 10:39 PM   #6
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by iNeedAnsurs View Post
Is it possible to add fields ?
Fields as in text fields or fields as in members of a class?

You can subclass either a UILabel or a UITextField to give them whatever variables you need them to have.

UITextFields can be dropped in your storyboards or xibs wherever you please.

UITextFields are for user input. UILabels are for output. The text box you type your response in is like a UITextField. You may edit your response. The text box where you see my message to you (right here) is like a UILabel - you, a common user, cannot edit what I have said, you can only read it.
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is offline   0 Reply With Quote
Old Nov 19, 2012, 03:40 AM   #7
jnoxx
macrumors 65816
 
jnoxx's Avatar
 
Join Date: Dec 2010
Location: Aartselaar // Antwerp // Belgium
Using an Hashtag on an forum, I find that quite saddening.
None the less, the things you want to learn is basic Objective-C and Cocoa Touch.
How do I get info from UITextFields, what kind of info do I want, numbers, text.
What will I try to validate from the fields, give output to user on the fly, or only after they pressed a button, and so on.
__________________

iPad Mini, iPad 4, iPad 2, iPhone 3G,4,5, iMac 24", Mac Mini Last gen, Macbook Pro Retina with Dell U2711
jnoxx is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Diff tool for comparing text file version in Time Machine? callagga Mac Applications and Mac App Store 1 Jul 9, 2013 06:41 PM
Record label field (iTunes / iCloud Download - iTunes Match) question backto140 iCloud and Apple Services 9 Mar 3, 2013 09:12 PM
xCode label text color change kushalashok Web Design and Development 1 Feb 15, 2013 05:22 AM
ios label.text null wordgeist iPhone/iPad Programming 3 Sep 15, 2012 08:01 AM
Resolved: dragging text from table cell to text field straber iPhone/iPad Programming 4 Jul 11, 2012 01:27 PM

Forum Jump

All times are GMT -5. The time now is 11:26 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps