Nope I’m using Swift Playgrounds. I can hide the code for the whole page but if i try hide the top half and bottom half with a bit in the middle which I want to be viewable only the bottom half gets hidden
Post
Replies
Boosts
Views
Activity
Got it working. Added to Example DrawingSet
init(for key: String) {
self.key = key
}
then in viewDiLoad I set it
exampleDrawings = ExampleDrawingSet(for: "key")
Thanks, I see what you mean. What I'm trying to do is set a label, move it behind another view, make it disappear then set another label and start moving it from where the other one stopped. I do have this working with the code you gave but what would be the netter/correct approach to this? Another animation I need to do it create multiple dots in a vertical line (at different points in time) and move each along the x axis to a point then disappear. Again it pretty much works using the code above but I'm not sure how this should be done. Should I be using SpriteKit? I haven't really done much with animation before.