It can enable the pan gesture to pop viewController all the way. Even you custom left navigation item or do other thing.
iOS
Open Source Swift Based Library For Performing Common Image Processing Tasks With A Clean Syntax
Performing common image manipulation tasks using the iOS SDK can get quite messy. Here’s a Swift based library called Toucan that provides a nice clean API for common image processing tasks from Gavin Bunney.
The features of Toucan include:
- Image resizing with scaling, rotation, and cropping
- Image masking with circles, rectangles or custom images
- Borders with customizable width and color
- Easy chaining of the different image processing stages
- Examples showing how to perform each operation, and their combinations
Xcode plugin for controlling iOS device with macros
Here’s another interesting Xcode plugin submitted by John Holdsworth called Remote that allows you to control an iOS device using definable macros called remote for easier testing.
Remote was created to eliminate the need to have to manually touch the device to test an app, and provides a simple way to create macros during testing using snapshots to run the macros and check for validity.
Open Source iOS Component Providing Gesture Based Or Tabbed View Navigation With A Nice UI
Here’s a component called XLPagerTabStrip inspired by PagerTabStrip and PageView from the Android SDK providing a nice solution for navigating between a collection of view controllers from XMARTLABS.
XLPagerTabStrip provides gesture based scrolling between views with a position indicator above the view, or you can provide a scrollable tab selector which is great for navigating between a wide number of views. An example demonstrating the different ways to navigate with XLPagerTab strip is included.
SpriteKit Physics Tutorial in Swift
I recently had the pleasure of attending Cocoaconf Atlanta, where I attended an excellent 2D gaming workshop given by Josh Smith. The workshop featured Apple’s SpriteKit (SK), which was released two years ago and is a very powerful 2D gaming framework that also includes a great, easy to use, physics engine.
In this post I’ll cover some major features of SK’s sprite rendering and physics engine by implementing a small iOS game!
Open Source iOS SpriteKit Library With UI Creation Helpers And More
Here’s another nice library for working with SpriteKit providing a number of useful of SpriteKit helpers called HLSpritekit from Hilogames that is especially useful for those looking to create an interface within their SpriteKit scenes.
Some of the features of HLSpriteKit include:
- Loading of scene assets in the background
- Easier gesture handling
- Organization of content into a grid format
- A Toolbar node
- A button node
- A layout manager for table-style layouts
- Modal presentation of nodes
How I Handle Optionals In Swift
Dealing with optionals is unavoidable in any Swift program that interfaces with the Cocoa or CocoaTouch libraries. Realistically that is all of them with a very few limited exceptions. Handling them is often annoying a although I am very glad of the rigour that they enforce on me. In fact I like the rigour so much that I never use implicitly unwrapped optionals (variable declared with !) and I use force unwrapping only in very limited circumstances.
Aerogear – thin networking layer for iOS written in Swift
Thin layer to take care of your http requests working with NSURLSession. Taking care of:
- Json serializer
- Multipart upload
- HTTP Basic/Digest authentication support
- Pluggable object serialization
100% Swift.
GUAAlertView for iOS
Custom alert view with gesture support and block-based API.
Open Source Library For Easier Communications With Extensions (Such As WatchKit)
One of the new challenges of working with extensions such as WatchKit extensions is that since they run on a separate layer from your app you’ll need to add in a mechanism for data updates.
Here’s an open source library from Conrad Stoll of Mutual Mobile that allows you to easily create a bridge between an iOS extension and it’s application so you can easily pass data between the two locations called MMWormhole.