Post

Replies

Boosts

Views

Activity

Editor placeholder in source file Xcode 8
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?
5
0
28k
Jun ’17