Search
Filters
Blog options
Close
RSS

Blog posts tagged with 'swift'

Blog options
A cleaner SWRevealViewController implementation using Swift extensions

A cleaner SWRevealViewController implementation using Swift extensions

Extensions allow us to extend the functionality of the native Swift language with our own functionality.

I'd like to provide a real world example where extending a specific type really reduces clutter in my applications. I often use the popular SWRevealViewController library to add a neat sidebar menu to my applications.

details
Heres how to create a Pie Chart using ios-charts in Swift 3!

Heres how to create a Pie Chart using ios-charts in Swift 3!

In this tutorial we see how to build a Pie Chart using Daniel Cohen Gindi's ios Charts and Swift 3.

details
How to create a Combined Bar and Line chart using ios-charts

How to create a Combined Bar and Line chart using ios-charts

This tutorial is part of a series on iso-charts, if you haven't looked over the introduction I'd advise doing so before continuing. In this tutorial we'll be making a combined chart using iOS-charts.

details
Function Value Types & Closure Syntax

Function Value Types & Closure Syntax

In this article we discuss function value types a closure syntax in Swift. We see how we can pass functions into other functions and how we can clean up our syntax with associatedType.

details
Create your own state machine with Swift's versatile Enum type

Create your own state machine with Swift's versatile Enum type

States machines have been pretty handy to me lately, so I wanted to share my states machine implementation which Swifts versatile enum type. States machines allow us to step through a set number of states infinitely.

details
Mastering Swift 2 Now Available On PacktPub!

Mastering Swift 2 Now Available On PacktPub!

My new course Mastering Swift 2 is now available on PacktPub! Covering Functional Concepts, Concurrency, Algorithms and more!

details

How to create beautiful iOS-charts by example

Lets make some beautiful charts. ios-charts is an outstanding charting library that was originally written for Android by Philip Jahoda and was ported to iOS by Daniel Cohen Gindi.

details