Post

Replies

Boosts

Views

Activity

Reply to Assistant not opening the correct swift file
I ran into the same problem, probably also in the same book. This worked for me: in the document outline I selected not the Cell, but some content of the Cell (Label, for example), and then I tried to open the Assistant. ViewController opened, but when you click the Automatic option above, two options are provided - click the Cell.swift and there you go. I hope this helps!
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’22
Reply to The live view is not visible due to having zero width and zero height
Adding this code to the last line worked for me: PlaygroundPage.current.liveView = MKMapView(frame: CGRect(x: 0, y: 0, width: 400, height: 800))
Replies
Boosts
Views
Activity
Apr ’22
Reply to Assistant not opening the correct swift file
I ran into the same problem, probably also in the same book. This worked for me: in the document outline I selected not the Cell, but some content of the Cell (Label, for example), and then I tried to open the Assistant. ViewController opened, but when you click the Automatic option above, two options are provided - click the Cell.swift and there you go. I hope this helps!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’22