Everyone has a different take on this, and each method has some benefits. At first I was building my views using Storyboard, but then I joined Samsao where we try to do pretty much all of our views programatically. So this article, or should I say tutorial/checklist, will show you how easy it is to create a scroll view in code using SnapKit. SnapKit will allow you to use Auto Layout in code in the easiest way possible (You can install it using Cocoapods) . It might take an hour or two to get used to, but after that it becomes an invaluable tool. So let’s start!
Tag Archives: CocoaPods
Mapbox Mobile is our vector maps library for mobile platforms. This guide will walk you through installing the Mapbox iOS SDK using CocoaPods and Xcode to load a map, place a pin on it, and change the map style. This guide supports Objective-C and Swift.
Heads up! We’re still actively developing Mapbox Mobile and will update this guide and add new ones as we improve its amazing features.
Google distributes several iOS specific APIs and SDKs via CocoaPods. CocoaPods is an open source dependency manager for Swift and Objective-C Cocoa projects. CocoaPods makes it easy to install or update new SDKs when working with Xcode.
You can install the CocoaPods tool on OS X by running the following command from the terminal. Detailed information is available in the Getting Started guide.
Let’s combine 2 of the hottest things in the app world with each other: an in-app Message Center and Slack. In this guide, I’ll show you how you can code a stand-alone Message Center into your app.
You’ll be using the following techniques:
- Slack Web & RTM API (Real Time Messaging)
- Alamofire, Starscream, SwiftyJSON, and JSQMessagesViewController
- Building up a socket connection
- Working with CocoaPods
- Some custom Swift programming, all in Xcode 6
Xcode Frameworks are a good way to organise code in a large project making it easier to re-use code with a package manager such as CocoaPods. Unfortunately, from an enginering point of view breaking the program up into many small parts progressively slows application launch time as they need to be dynamically loaded one by one.
The solution is to statically link the program as a whole but as CocoaPods start to be written in Swift this would normally not be an option. Static linking would would also offer the possibility of applications using Swift pods to be deployed to iOS 7.
In this guide, we’ll learn how to build a simple app which uses beacons and Estimote Indoor Location SDK to obtain (x,y) coordinates of its user inside an indoor space.
What’s ahead (aka Table of Contents)
- Map your space out
- Set up a new project
- Add Indoor Location Manager
- Connect the app to Estimote Cloud
- Fetch location from Estimote Cloud
- Start location updates
- Next steps
Drastically simplifies app code by providing a client-side cache of observable models for RESTful resources.
- OS: iOS 8+
- Languages: Written in Swift, supports Swift and Objective-C
- Build requirements: Xcode 7 beta, Swift 2.0, Carthage
- License: MIT
- Status: Alpha, in active development. Works well, but API still in flux. Seeking feedback. Please experiment!
Table of Contents