+ All Categories

Ohoh

Date post: 17-Aug-2015
Category:
Upload: azukisoft-pte-ltd
View: 35 times
Download: 1 times
Share this document with a friend
Popular Tags:
21
OHOH
Transcript
Page 1: Ohoh

OHOH

Page 2: Ohoh

About Me

• iOS developer• Runs Azukisoft Pte Ltd• Author of

http://www.amazon.com/Objective-C-Memory-Management-Essentials-Gibson-ebook/dp/B00V8BMX7I/

Page 3: Ohoh

What is OHOH?

• iOS social networking app• Like Meetup.com• But for smaller groups

Page 4: Ohoh
Page 5: Ohoh

Functionality

• Private chats• Group chats• Likes• Comments• Push notifications

Page 6: Ohoh

Technology Stack

• Objective-C• Cocoapods• AFNetworking• Parse for Push Notification• Firebase/Layer

Page 7: Ohoh

Objective-C

•Why use Objective-C?• Last year Swift was not yet

mature• Legacy code was still in Obj-C• No point switching to Swift

Page 8: Ohoh
Page 9: Ohoh

CocoaPods

• Has a huge library of supported components• But tends to break when new

version of Xcode is released• Am looking into alternatives e.g

Carthage

Page 10: Ohoh
Page 11: Ohoh

Parse

• Only for push notifications• Easy to set up and test• Tried Urban Airship, but had

problem with missing push notifications• Parse has not failed us. YET!!!

Page 12: Ohoh

Private Chat/Group Chat

• Firebase for Chat• Firebase good for real time use

cases• Chat is 1 of them• But Firebase is not dedicated for

chat

Page 13: Ohoh

Private Chat/Group Chat

• So additional chat functionalities such as image upload is not supported• It was a hassle managing data

from between our DB and Firebase

Page 14: Ohoh
Page 15: Ohoh

Private Chat/Group Chat

• Switched to Layer• But as with all cutting edge tech• Code examples do not work out

of the box• 50% of their sample code have to

be modified

Page 16: Ohoh

Private Chat/Group Chat

• Layer is developed purely to create chat apps• So image upload, video upload is

all supported• But can be a bit slow at time

Page 17: Ohoh
Page 18: Ohoh

AFNetworking

• Most popular iOS networking library we have seen so far• Widely used• Widely supported• But still have issues

Page 19: Ohoh

AFNetworking

• Issue due to Apple’s NSURL implementation• Causes operation time outs even if

network is ok• https://github.com/AFNetworking/

AFNetworking/issues/2314

Page 20: Ohoh

AFNetworking

• Also sometimes we have multiple alertviews about network errors• Anyone encountered such errors

before?

Page 21: Ohoh

Backend

• Typical LAMP stack• PHP as fast to get going• MySQL as it is the standard• Running on Linode• Ubuntu 14.04


Recommended