Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Make init methods unfailable #1653

Merged
merged 1 commit into from
May 27, 2015
Merged

Make init methods unfailable #1653

merged 1 commit into from
May 27, 2015

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 27, 2015

If an OpenGL context couldn’t be created, there’s just no point to soldiering on. Things are going to fall apart pretty quickly anyways. Assert and be done with it.

This change will also help to de-exclamatize any Swift projects using MGLMapView (#1578).

/cc @incanus

If an OpenGL context couldn’t be created, there’s just no point to soldiering on. Things are going to fall apart pretty quickly anyways. Assert and be done with it.
@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS refactor labels May 27, 2015
@1ec5 1ec5 added this to the iOS Beta 2 milestone May 27, 2015
1ec5 added a commit that referenced this pull request May 27, 2015
@1ec5 1ec5 merged commit 9dd8d26 into master May 27, 2015
@1ec5 1ec5 deleted the 1ec5-init-unfail branch May 27, 2015 20:15
@1ec5 1ec5 removed the in progress label May 27, 2015
1ec5 added a commit that referenced this pull request May 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant