These are chat archives for codefellows/sea-c24-iOS-F2

12th
Nov 2014
Kevin Pham
@kpham13
Nov 12 2014 00:03
The tutorial was done in an earlier version of Swift (like when it was in beta), so things may break often. Change the bang into ? and see if it works. The bang force unwraps, and the ? is for optionals.
codeCaster
@EricMentele
Nov 12 2014 03:53
Anyone here have a sub to Sata cable I can borrow from you tomorrow night at class. I'll bring it back on Monday
usb to Sata
Scott Kendall
@dskendall
Nov 12 2014 17:31
@kpham13 thanks for the help. changing it to ? didn't work... probably best for me to find a more up-to-date tutorial so I can get it to work.
Kevin Pham
@kpham13
Nov 12 2014 18:46
@dskendall I've done the tutorial before as well. I just updated my code, so that it works with the latest version of Xcode (6.1). Check out the link: https://github.com/kpham13/candy-search
Scott Kendall
@dskendall
Nov 12 2014 19:41
@kpham13 thanks... that fixed things. (changes I made were to import UIKit into the candy.swift file, the self. in the dequeue code, and removing the optional
Kevin Pham
@kpham13
Nov 12 2014 21:03
That self declaration when dequeuing threw me for a loop when I initial did it as well. I had to work with Brad to troubleshoot it. Sometimes when you're working through tutorials and it's not working, try looking through the comments. It might help.
I just updated my code again. The prepareForSegue method needed to be changed when I updated it to work with Xcode 6.1.