delba/Log
Log - A Swift logger with customizable themes and formatters
Log - A Swift logger with customizable themes and formatters
In this UIScrollView tutorial you'll learn how to zoom large images, keep content centred while zooming, page content, and use Auto Layout with UIScrollView
Why:
Because nothing holds more truth than pure code.
Xibs and storyboards are heavy, hard to maintain, hard to merge.
They split the view concept into 2 separate files making debugging a nightmare.
There must be a better way.
How:
By creating a tool that makes Auto layout code finally readable by a human being.
By coupling it with live code injection such as injectionForXcode we can design views in real time.
View layout becomes fun, concise, maintainable and dare I say, beautiful.
Getting Started
Create a new playground in Xcode to follow along by selecting File\New\Playground… and name it Shapes and set the platform as OS X. Click Next to choose a location to save it, then Create to save the file. Clear the file completely and then enter the following:
In this SQLite tutorial, you'll learn how to interact with the SQLite C APIs directly from Swift, before moving on to create you're own SQLite Swift wrapper
In this Alamofire tutorial, you'll learn how to build an iOS app with Swift that sends & receives data to a remote API via HTTP using the Alamofire library
circle-menu - CircleMenu is a simple, elegant menu with a circular layout.
In this tutorial a route is drawn between two well-known locations inside
New York. The route is drawn using a polyline as an overlay view on top of
the Map.This tutorial is made with Xcode 7.2 and built for iOS 9.2
Every iOS programmer has to debug their apps once in a while. Unless you’re some kind of crazy coding ninja, you know that desperate feeling when you have that desperate feeling when you have is to look for a bug in your code for hours and hours until you realize you made a simple syntax error. Or even worse, never finding the bugs. No matter if you are new to programming or have developed multiple apps, routinely writing unit tests will make your code more reliable, safer, and easier to debug!
QuickActions - Swift wrapper for iOS Home Screen Quick Actions (App Icon Shortcuts)
NSUserDefaults is a hierarchical persistent interprocess key-value store, optimized for storing user settings.
A light-weight UITextView subclass that automatically grows and shrinks and can be used in a compose bar similar to the Messages app.
RSKGrowingTextView has several advantages:
1) it is entirely written in Swift, but compatible with iOS 7;
2) it is fully supported by Interface Builder (live rendering);
3) it supports both the automatic and manual layout;
4) it fixes Scroll-to-Typing Bug when UITextView still not scrolling to cursor / caret after new line;
5) it has a placeholder;
6) you can use your own animation of the height change.
iOS apps exist in millions out there, and most of them communicate with servers to exchange data. In their majority, the server implements and provides RESTful APIs that apps can use for the communication. When an app needs to send data to the server, or fetch from it, it makes the proper request and after a while the data has been returned. That happens several times during the app runtime period.
In this article I share my new CocoaPod library to fade UIViews in and out! It's called Fadeable, and is implemented as a Swift protocol extension.
A frequent complaint with Auto Layout is how verbose and unreadable the syntax is for programmatically creating constraints
FileBrowser - Finder-style iOS file browser written in Swift
There are two common ways of adding new features to UIViews: composition and subclassing. Today I'd like to focus on a third, less known, but often a more fitting approach: extensions.
Learn how to download resources in your tvOS apps upon demand; especially useful if you are trying to make your app fit within the 200MB limit!
In this tvOS top shelf tutorial, you’ll learn how to add both static and interactive content into the top shelf, and give your future tvOS blockbuster app a decisive edge over other apps in the marketplace!