‘CGSizeMake’ is unavailable in Swift

Swift 3 removed CGSizeMake.  You will get the error message “‘CGSizeMake’ is unavailable in Swift”.  To resolve this replace:

CGSizeMake(100, 200)


CGSize(width: 100, height: 200)

Our Products

Keyword level attribution for Apple Search Ads. Optimize your bids and increase your revenue. Sign up for free at

White Noise and Deep Sleep Sounds
Calming and relaxing sounds that will help you sleep like a baby tonight.
Download for free from the App Store.
Get it on Google Play.

Our Sponsors

Get Sleepy
Get Sleepy
The free podcast that puts you to sleep with meditative bedtime stories. Listen at