Navi

1,161 Flips | 3 Magazines | 10 Likes | 3 Following | 9 Followers | @navisingh | Keep up with Navi on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Navi”

Introducing Yams 1.0 - JP Simard - Swift Developer

Norio Nomura and I (ok, honestly mostly Norio 😅) have been building a Swift library for encoding & decoding YAML for the last 18 months and it’s now …

Parsing

Resetting iOS Simulator for UI tests – Paul Ardeleanu’s Blog

One of the major issues we encounter with UI tests in iOS is the simulator’s inability to completely clear its slate between runs. Here is an example.<p>…

iOS

Touch ID and Face ID on iOS · Michael Brown

Introduction<p>Adding support for Touch ID and Face ID to your app is not always completely straightforward, especially given that the documentation …

Information Systems

Snapshot XCUI Testing

This tutorial show you how to use the popular testing library iOSSnapshotTestCase with XCUITests. Feel free to skip ahead if you already know how to …

Software Development

Understanding Type Erasure in Swift

<i>Disclaimer: The code for this post has been taken from an amazing book from</i> <i>Mattt</i> <i>called</i> <i>Flight School Guide to Swift</i><i>.</i><p>In order to understand Type …

JSON

Advanced Swift Debugging for UIKit

<i>At</i> <i>Superhuman</i><i>, we’re building the fastest email experience in the world.</i><p><i>This post describes several techniques to debug closed source libraries such</i> …

Objective-C

Hosting ViewControllers in Cells

Recently, I've been experiencing the iOS equivalent of Leonardo Dicaprio's Inception - putting a collection view inside a collection view. When …

Objective-C

Tips for using Xcode's UI testing solution XCUITest

<b>Fresh install in the simulator</b><p>To make sure that your UI tests start with a fresh install of the app on the simulator you can uninstall the app after …

Command-line

A Guide to XCode UI Test

UITest works differently than the functional testing solutions developers rely on, such as KIF. Here's some clarity into the methodology for using …

XCode

UIColor best practices in Swift - The.Swift.Dev.

Learn what are color models, how to convert hex values to UIColor and back, generate random colors, where to find beautiful palettes.<p>What are color …

Tutorials

Indeterminate Types with Codable in Swift

Time flies. Swift 4.0 was released back in September 2017, and we have been enjoying the Codable protocol for a while. And yet, we still have some …

Messaging

We can connect to a Wi-Fi network on our iPhone using a QR code📱

In iOS 11, Camera app detects QR codes automatically. And, it supports QR codes containing Wi-Fi configuration information. So, <b>we can connect to a</b> …

Tech Trends

Parade

Introduction<p>Communicating to cells inside of UICollectionViews, UITableViews, or UIScrollViews, has always been a challenge. It almost always relies …

iOS Programming

Swift Tool Belt, Part 8: Extending UIButton with Background Color for State

The eighth item in my Swift Tool Belt is an extension for UIButton. This extension adds a bit of functionality that is sorely missing from UIButton, …

iOS Programming

The RawRepresentable Protocol in Swift

<b>The raw value syntax for enums in Swift is “just” a shorthand for conformance to the RawRepresentable protocol. It’s easy to add this manually if you</b> …

DRM

Avoid structs that use closure that capture self

Description<p>It is not advisable to have value types (struct) containing reference types (class). Furthermore, structs that use a closure that captures …

Semantics

Swift 4 Decodable: Beyond The Basics 📦

One of the features that I was looking forward to this year WWDC was Codable, which is just a type alias of the Encodableand Decodableprotocols.<p>I’ve …

Playground driven development in Swift

The need to quickly tweak UI<p>Our mission as mobile developers is to provide the best user experience for the end users, to make life more engaging and …

iOS Programming

BitcoinKit

BitcoinKit implements Bitcoin protocol in Swift. It is an implementation of the Bitcoin SPV protocol written (almost) entirely in …

My Swift Tool Belt (Part 4): Extending UITableViewController

The last post in my Swift Tool Belt series is an extension for UITableViewController. A UITableViewController is a view controller with a table view …

XCode

BeyovaJSON

BeyovaJSON allows any json for Coadable in Swift 4.<p>Installation<p>CocoaPods<p>Carthage<p>Usage<p>Codable<p>Codable is added with Xcode 9, iOS 11 and Swift 4. It is …

How To Secure iOS User Data: The Keychain and Biometrics – Face ID or Touch ID

<i>Update note:</i> This tutorial has been updated for Xcode 9.2, Swift 4, iOS 11 and the iPhone X by Tim Mitra. The original tutorial was also written by …

iOS Programming

Creating a Money Type in Swift

The FinTech space is booming and there is a lot of buzz around development topics. So, I thought would write about how to store money using Swift. We …

Requirements

SwifterSwift is a collection of <b>over 500 native Swift extensions</b>, with handy methods, syntactic sugar, and performance improvements for wide range of …

AdWords

Using Channels for Data Flow in Swift 📻

An alternative to delegation and NotificationCenter<p><i>Originally published on</i> <i>Swift Post</i><i>.</i><p>Apple frameworks use delegation and observer pattern …

Channel implementation

public class Channel<Value> {<p>private class Subscription {<p>weak var object: AnyObject?<p>private let notifyBlock: (Value) -> Void<p>private let queue: …

Protocol composition in Swift and Objective-C

Protocols in Swift and Objective-C are a powerful tool to decouple your code. They allow you to specify a contract between classes that consume them, …

Objective-C

A Flexible Routing Approach in an iOS App

At <i>Rosberry</i> we’ve given up on using storyboards, except the Launch Screen, of course, and configure all layout and transition logic in code. In order …

UIView Auto Layout life cycle

Auto Layout is among the most important topics when it comes to iOS development in general. It is extremely important to understand Auto Layout life …

Writing a Network Layer in Swift: Protocol-Oriented Approach

In this guide we’ll look at how to implement a network layer in pure Swift without any third-party libraries. Lets’ jump straight to it! After …