Tag: Apple swift
-
Introducing Table Views in Swift 3
Table views on any mobile platform are the workhorse of any application. To be a good developer you need to make table views easily. Tables in iOS use the UITableView class to do so. This is a very powerful class with many features to make the tables you see in applications like Facebook, Instagram and…
-
Using Attributed Strings in Swift 3.0
For most uses, a basic string works well. Normal strings have no character or paragraph formatting. They rely on the properties of the control to format them. The system only formats the full string, not parts of it. For formatting a part of a string, you need an attributed string which specifies parts of the…
-
Using Segues and Delegates for Navigation Controllers in Swift 4.0
[Updated 2/13/2018 to Xcode 9 / Swift 4.0] It should be one of the easiest things we do, and yet for many it is the most confusing. Getting data from one view controller to another as you switch views never seems easy. Segues might be slightly difficult, but delegates to get the information back have…
-
Swift WatchKit: Adding Text, Dictation, and Emoji Input to Apple Watch
Sometimes Apple gives away stuff you can get very happy about — like a chance to use voice dictation. If you have had a chance to play with an Apple Watch, the watch has a simple but great way to deal with text messages. If you get a text message, you can hit reply and…
-
6 Themes to Expect at Apple’s WWDC 2015 No One is Talking About.
Once a year, Apple developers get together in San Francisco. Some lucky people in person, most through on-line connections. The event is the World Wide Developer’s Confrence (WWDC), the event for those people and companies developing applications for OSX and iOS. As a developer, I look froward to this event every year and have a…
-
Swift Swift: Using NSTimer to Make a Timer or Alarm
With the launch of the Apple Watch it’s time for timers in iOS and WatchKit. Learning to use timers is a very important skill for most developers. There are many places we need to schedule regular intervals of time to do things. In my WatchKit series I’m writing a workout interval timer which tells the…