O'Reilly logo
  • Luis Ferro thinks this is interesting:

@IBAction func handleAddToHistory(sender: AnyObject) {
  var now = NSDate()
  let dateFormatter = NSDateFormatter()
  dateFormatter.dateFormat = "HH:mm"
  var totalAmount = totalAmountAsFloat()


Cover of Network Programming with Swift: Tools and Techniques to Create iOS and OS X Apps that Network


Code not in monospaced font makes it very hard to read.

Code spaced with empty line between each line also makes it hard to read (as code becomes too long).

Code should also be colour syntax marked.