Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kevin Pham
    @kpham13
    Have a good weekend! I'll be there this Monday, so see y'all there.
    Scott Kendall
    @dskendall
    waiting to feel the awesome after the pain subsides. have a good one.
    John Leonard
    @cwnidog
    Yeah, like most things, when it works right, it’s golden. When I ran a SW development team in the ‘90s and IDEs were first coming out, I wouldn’t let my team use them. Not because I was a hardass, but because when things broke, I wanted to know how to fix them. Much easier if you actually wrote the stuff.
    Ryan Christensen
    @randhyllcho
    I can't figure out how to store the image from the camera to a person. The image shows up in the imageView but if I go back to my tableView and choose the same person the photo has reverted back to the default image.
    John Leonard
    @cwnidog
    Yup. I think that for now, that’s all we’ve told it to do. Non-volatile memory is on the agenda for next week, IIRC.
    Kevin Pham
    @kpham13
    Did you create a UIImage property for your Person class? Once you take that picture you need to set that property. Or are you talking about data persistence?
    John Leonard
    @cwnidog
    I was reading it as persistence.
    Ryan Christensen
    @randhyllcho
    I created a var image = UIImage? in my person class. I don't know what data persistence means... I'm looking it up now.
    John Leonard
    @cwnidog
    Randy, persistance mean that data stays when the app is turned off - so when you turn it back on it’s like you never left. In effect, once you set a student’s image, it stays set until you change it. Until the end of time, or you lose your iPhone, whichever comes first. I think it should be var image: UIImage? in your person class declaration, colon instead of equals, you’re just defining, not assigning, in the declaration. The assignment should be in your imagePickerController().
    Ryan Christensen
    @randhyllcho
    Good call, I'll fire up the laptop and check how I have it set.
    Ryan Christensen
    @randhyllcho
    I have it set up as var image: UIImage? So that isn't the problem then...
    John Leonard
    @cwnidog
    Randy, there’s not really a problem. Losing the image when you move back to the tableView is because of the lack of persistence. The lack of persistence is because we haven’t added any code that stores the image in persistent storage. My code works exactly the same way as you describe yours. I take a photo, it shows in the viewImage but when I go back to tableImage, I lose it. I suspect we’re about to learn about NSUserDefaults next week. That will allow for persistent storage.
    John Leonard
    @cwnidog
    Ooops, sorry - make “Randy” “Ryan” instead. I assumed too much.
    Chantel Frizzell
    @FrizzellC
    I am not getting any errors on the lines of my code, but the following error keeps popping up: initializer requirement 'init(coder:)' can only be satisfied by a required initializer in non-final class 'DetailViewController' Where do I fix this ?
    Chantel Frizzell
    @FrizzellC
    Never mind. Got it working
    Ryan Christensen
    @randhyllcho
    Does anyone remember how to return an edited name back to the tableView?
    codeCaster
    @EricMentele
    Not I. That was something Brian figured out how to do.
    Brian Ledbetter
    @BrianL3
    just pass the Person as a reference from ViewController when in segue. Any changes made to the person being edited will then be reflected in the table. Make sure you redraw the table, or the changes won't be reflected.
    Ryan Christensen
    @randhyllcho
    The part that I can't remember is how to redraw the table.
    bradleypj823
    @bradleypj823
    the method you are looking for is called reloadData
    search for it in the documentation
    Ryan Christensen
    @randhyllcho
    Awesome. Thanks all.
    dakoch
    @dakoch
    So, if there's a down side to becoming a software developer, it's the dreaded 'CODING' interview. I've managed to avoid them so far, but I think my luck is about to run out and if you're reading this, yours may have too. So,.. I'm wondering if anyone would be interested in joining forces to divide and concur the 150 questions covered in the book, "Cracking the Coding Interview" by Gayle Laakmann McDowell.
    dakoch
    @dakoch
    Take a look at the supporting website, http://www.CrackingTheCodingInterview.com and let me know if you're in. This could be a great way to get experience talking and writing on the wall in front of people. Not to mention, if you can explain it to others, you probably understand it well enough to get the job!
    Any questions? Any suggestions?
    dakoch
    @dakoch
    Commitment? 5 mins per question, in front of some friendly faces. Plus the time it takes to prepare.
    To be continued..... My email: dkoch7591@gmail.com
    bradleypj823
    @bradleypj823
    i posted the slides, sample code, and homework at like 7:30 am this morning
    sorry for the delay!
    Brian Ledbetter
    @BrianL3
    a post about auto-generating documentation from your docs using some simple markup. this post has links to Apple's official documentation guidelines as well.
    @param [param] [Description]: Describes what value should be passed for this parameter
    @return [Description]: Describes the return value of the method
    @see [selector]: Provide "see also" reference to related method
    @warning [description]: Call out exceptional or potentially dangerous behavior
    stuff like that ^^
    sherwoodgithub
    @sherwoodgithub
    Brilliant, thanks Brian
    Brian Ledbetter
    @BrianL3
    😄
    damn, Gitter doesn't accept emoji markup
    Kevin Pham
    @kpham13
    Is F2 over?
    John Leonard
    @cwnidog
    Kevin, last homework due Tuesday, but yup.
    bradleypj823
    @bradleypj823
    just posted the homework a few minutes ago, and updated the repo with sample code and the slides
    John Leonard
    @cwnidog
    I just got it a few minutes ago Brad, were there any changes from when you first posted? Or, is this just a notice that it’s there?
    bradleypj823
    @bradleypj823
    just a notice
    :)
    John Leonard
    @cwnidog
    Cool. Thanks.
    Kevin Pham
    @kpham13
    To make up for being a bad TA, I'll be at Code Fellows until 9pm on Monday, November 24 if anyone needs help. Give me a heads up in chat if you are, so you won't miss me if I step out for food.
    bradleypj823
    @bradleypj823
    kevin rocks!!
    Kevin Pham
    @kpham13
    Do I get a t-shirt? I heard TAs get a t-shirt lol
    bradleypj823
    @bradleypj823
    we ran out of t-shirts yesterday, sorry!
    John Leonard
    @cwnidog
    I got mine in August, along with a water bottle, notebook, and pen.