Why are some Core Graphics APIs "hidden" from Swift?
Why are some Core Graphics APIs "hidden" from Swift?
- Subject: Why are some Core Graphics APIs "hidden" from Swift?
- From: Rick Mann <email@hidden>
- Date: Wed, 30 Aug 2017 14:04:22 -0700
I notice the CGPoint version of APIs map to nice Swift method calls:
CGContext.addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius:
CGFloat)
But the X, Y versions have a double underscore:
CGContext.__addArc(x1: CGFloat, y1: CGFloat, x2: CGFloat, y2: CGFloat,
radius: CGFloat)
Why is this?
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden