We’ve just released version 0.4.0 of the MapBox iOS SDK, a major update to our open source alternative to Apple’s MapKit for iPhone and iPad applications. We’ve made big improvements to the install process, the documentation, and of course the code-level features and functionality, and I’d like to take a moment to discuss all three in this post.
Easier install process
Aside from continuing to provide a prebuilt binary as mentioned in our last major release, we are happy to announce that the SDK is also now available on CocoaPods. This system, designed to make it easier to manage required libraries and their dependencies when building apps, makes it incredibly simple to include MapBox in your app:
Add a Podfile to your app containing the following:
platform :ios, '5.0'
Run pod install in the Terminal.
CocoaPods takes care of managing the dependent libraries, building the entire SDK from source, and installing documentation for the SDK into Xcode. Which brings me to…
Available contextually when coding, this documentation fits right in with all of Apple’s Foundation and UIKit reference, allowing in-place hinting when typing out classes and methods. The name, type, and other details about all variables are suggested in the IDE, making it much easier to add custom mapping functionality to your app.
New features and functionality
We’ve been hard at work on new features, improved performance, and fixes and tweaks to the SDK as well. Here’s a list with the major changes since version 0.3.0:
Improved the performance of network tile fetching and drawing.
As always, we’d love your feedback on our install processes, documentation, or improvements to and plans for the SDK. You can use the support forum for questions on getting setup, the issue tracker for reporting problems or requesting features, or contact me on Twitter at @incanus77.