Khanlou | Request Behaviors
When firing network requests, there are often many side effects that need to take place. Side effects are poison for testability, however, and may vary from app to app and request to request. If we can create a system where we can create and compose these side effects together, we can increase the testability and other factors
Forced Unwrapping URLs — Erica Sadun
First, I considered extending URL to offer a safer non-optional initializer.
Use Context Menu with Table View Tutorial
A long-press gesture displays a Context Menu, which gives the user the
ability to use cut/copy/paste operations on the selected object. By
default, the Context Menu is disabled on a Table View. In this tutorial the
context menu will be enabled to copy the text of the Table View Cell, this
text can then be pasted into a Text Field. This tutorial is made with Xcode
8.1 and built for iOS 10.
PieCharts – An Open Source Swift Library For Creating Beautiful Animated And Interactive Pie Charts
PieCharts is an open source Swift 3.0 based library for creating beautiful animated and interactive pie charts from Ivan Schütz. PieCharts has a number of
IGListKit — Migrating an UITableView to IGListCollectionView
IGListKit is a data-driven framework release by Instagram that helps us to create fast and flexible UICollectionViews. Actualy, it give many other features like animations and linear complexity diff…
olddonkey/ODUIThreadGuard
ODUIThreadGuard - A guard to help you check if you make UI changes not in main thread
GDPerformanceView-Swift – A Swift Library For Displaying Frame Rate, CPU Usage And More
GDPerformanceView-Swift from Gavrilov Daniil is an open source component that allows you to display performance details of your app within the status bar. With
Swift documentation, Part 2
I previously wrote about writing great documentation in Swift. If you haven’t read that post, head there now to catch up. This post is a follow-up with updates for GitHub’s new way to publish docs. This is how I’ve setup all of my Swift open source projects.
Breaking Down Type Erasure in Swift
As a fan of strongly typed programming languages, I love relying on the type system to catch common mistakes and typos early. Occasionally though we want t
Sharaku for iOS - Cocoa Controls
Sharaku is an image filtering library like Instagram. Sharaku is the name of Japanese Ukiyoe painter. This library is using CIFilter.
KRActivityIndicatorView for macOS - Cocoa Controls
An activity indicator view for OSX written in Swift,
Create SiriKit Extensions in iOS 10
What You'll Be CreatingIntroduction
Since Siri was introduced back in 2011, iOS developers have been asking for the possibility to integrate third-party apps with it. With the release of iO
DMSwipeCards – Swift Based UI Component For Creating A Tinder-Like Swipe To Choose Interface
DMSwipeCards is an open source Swift based UI component from Dylan Marriott allowing you to easily implement a Tinder style swipe to choose
Three Quick Tips
Three quick tips before the new year.
Stop Using &&
Everyone else has probably arrived at this already, but Swift 3's
rejiggering of the where clause affects more than guard's syntax. It also
eliminates the need for && operators in ifs:
// Equivalent in Swift 3:
if this && that { ... }
if this, that { ... }
BFKit – An Extensive Swift Helper Library That Helps Foundation, UIKit Programming And More
BFKit-Swift is a Swift helper library submitted by Fabrizio Brancati for developing apps faster. BFKit-Swift adds a number of helpers for common functionality
JKSteppedProgressBar for iOS - Cocoa Controls
Stepped ProgressBar for iOS
LocalizationKit for iOS - Cocoa Controls
Ultimate realtime localization translation system. Create and update texts from localization.com without needing to recompile or redeploy. Cocapod for iOS devices (iPad, iPhone, iPod Touch etc.) A complete web portal to localize your languages and texts.
Unsafe Swift: Using Pointers And Interacting With C
In this tutorial you will learn how to use unsafe Swift to directly access memory through a variety of pointer types.
Traits – An iOS Library For Real-Time Design And Behavior Modification Without Recompiling
Traits from Krzysztof Zablocki is an open source library allowing you to modify the design and behavior of a native iOS app in real time from Xcode. With
Mastering Swift: Enumerations, Closures, Generics, Protocols and High Order Functions
Welcome to the “Mastering Swift” tutorial series! This tutorial is a bit different from the ones usually featured on AppCoda, because instead of teaching you about the iOS APIs or a specific iOS topic, this tutorial will teach you about Swift, Apple’s new programming language for developing apps. We will be exploring some tips, tricks, and techniques that you can follow to make your Swift code even Swiftier. Swift was designed with safety, clarity, and stability in mind, and we will use several of Swift’s key features to achieve these goals.
Custom Controls: button action with confirmation through 3D Touch - Think & Build
Tutorials about OS X, iOS and web development!