Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ profile
*.moved-aside
DerivedData
.idea/

Pods/
8 changes: 8 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

inhibit_all_warnings!

pod 'socket.IO', '0.5.2'
pod 'JSQMessagesViewController', '7.1.0'
19 changes: 19 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PODS:
- JSQMessagesViewController (7.1.0):
- JSQSystemSoundPlayer (~> 2.0.1)
- JSQSystemSoundPlayer (2.0.1)
- socket.IO (0.5.2):
- SocketRocket (~> 0.2)
- SocketRocket (0.4)

DEPENDENCIES:
- JSQMessagesViewController (= 7.1.0)
- socket.IO (= 0.5.2)

SPEC CHECKSUMS:
JSQMessagesViewController: ca11f86fa68ca70835f05e169df9244147c1dc40
JSQSystemSoundPlayer: c5850e77a4363ffd374cd851154b9af93264ed8d
socket.IO: eaaaea33481d8a81d8f78e331f0c72ba44758036
SocketRocket: 01443933b7bc362621325f4607b80b4286a99707

COCOAPODS: 0.37.2
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions PomeloChat/Pomelo/PomeloProtocol.m → Pomelo/PomeloProtocol.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ + (NSString *)encodeWithId:(NSInteger)id andRoute:(NSString *)route andBody:(NSS
}

NSString *msg = [NSString stringWithFormat:@"%C%C%C%C%C%@%@",
(id >> 24) & 0xFF,
(id >> 16) & 0xFF,
(id >> 8) & 0xFF,
id & 0xFF,
[route length],
(unichar)((id >> 24) & 0xFF),
(unichar)((id >> 16) & 0xFF),
(unichar)((id >> 8) & 0xFF),
(unichar)(id & 0xFF),
(unichar)[route length],
route,
body];

Expand Down
171 changes: 79 additions & 92 deletions PomeloChat.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions PomeloChat/ChatViewController.h

This file was deleted.

99 changes: 0 additions & 99 deletions PomeloChat/ChatViewController.m

This file was deleted.

Loading