Tutorial: Using 3D Touch To Create A Weighing Scale

Earlier this year I mentioned a nice guide on implementing a 3D touch menu for the springboard.

Here’s a step-by-step tutorial from Maxime Defauw on using the latest iteration of Force Touch, 3D Touch to create a weighing scale.

Some of the things explained in the tutorial are:

– How to detect the availability of 3D Touch
– Gathering the force percentage
– Setting up the project and interface

Keep in mind that the scale isn’t totally accurate, and Apple doesn’t want people to measure things on their iPhone’s so don’t expect a digital scale app to get into the app store (at least one such app has already been rejected).

You can find the Digital Scale app tutorial over on the AppCoda blog.

A nice guide for those interested in utilizing 3D touch.

Original article: Tutorial: Using 3D Touch To Create A Weighing Scale

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Open Source Swift Library For Displaying Animated GIFs With Good Performance And More

Some time ago I mentioned YLAnimatedGif for displaying GIF images on the iOS platform with low memory usage.

Here’s an open source Swift library called JWAnimatedImage that provides an optimized solution for displaying gifs created to work well in a multi-image use case from Jiawei Wang.

JWAnimatedImage has a number of nice features beyond providing an animated solution including:

– Image quality control
– Asynchronous loading of images
– Control of memory usage
– Ease of use as a UIImageView or UIIMageView extension

Here’s an animation from the readme showing JWAnimatedImage in action:

JWAnimatedImage

You can find JWAnimatedImage on Github here.

A great library for working with GIF images.

Original article: Open Source Swift Library For Displaying Animated GIFs With Good Performance And More

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Open Source iOS Table View Component For Creating Table Views With Expandable Cells

I’ve mentioned a number of components for creating custom table views such as the MMParallaxCell component for displaying images with a parallax effect.

Here’s an open source component providing a custom UITableView called ZYThumbnailTableView featuring click to expand table view cells with thumbnail images.

ZYThumbnailTableView allows for easy customization of the cells and provides extra top and bottom views so you can further customize what happens when a user expands a cell.

Here’s an image from the readme showing ZYThumbnailTableView in action:

ZYThumbnailTableView

You can find ZYThumbnailTableView on Github here.

A nice easy way to create table views with expandable cells.

Original article: Open Source iOS Table View Component For Creating Table Views With Expandable Cells

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Swift Library For Performing Many Common Image Processing Tasks

Some time ago I mentioned the Swift based Toucan for image editing tasks such as resizing, cropping, and adding borders to images.

Here’s an open source Swift library called SwiftImageProcessing from Sungcheol Kim for easily performing an extensive number of common image processing tasks.

These tasks include:

– Convert UIImage to an RGBA image for easy pixel access
– Blurring
– Image adding, subtraction, multiplication and division
– Blending
– Sharpening
– Brightness adjustment
– Contrast adjustment
– Grabbing and images color space (red, green, blue)

and more.

Here’s an image from the readme showing an image with contrast adjusted:


SwiftImageProcessing

You can find SwiftImageProcessing on Github here.

A nice Swift image processing library with many useful functions.

Original article: Swift Library For Performing Many Common Image Processing Tasks

©2016 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.