by

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
    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.
    Kevin Pham
    @kpham13
    say what? I renege on my offer...
    j/k
    John Leonard
    @cwnidog
    Now, I got it because I was in a coding bootcamp.
    Clint Akins
    @ClintAkins
    Here's a few simple Watchkit tutorials for those interested - http://natashatherobot.com/
    Ryan Christensen
    @randhyllcho
    why won't anything auto complete? Xcode was auto completing like a champ up until yesterday. Not sure if I changed a setting but it's driving me nuts... Any quick fixes?
    Kevin Pham
    @kpham13
    Did you get a SourceKit crash?
    Ryan Christensen
    @randhyllcho
    I think I did in another app. I might have in this one but I'm not sure.
    Kevin Pham
    @kpham13
    Try closing all your projects and deleting your derived data. Google it cause it's hard to explain.
    Ryan Christensen
    @randhyllcho
    Ill give it a try. Thanks man.
    Ryan Christensen
    @randhyllcho
    Seemed to work... Took a few tries to get the derived data to actually delete though. Thanks again.
    John Leonard
    @cwnidog
    Hi All, one thing I discovered was that in the example DetailViewController.swift file, the line in viewDidLoad() setting self.firstNameTextField.delegate = self is commented out. It probably shouldn’t be, in my case commenting out meant that when I hit the <Retrurn> on my iPhone, the code didn’t recognize that it had happened and the keyboard stayed in view.
    John Leonard
    @cwnidog
    After all - those fields need a delegate somewhere.
    Andrew Michael Potter
    @AMPotter
    Can I maybe buy someone a coffee in exchange for a little help tomorrow?
    John Leonard
    @cwnidog
    Sorry Andrew, I’m working, but is there anything in particular?
    Andrew Michael Potter
    @AMPotter
    I've got my plist all ready to go, but I'm still trying to switch my cells over to custom cells, and I've got this weird overlap. My original cells are still there, and my custom cells seem to be on top of them when I click on the cells? And the segue to my detail view no longer works.
    I'm sure it's an easy fix. I might just start the tableview over from scratch.
    Sometimes that's easier than converting everything over.
    John Leonard
    @cwnidog
    You’re right on starting back from scratch. I had a similar problem and did the same thing. I think that the storyboad links are kind of fragile sometimes. One thing that you might want to do is set he values in your custom cell to be same as the ones you use in the DetailTableView.
    Andrew Michael Potter
    @AMPotter
    Thanks John, I'll give that a try
    John Leonard
    @cwnidog
    Just to be clear, I meant set them to hold the same data as you put into your DetailTableView, different objects, of course.
    Ryan Christensen
    @randhyllcho
    @AMPotter I'll be down at CodeFellows tomorrow evening probably around 6-ish. I'm not sure how much help I'll be, but I've broken this app three ways from Sunday and have still managed to fix it. I have some layout issues that I can't figure out. Hopefully @kpham13 can help me out with that.
    Andrew Michael Potter
    @AMPotter
    @randhyllcho Awesome! Hopefully I'll have figured it out by then, but I have a habit of breaking things further as I try to fix them, so I'd love a second pair of eyes to check out my code.
    codeCaster
    @EricMentele
    I will be there too around the same time. This last part is rough.
    Kevin Pham
    @kpham13
    What do you guys mean by custom cells? Like nib files? or adding labels/image views to your prototype cells?
    codeCaster
    @EricMentele
    Labels, images, etc added. Have not gone over nibs.
    Kevin Pham
    @kpham13
    If you're not assigning anything to the cell's text or other properties, it should be blank. Make sure you create outlets for the elements you drag into the prototype cell.
    John Leonard
    @cwnidog
    Kevin, a custom cell is just a UITableViewCell that’s had some elements placed on top of it, e.g. text fields and an image. We do assign text and image contents to the elements. And Andrew - breaking things further when you try to fix them is a proud programming tradition.
    Kevin Pham
    @kpham13
    You guys should try to isolate the issue and fix it sometimes rather than starting from scratch. It would get impractical when you start over when you have tons of code. Part of your coding journey should be learning to debug
    :P
    John Leonard
    @cwnidog
    Andrew, my best advice is to make sure that your outlets and IBActions are good and then look for typos. When you’re letting an IDE do autocompletion, it’s very easy to call a method that looks alot like what you intended, but may have a slightly different name or take slightly different parameters.
    Andrew Michael Potter
    @AMPotter

    I haven't deleted everything yet, so I'm definitely gonna try converting instead of restarting first. I'm talking about adding the UIImage for the person's icon photo, and the labels for their name and student/teacher status.

    Like, I got this weird thing going on where my old cells are underneath my new custom cells, which only show up when you click on the cell. And then the label and UIImage just show up on top of the existing text from the old cells.

    John Leonard
    @cwnidog
    Hi Andrew, that makes me wonder - have you got your cell identified as being an instance of teh Custom Class PersonTableViewCell yet instead of a plain UITableViewCell in its Identity Inspector? That might be a source of schizophrenia. As you say, you haven’t made all your changes yet, so you’re in kind of a transition state if you try to run.
    Andrew Michael Potter
    @AMPotter
    I just did that and got all my outlets connected, yeah. Now I'm proofreading my view controller's code to make sure I'm not missing any changes I need to make.
    John Leonard
    @cwnidog
    Cool, just the way to do it. BTW - testing and debugging was what I always got the biggest charge out of. It’s a reall pain in the nether regions, but when you’ve got it beaten, it gives areal sense of accomplishment.
    Andrew Michael Potter
    @AMPotter
    Definitely! I'm getting closer. Having the sample code helps, since I felt like the last class went a bit fast for me.
    But now I'm seeing how things are connecting a bit better.
    John Leonard
    @cwnidog
    Don’t feel strange - they all went a bit fast for me. But I was almost always able to figure it out after reading the slides a second time and paying attention to what I was doing with the sample code. But I remember missing one vital detail on the storyboard and Brad had to show me just what he did. The storyboard doesn’t leave much in the way of tracks.
    Kevin Pham
    @kpham13
    Tuan and I are at Code Fellows if you need help. You gotta find us though!