Are you using XCode 11 ?
If so, tehre have been a few changes with the introduction of SwiftUI.
On page 27, you should now:
- select Swift language (must be the default choice)
- In user Interface, select storyboard (unless you want to start a SwiftUI project, but that is not the purpose of the book).
No device to select now.
Wish you good continuation.
Thank you for the response. I am using Xcode 11, however, the Apple Swift guide I am using is for Xcode 10. There is no Xcode 11 guide, as far as I know. I assuming this why there are subtle differences in what I am seeing in the UI (navigation bar, for example) and how files are labled which is confusing as I am trying to learn the basics. Again, thanks for your help.
Ok, I just started section 5.1 over and followed your advice. So far, this definitely seems correct. It seems that there is a major error in the step by step directions in the Swift guide. Anyway, thanks again.
It is not an error, AFAIK, it is a difference due to evolutions of XCode.
ANyway, good continuation and don't forget to close the thread.
Ok, I must not have the correct Swift book or something because now I am on page 40 and the steps the book want me to take do not have the attributes on the UI part. I am sorry if I am not being clear but things that I think should be matching up (Xcode to Guide) are not. For example,
“Choose a new color for the view from the color picker. (There is no color picker to choose from in the utiliities section under the attribute inspector)
When you’re happy with your new color, build and run the app again using the Run button in the toolbar. Your app is now a little more interesting.
Adding an image
Now you’ll add a new file to your project and add new content to your storyboard, which then will appear in your app.
Before you start, you need a photo or image file. It can be fun to use the Photo Booth app to take a selfie, or you can use something you already have. Make sure you have the image file handy on the desktop.
You’ll follow these steps to display the image in your app:
Add an image to your project (this will be a resources type of file, like a JPEG).
Add an image view to the view controller.
Tell the image view to display your image.
Excerpt From: Apple Education. “Intro to App Development with Swift.” Apple Inc. - Education, 2019. Apple Books. https://books.apple.com/us/book/intro-to-app-development-with-swift/id1118575552
My apologies if this seems obvious, this is very new to me and I would like the guide and Xcode would match up since it is a learning guide. That is why I am wondering if I am missing something. Thanks and have a great day.
Ok, unless you have some other advice to add, I think I figured it out. Thank you.
If you want to match the book and XCode, you could donload an older version of XCode (10). Good continuation and think of closing the thread.