Today Apple announced watchOS, delivering a new native SDK for developers at WWDC 2015, a new version of Mac OS X known as OS X El Capitan. Mac OS X El Capitan Shaking the mouse makes the cursor appear larger to make it easier to find. Safari now includes “pinning” of tabs, which leaves permanent…
Search Results for: func
Open Source Swift – A Look At The Top Swift Repositories
Github, the most popular open source repository for open source software, offers a feature that let’s us view repositories by language. In this post, I want to dissect some of the most popular Swift repositories as of June 5th, 2015. So, let’s kick it off with the most starred Swift repository, Alamofire. Alamofire Alamofire is…
Local Notifications in iOS 10 with Swift (Part 1)
This post has been updated for compatibility with XCode 8 and iOS 10 Local notifications are a simple way to display information to your user even when your app is in the background. They allow you to display an alert, play a sound or badge your app’s icon. Local notifications can be triggered at a scheduled time…
Local Notifications in iOS 9+ with Swift (Part 2)
This post has been updated for compatibility with XCode 8 and iOS 10 In part 1 of this series, we created a simple to-do list application that used local notifications to alert users when to-do items were overdue. This time, we’re going to build on that the project by enabling application icon badges to display the…
Fun with CAShapeLayer
CAShapeLayer is a specialized subclass of CALayer that draws itself using the shape you define via the path property. path is an instance of CGPath. We could leverage the convenient UIBezierPath APIs to create a path, and then retrieve the CGPath from it. Besides all the animatable properties inherited from CALayer, there are other animatable…
Swift 1.2 and Xcode 6 Beta 2 – The best update yet
The big news in the Swift community is the release of Swift 1.2, featuring some awesome features. Apple wrote about that a bit here, this was before they released Xcode 6.3 Beta 2, which came out today. But it contains most of the major language changes. Xcode 6.3 Beta 2 First of all, Xcode itself…
Core Animation Swift Tutorial – Animatable Properties
This tutorial series requires a basic understanding of UIView hierarchy. If you are new to iOS development, you might want to begin with Developing iOS Apps Using Swift first. When you first hear about Core Animation, you might think it is all about animation. However, animation is only a part of this framework. Core Animation…
Core Data Migrations Swift Tutorial
In this post we’re going to discuss migrations in Core Data. This is part three of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. While I think you can benefit strictly from reading this post, it may be easier to follow along if you go back…
Write for Us!
Want to be part of our team, contributing to our tutorials or videos? We would love to have you join the team. We are currently looking to add people to the writing team. We’re also open to people who want to work with video tutorials. Why Join As A Writer? Here, you’ll be writing tutorials…
Core Data in Swift Tutorial (Part 3)
This post compatible with Xcode 6.3 Beta, Updated on February 16, 2014 This is part three of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. If you haven’t read part one yet, read that first. If you really want to get your feet wet, my Swift…