You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@orta I created a PR to fix this. Seems like function name constrain is reserved for a Cocoa SDK.
In the PR i renamed the function to cg_constrain. Not the best name but it compiles.
Activity
viniciusromani commentedon Sep 24, 2019
I'm having the same issue as well. Any update on this?
orta commentedon Sep 24, 2019
No merged PRs on it - you're welcome to look at it
luko-g commentedon Oct 8, 2019
@hoangtuanfithou @viniciusromani
Check out #314
@orta I created a PR to fix this. Seems like function name
constrainis reserved for a Cocoa SDK.In the PR i renamed the function to
cg_constrain. Not the best name but it compiles.luko-g commentedon Oct 9, 2019
Alternatively you can use namespaces.
Cartography.constrain