Project presentations.
No lecture due to new year’s eve.
Project progress evaluation.
Topics:
Core location, MapKit (by Gun Makinabakan)
Code:
Location Experiment
No lecture
Topics:
Animation (by Gun Makinabakan)
Code:
Picnic Animation
Topics:
Closures, Grand Central Dispatch, NSTimer, NSRunLoop, Collections (by Gun Makinabakan)
Tasks:
Code:
Doviz app with GCD, search, and sort
Topics:
Persistence using NSUserDefaults, Gesture recognizers
Tasks:
Code:
UserDefaults Experiment
TicTacToe with Swipe Gesture
Topics:
UICollectionView, JSON, refresh control.
Tasks:
Code:
Foreign Currency Exchange Rates
Faculty Facebook with Collection View
Topics:
Segues, multiple MVCs, navigation.
Tasks:
Code:
SegueExperiment
Faculty Facebook with Navigation
No lecture due to Republic’s Day.
Note:
After upgrading to Xcode 6.1, the code I published
gives compilation errors. (The API is actively
updated.) Do the following modifications to fix the projects:
Faculty Facebook with UITableView:
cell.textLabel!
to cell.textLabel
. The textLabel
property of UITableViewCell
is no longer optional.Change the the line that instantiates a UIImage
and assigns to
facultyMemberImage.image
to the following:
if let nsurl = NSURL(string: url) {
if let nsdata = NSData(contentsOfURL: nsurl) {
facultyMemberImage.image = UIImage(data: nsdata)
}
}
This is needed because
NSURL
and NSData
initializers are now Failable Initializers.
Faculty Facebook with UIPickerView:
Do the second item above.
Topics:
Protocols, delegate, data source, UIPickerView, UIImage from NSURL,
UITableView, reusing table cells
Tasks:
Code:
UIPickerViewExperiment
Faculty Facebook with UIPickerView
Faculty Facebook with UITableView
Topic:
Auto Layout (by Gun Makinabakan)
Tasks:
Topics:
MVC, Outlet collections, tag property, private functions
Tasks:
Code:
TicTacToe app
Topics:
Tasks:
Code:
SimpleDie app
Topics:
Intro to the Mac environment and the Swift language
Tasks: