TextStyle – A Swift Library Allowing You To Easily Manage Text Styles

TextSTyle is an open source swift library from Yalantis that provides a declarative syntax for defining typefaces with some nice extras.

With TextStyle you can quickly define all the fonts to use for a specific font family like this:

let helvetica = Font(
       light: "Helvetica-Light",
       lightItalic: "Helvetica-LightOblique",
       regular: "Helvetica",
       italic: "Helvetica-Oblique",
       bold: "Helvetica-Bold",
       boldItalic: «Helvetica-BoldOblique")

And also quickly access the different styles like in this example showing how one could utilize the defined bold font:

let header = plainText.withSize(18.0).uppercase().bold()

You can also change the thickness, and color attributes and more.

You can read more about TextStyle on the Yalantis blog.

You can find TextStyle on Github here.

A great library for defining text styles.

Original article: TextStyle – A Swift Library Allowing You To Easily Manage Text Styles

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

iPhone Users Report Serious Battery Drain and Sudden Shutdowns on iOS 10.1.1

Many iPhone users are turning to Apple Support Forum reporting a decline int he battery time of their handset with iOS 10.1.1. After updating theiriPhone to iOS 10.1.1,many iPhone users started…

[[ This is a content summary only. Visit my website for full links, other content, and more! ]]

Tutorials: Using The iOS 10 User Notifications Framework

With the iOS 10 SDK apple Apple has added the UserNotifications Framework providing a unified API for local and remote notifications across iOS, watchOS, and tVOS devices.

Davis Allie has written an in-depth series of tutorials showing the basics of creating user notifications, creating custom notifications, and creating notification service extensions.

You can find the tutorials on the Tutsplus site:

Part 1 – Sending Basic Notifications
Part 2 – Creating Customized Notifications
Part 3 – Creating Notification Extensions

A nice series on utilizing iOS 10’s UserNotifications.framework.

Original article: Tutorials: Using The iOS 10 User Notifications Framework

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

Newly – Open Source iOS UI Button Component For Indicating New Content

Newly is an open source Swift based UI component from Dhiraj Jadhao providing a new updates button similar to the new buttons seen in the Twitter, Facebook and LinkedIn apps that indicate updates are available.

Newly buttons animate in from the top, and the text within the button can be customized. Colors, the animation speed, and where the button shows can be customized.

This animation from the readme shows the Newly button in action:

Newly

You can find Newly on Github here.

A nice component for indicating content updates.

Original article: Newly – Open Source iOS UI Button Component For Indicating New Content

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

FileExplorer – iOS Swift UI Component For File Browsing, Deleting, And PReviewing

FileExplorer is an open source Swift based component submitted Rafal providing a great interface for browsing files on the local file system.

FileExplorer allows the user to navigate between directories, deleting files, and previewing of image, audio, video, and pdf files. There is also integrated search, and you can add an API for extending FileExplorer to support other file types.

This animation from the readme shows FileExplorer in action:
FileExplorer

You can find FileExplorer on Github here.

A nice easy way to add file browsing into an app.

Original article: FileExplorer – iOS Swift UI Component For File Browsing, Deleting, And PReviewing

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