Apple Xcode development tools allow users to create and publish applications for Mac OS X, iPhone, iPod touch and iPad devices. The user friendly graphical interface and ease of use of the program creates a simple workflow allowing swift and concise development of applications. One of the primary functions in Xcode is the ability to draw text to appear on the end-user's screen. Xcode provides a simple method to create and display text to fit your application's needs.
- Skill level:
- Moderately Easy
Other People Are Reading
Open your project. Click the arrow next to your project name in the "Groups & Files" panel on the left of the Xcode window so the folders are displayed. Click the arrow next to the "Resources" folder.
Double-click to open your view controller. This file is named using the name you saved your project under, followed by "ViewController.xib." For example, if you used the default save name, your file will be called "UntitledViewController.xib." In Xcode 4.0 and newer the view will open in your main window. In earlier versions of Xcode, the "Interface Builder" application will open.
Click the "Objects" tab in the "Library" window. Scroll down to "Label," then click and drag the "Label" icon to your "View" window.
Double-click the text in the "View" window to edit it. Type the text you want to appear on screen, then click outside of the text box.
Click the text, then click the "Label Attributes" tab in the inspector panel. Use the options in this panel to change the size, colour and font of your text, add effects, tags or make the text interactive.