Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-15-2009, 05:41 AM   #12 (permalink)
ozzie
Registered Member
 
Join Date: Mar 2009
Posts: 140
ozzie is on a distinguished road
Default

Quote:
Originally Posted by RLScott View Post
No, it doesn't. What do you mean "write variable2 out to a label"? Integer or float variables cannot be just "written out to a label". They can be converted to a string using the NSString initWithFormat method. Then the resulting string can be assigned to the text property of a label. That is the closest I can come to "writing out variable2 to a label".

Robert Scott
Ypsilanti, Michigan
By "writing out to a label" I meant the whole process of writing it out to a label such as creating a new NSString and using "initWithFormat" to put it in and then declaring the label as the new NSString. As you can probably tell I'm new to Objective-C, although I do know some other languages, but once I've sorted this then I'm pretty much set.
ozzie is offline   Reply With Quote
 

» Advertisements
» Online Users: 395
15 members and 380 guests
7twenty7, baja_yu, buggen, BumChinBooth, ChrisYates, dylanreich, evilmatt10, givensur, MarkC, Mnashmi, networ, QuantumDoja, teebee74, TheStalker, za1407
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,636
Threads: 94,101
Posts: 402,817
Top Poster: BrianSlick (7,990)
Welcome to our newest member, samdanielblr
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:33 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.