CGRectMake , CGPointMake, CGSizeMake, CGRectZero, CGPointZero is unavailable in Swift3. but UIEdgeInsetsMake, NSMakeRange, etc available in Swift3. Why didn't Apple remove these?
They are not removed. They are renamed. You now use the initializer syntax instead of a factory method:
UIEdgeInsets(top: 0, left: 0, bottom: 10, right: 0)
And the constants are now a static property of the type
UIEdgeInsets.zero
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With