Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes xcode beta 5 compile errors #291

Merged
merged 1 commit into from
Aug 11, 2015
Merged

Fixes xcode beta 5 compile errors #291

merged 1 commit into from
Aug 11, 2015

Conversation

pmairoldi
Copy link
Collaborator

I know its a lot of changes but this beta made the UIGraphicsGetCurrentContext() now return an optional value. So instead of adding if let or guard everywhere I decided to refactor the methods that took CGContext to CGContext? and add extensions to methods that didn't take optional values. Hopefully apple moves the 2 methods that I extended to take in optional values as well so the extensions can be removed. (fixes #287)

@pmairoldi pmairoldi changed the title Fixes xcode beta 5 compile errors (fixes #287) Fixes xcode beta 5 compile errors Aug 10, 2015
@AJ9
Copy link

AJ9 commented Aug 10, 2015

+1

danielgindi added a commit that referenced this pull request Aug 11, 2015
Fixes xcode beta 5 compile errors
@danielgindi danielgindi merged commit dc9e7fd into ChartsOrg:swift-2.0 Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants