View Single Post
Old 11-12-2008, 03:03 AM   #1 (permalink)
Nickel
Junior Member
Default Avatar
 
Join Date: Nov 2008
Posts: 4
Default Displaying Text With Button

Hi, I'm trying to make an iPhone app that displays text when you press a button. I'm using this code:
Code:

You must Login or Register to view and contribute code! This is done to increase participation in helping one another out, if you have been helped please pass on the favor.

[display setStringValue:@"Hello World"];
However, when I run it the app freezes, with the button down not allowing me to exit the app.

I'm assuming that code may only be Cocoa and not Cocoa Touch. Can someone let me know what code I should use?
Thanks in advance.
Nickel is offline   Reply With Quote