Your tutorial is very helpfull for this just started App-composer.
Now I feel a bit stupid as in my MedalDrawing-playground I never see this image showing up at the place where it ought to be.
( //This code must always be at the end of the playground )
To find out why, I downloaded your version and there I shows up indeed. Why not in my version? I can’t find the difference between yours and mine.
Is this maybe dependent of a general setting in the playground preferences? I can’t find this.
In meantime I found the reason: you have to click at given lines this symbol
And this is indeed also mentioned in explanation. I’ve overseen this. Sorry for that.
Great way to explore and try out with playgrounds.
When copy the medaldrawing code from Playground as you write, a alert will occur – " Use of instance member ‘creatMedalImage’ on type ‘MedalView’; did you mean to use a value of type ‘MedalView’ instead?" at [ lazy var medalImage:UIImage = self.createMedalImage( ) ]
Maybe it should use closure directly after the variant, just like : lazy var medalImage: UIImage = { // the whole draw code}( )