22
22
22

Learn how to extend operators for new types or create entirely new operators in this new Swift tutorial!

Another new feature of Swift that you should know and love: operator overloading!

This is a fancy way of saying you can make operators like +, -, /, or * to work with any type you’d like! You can even define your own operators if you’re feeling especially creative.

Read More »

22
22

One of the multitasking features introduced with iOS 7 was background fetches. Selene is an open source library from the LinkedIn engineering team providing a very easy way to scheduling background fetches.

Selene automatically determines which background fetches to execute based on the priority, average response time, and elapsed time since last execution, with a 30 second timeout for tasks. This way only the most important tasks are executed preserving performance, bandwidth, and battery.

Read More »

22

Curious how Apple created their interactive Swift playgrounds, which included embedded code and documentation?

Matt Mathias of Big Nerd Ranch provides some insight:

In this post, I will show you how to peek inside the .playground file to gain a sense of how a Playground is put together. Glancing at these internals will help you to create your own interactive document.

Read More »

22

Shuichi Tsutsumi, the same developer who released the iOS 7 sampler has now released the iOS 8 sampler which you can expect to grow and be updated over time, but already includes many different examples.

Here’s an explanation for most of the code samples currently included:

  • Audio Effects – distortion and delay
  • New core image filter previews
  • Custom Core Image filters using CIKernel
  • A Basic Metal Example showing how to render a set of cubes
  • Metal uniform streaming example
  • Rendering 2D images on a 3D scene with SceneKit
  • Example showing how to fetch all HealthKit data available
  • Invoking Touch ID using local authentication
  • Visual Effects – UIBlur Effect and UIVibrancyEffect
  • Browsing with WKWebView
  • Displaying action sheets and alerts with UIAlertController
  • Local Notifications with UIUSerNotificationSettings
  • Using the pedometer API
  • Playing media with AVKit
  • Creating histograms from images
  • Generating Aztec Code and 128 barcodes
  • An example showing off newly available fonts
  • Using UIPopoverControllerPesenter

Read More »

22

Here’s nice tutorial from Yari that explains how to use the new feature in iOS 6’s interface builder that allows you to preview and update your custom components.

The key to using this new feature are the IBDesignable and IBInspectable keywords, and in order to get things working you’ll need to implement your custom component within a framework.

In the tutorial Yari covers each step in creating a simple custom component that can be viewed, and adjusted directly within interface builder.

Read More »

18

SCRecorder – iOS Camera Library Supporting Core Image Video Filters And A Tool For Customizing The Filters by rFlex Simon Corsin.

Some of the features of SCRecorder include: the ability to record video in multiple segments so you can easily create Vine type videos if desired, easy removal of undesired video segments, video filters using Core Image, merging and exporting videos.

Read More »

18