> On 2019 Feb 17, at 18:25, Chris Larsen <lars...@gmail.com> wrote:
>
> I've made several attempts to learn Swift. The main sticking point is that when I buy a book to learn Swift the book is out of date when I actually get around to actually learning Swift. I think the book I'm trying to use at the moment was published in 2015 so it's hopelessly out of date.
Indeed, you should not buy a book to learn Swift.
> Do any of you have a recommendation for a tutorial on learning the current version of Swift?
Start reading “The Swift Programming Language” by author Apple Computer. It is a free download from the “Book Store” in the “Books” app on your Mac. There are editions for all Swift versions, maybe even one for Swift 5 which is in beta. It’s more of a textbook than a tutorial, but Chris since you are a math guy I think this would suit you perfectly.
> The "About Xcode" window says I'm using "Version 10.1 (10B61)". I'm not sure what version of Swift that translates into but I updated my version of Xcode in the last week or 10 days so it's pretty current.
A new Swift project created in Xcode 10.1 will default to Swift 4.2.
if taskMgr.tasks[indexPath.row].isDone?.boolValue ?? false {
taskMgr.tasks[indexPath.row].isDone = nil
} else {
taskMgr.tasks[indexPath.row].isDone = true
}
--
You received this message because you are subscribed to the Google Groups "CocoaHeads - Silicon Valley" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocoaheads---silico...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"Love many things, for therein lies the true strength, and whosoever loves much performs much, and can accomplish much, and what is done in love is done well." ~Vincent Van Gogh
"Better than 1000 days of diligent study is one day with a great teacher" ~Japanese proverb