Ready to watch this entire course?
Become a member and get unlimited access to the entire skills library of over 4,800 courses, including more Developer and personalized recommendations.Start Your Free Trial Now
- View Offline
If you find you'd like to learn more, see iOS App Development Essential Training, Foundations of Programming: Fundamentals, or any of the other programming courses in our library.
- Installing Xcode
- Creating an Xcode project
- Configuring the iOS Simulator
- Understanding variables
- Connecting visual objects to variables
- Understanding functions, methods, and selectors
- Connecting a button to a function
- Using conditional statements
- Setting up the user interface
- Connecting code elements to build an app
Skill Level Beginner
You may have noticed that my fonts are a little bit small and hard to read. Let's look at how to adjust Xcode preferences so that you can write code in a font, and a font size, that fits your needs. I'm going to click Xcode and Preferences to open up the Preferences window. There are two things that I want to do. Number one, I want to show line numbers. Under the Text Editing tab, you can do that. So click Text Editing, and then Show Line Numbers. And the line numbers should appear right away, so I can see them behind the window.
The other thing I want to do, is make the font a little bit bigger, easier to read. And also use a different font. So what I'm going to do is click Fonts and Colors, click Default, and then click the plus button. Under here, I'm going to duplicate the default fonts. I'm going to give this a custom name, which is going to be my name. That way, when I open up the Fonts and Colors, it's really obvious which fonts are my custom set. So with mine set, I'm going to click the very top option, which is Plain Text, and then I'm going to scroll all the way to the bottom, and shift-click the last option.
And now to change the font, I'm going to click the T button in the font text field. Well, that'll open up my Font window, and I'm going to scroll down in the Family section and choose Monaco. And then under size, I'm going to click 18. And this font size is much larger and easier to read. So, I'm going to close this window, and close the Preferences window, and my font size is changed. When you're creating your special custom font for writing code, I highly recommend not changing any of the colors from the default values.
If you change the colors, it'll be much harder to follow along by looking at my screen, because the colors won't match. So again, you can adjust your fonts, colors, and line numbers through Xcode > Preferences.
Sign up for a Premium Membership to download courses for Internet-free viewing.
Watch offline with your iOS, Android, or desktop app.Start Your Free Trial
After signing up, download the course here or from the iOS/Android App.