stephy/intlChat — pull request #6 by osabina (2014-07-28 22:41:21+00:00)
Title: more updates

Probably no way we get all of this done before tomorrow night, but I will give it the old college try.

One thing in here I accidentally added to the commit is it sending you back to login instead of straight to the chat view (in AppDelegate.m), but I left your changes commented out, so it's easy for you to switch back.

I should be able to get everything wired up (I hope) by tonight. Then need to decide if I should try and make the translate API actually work or instead work on making one of the views extra polished.

Missing workflow:

- Adding friends
- Starting a chat

I partially hacked a way of getting friends by changing commented out code in the MainViewController to make it display everyone and make didSelected... add them as friends instead of display profile. I will probably add a button to the friend cell or profile view to start a chat unless you have a better idea of how to stub in that functionality. We just need that data in there in order to demo it, so it's ok if it requires some manual setup ahead of time.

You may have also noticed that I manually added photo URLs to the DB so we can display them. They are not as awesomely perfect as the one you grabbed since I am just getting them from google image search. If we want to make pretty ones, we can edit and upload to imagur and use URLs there.

Speaking of which, I never gave you access to the parse data - looks like I can invite a collaborator but you have to have an account at parse.com first. I just linked it to my github account. If you create one and let me know what it is I'll invite you.

I also realized there's some crap in here I was experimenting for the user model when I was going to use protocols...I'll clean that up later...code works though, it's just cruft. Figuring out how best to do that ate up a lot of time, I *should* be able to do the rest much more quickly now.