Posted on September 26, 2016
by Steven Lipton
Leave a Comment
There’s been a major change to Swift 3.0 That many people might find a little disturbing in code, and others may have no idea what it is. In one sense that’s the idea. Apple changed AnyObject to Any in Swift 3.0. This three-letter word is… Continue Reading “What Do you do with Any?”
Posted on May 23, 2016
by Steven Lipton
30 Comments
The power behind all computing is data. We collect data, process data, present data and most importantly store data. Without storage, the others are meaningless. In a live app, we can store our data in collection types such as dictionaries and arrays. But that… Continue Reading “Reading and Writing Text and CSV files in Swift”
Category: Swift ProgrammingTags: bundle, catch, contentsOfFile, do, mainbundle, Optional chaining, pathforresource, Programming, read text files, String:contentsoffile:, swift, throws, try:, write text files
Posted on August 26, 2015
by Steven Lipton
Leave a Comment
In the last lesson we created a multi-row table. However, we can only view the table, not select from the table. Multi-row tables provide some challenges with selection. Along the way, we’ll make a new interface to display selected information, using a technique we… Continue Reading “Swift WatchKit: Selecting With Multiple Rows in Apple Watch”
Category: ios8, iOS9, Swift, Swift Programming, WatchKitTags: Apple Watch, apps, context, dictionary, index, Programming, row, select row at index, select rows, selection, swift, table, table:didSelectRowAtIndex:, Watchkit, WatchOS
Posted on August 20, 2015
by Steven Lipton
3 Comments
Some tables are boring. In our multi-part look at the table view in Apple Watch, We’ve looked at tables with only one kind of row type. However, tables can be lot more than just one row. We might have a header row, or a… Continue Reading “Swift Watchkit: Headers Footers and More — Multiple Row Types in Apple Watch Tables”
Category: ios8, iOS9, WatchKitTags: Apple swift, Apple Watch, footer, groups, header, multi-row, Programming, row types, rows, rowtypes, setRowTypes, storyboard, sub, subheader, swift, tablerowcontroller, tables, Watchkit, WKTableInterface