Posts

Post marked as solved
5 Replies
27k Views
Hi everyone. I'm new to using Xcode and this is my first time coding. I'm currently following some tutorials that require this coding to create a rectangle:let canvas = UIView(frame: CGRectMake(0, 0, 200, 200)). I know that CGRectMake was removed from xcode so I changed my code tolet canvas = UIView(frame: CGRect(x: 0, y: 0, width: 200, height: 200))I'm getting a swift compiler warning of 'editor placeholder in source file'. Can someone tell me how to fix this and why i'm getting it?
Posted Last updated
.