Normal operation of the Library is that you need at least ONE view in place in order to drag new View or Modifier elements in from the Library whether you drag those elements into the Code editor or into the Canvas.
I can see what you mean. I certainly can’t replicate that in Xcode 12.5 so maybe the version of Xcode that Chris was using at the time the Lesson was created was an earlier version.
This is not working! It is going to be impossible to learn anything is if the lessons are broken like this!
Can someone please tell me what to do to make it work in Version 12.5.1 (12E507). I was looking forward to start learning and now this
Can you provide a screen shot of what you are seeing?
Xcode 12.5.1 works differently than the previous version which unfortunately is what everyone has to deal with over time as the product develops. That includes Chris Ching who is the author of these lessons who is equally frustrated when the rug gets pulled out from under him.
It’s just a fact of life as an IDE (Integrated Development Environment) is constantly refined and updated.
Keep in mind that all of the moderators here (including myself) are here to provide assistance when something does not work as expected. Often there is a simple solution that someone else has come up with that will get you to the point of being able to continue. Just hang in there.
I am having this exact same problem (with same version of XCode 12.5.1 = bad software).
BTW, what YEAR are the comments posted in? 2021? (The dates only show month and day!!!)
This is VERY frustrating. I could not understand kmmarie777’s solution proposal. Where is “Adjust Editor Options” in the “top right hand corner”??? Right hand corner of what???
It is very easy to show a standard date format showing the year.
In that way, the end user does not have to guess about the year or know of the convention that the current year is not shown. Realize that many users visit pages like this as a result of a Web search. Showing the year makes it immediately clear to the reader who stumbles upon this page what date the post was made, no guessing or deduction needed.
(I dislike things such as “3d” for similar reasons).