Tag: ios9
-
Tables and Scroll Views in WatchOS2
One of the most powerful and important controls on both wearable and mobile devices are table views. Table views come in two flavors: static and dynamic. Dynamic table views read data from a collection type and displays it. Static tables allow for a vertical scroll view with a set of controls. Static table views are…
-
How to Use Watch Timers and NSTimers in WatchOS2 and Swift
There’s a legacy from WatchOS1 which is not only frustrating but deceptive. While one would think that a watch would have easy to use built in timers, that is far from the case. WatchOS2 changed this situation slightly, but still makes timekeeping not as easy as one would think. There is a timer in WatchKit,…
-
Swift Swift: Using UIWebViews in Swift
[Updated to Swift2.0/iOS9 — 10/17/15 SJL] There are times we need formatted content. There are also times we need to access content on the web. The UIWebView is a very useful view for both. In this week’s lesson we’ll explore how to use this view in a variety of applications. One warning: Since this is…