These are chat archives for devslopes/swiftios9

12th
Nov 2015
tbonesteak
@tbonesteak
Nov 12 2015 00:24
indexPath.Row starts at 0, right?
Felix Barros
@BluePhoenix
Nov 12 2015 00:37
@tbonesteak Yes, I believe it starts at 0.
Mark Price
@spentak
Nov 12 2015 00:37
Yup
tbonesteak
@tbonesteak
Nov 12 2015 00:39
thanks
tbonesteak
@tbonesteak
Nov 12 2015 04:58
help, I'm on lesson 98 and I'm getting this error. I just implemented the Pokemon detail view controller and put in all the code for performing the segue.
2015-11-11 22:50:31.672 pokedex[6091:684411] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<pokedex.PokemonDetailVC 0x7fd544328580> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key collection.'
I've triple checked to make sure there were no typos and that my identifiers were named correctly, so I'm not sure what's wrong.
Tarek
@TarekSalama
Nov 12 2015 13:56
@paulvanwieren Thanks dude. I’ll try it out :)
Mark Price
@spentak
Nov 12 2015 15:05
@tbonesteak looks like your view is not connected to your IBOutlet or you forgot to set your custom class name
JPROFFICIAL
@JPROFFICIAL
Nov 12 2015 19:23
@spentak how would i use a swipe back gesture as type of navigation bar? Like on messaging swiping back from an individual conversation to the entire list. Can't seem to find an answer on google/SO
Mark Price
@spentak
Nov 12 2015 19:24
im not sure what you mean
do you have an example?
JPROFFICIAL
@JPROFFICIAL
Nov 12 2015 19:25
drag from the edge of the screen on (for example) detail VC back to the mainVC. Basically a segue. Slides the original view back into ...view haha
you can do it in iMessage
Maybe Screen Edge Pan Gesture Recognizer?
Mark Price
@spentak
Nov 12 2015 19:27
Yes that is the one
JPROFFICIAL
@JPROFFICIAL
Nov 12 2015 19:27
Thanks!