Post

Replies

Boosts

Views

Activity

Reply to missing methods in Playgrounds
I managed to delete every file on my computer that had the word playground in the file name. Then I noticed that there were two playground files on iCloud Drive. I deleted them, and was able to get a fresh start. But I still couldn't move the character. It turns out, in this exercise, I had to use an instance of character followed by a period, and then all the movement methods showed up again. .isBlocked did not work, but character.isBlocked did. Oh well...... I doubt my discovery will help anyone else, but I felt obliged to share my ineptitude.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’21
Reply to missing methods in Playgrounds
I deleted the Playgrounds app and all its related files found by AppCleaner, but the same issue remains. In fact, none of my previous coding was lost. AppCleaner must have missed a file that I wanted to delete. I'll try again to make a clean start of using Playgrounds.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’21
Reply to Compatible teaching book with Xcode
Thank you VERY much. Your reply got me going again. Seems you have created your project in a wrong way. And I have noticed that the book does not illustrate how to create a project precisely. A very bad description, especially for beginners -- the main target of the book. It turns out that the book does illustrate how to create the project precisely, but it was cleverly hidden. On page 61 there are three thumbnails (?) at the bottom of the page. If you click on the rightmost thumbnail, the field labeled User Interface contains Storyboard. I missed seeing that, and had no idea that it mattered. I When you create a new project of iOS App, you see a sheet to input Product Name, and a few input items. You need to choose the right options for each item to go on with the book. • Interface: Storyboard • Life Cycle: UIKit App Delegate (This is the only option when you choose Interface as Storyboard.) • Language: Swift Please try. I tried using your instructions, and they worked perfectly. I can now find the text where I must type in the changes detailed in the book. I am. now using the latest version of Xcode, 12.3. I tried using 11.7 again because I thought I had noticed some inconsistencies, but I could not run my app, only build it. There were no other targets devices available. Thank you again.
Jan ’21
Reply to Compatible teaching book with Xcode
Thank very much you for your response. The book I am using is the one you listed. You are correct. I'm using Xcode version 12.3 Sorry. I wasn't sure how to describe the listing of app steps, but I should have said "editor page". Here is what I see in the contents page when I start Xcode and click Create a New Xcode Project: // // ContentView.swift // testphone // // Created by Swans on 1/1/2021. // import SwiftUI struct ContentView: View { var body: some View { Text("Hello, world!") .padding() } } struct ContentViewPreviews: PreviewProvider { static var previews: some View { ContentView() } } _ "super.viewDidLoad" isn't there. I guess the best way to put my question might be : What version of Xcode should I use with the latest Apple Education book for learning Xcode and Swift.
Jan ’21
Reply to No output in console and sidebar
I continued to search the forum and tried additional suggestions. After multiple failures, Xcode downloads, crashes and restarts I stumbled across a solution that worked for me, creating a new tab. I selected File > New > Window Tab, and suddenly there was output in the console and sidebar in both the old tab and the new tab. Seems like a bug to me, but at least there is a workaround.
Dec ’20