https://github.com/timoliver/rchat
https://github.com/timoliver/rchat
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/timoliver/rchat
- Owner: TimOliver
- Created: 2017-02-08T20:39:07.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T12:15:44.000Z (over 9 years ago)
- Last Synced: 2025-03-21T10:09:49.009Z (over 1 year ago)
- Language: Swift
- Size: 195 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## RChat, a mobile chat powered by RealmChat
Special thanks to Chatto project for doing incredible work on the UI side of things
## Requirements to Build
You'll need **cococapods**
Install cocoapods with `$ sudo gem install cocoapods`
1. clone this repository `git clone https://github.com/mbalex99/rchat`
2. go to the directory `$ cd rchat`
3. run `pod install`
4. open the workspace `open RChat.xcworkspace`
## Pointing to the Correct Server
Go to the file `RChatConstants.swift` and replace **both** the urls for:
```swift
static var objectServerEndpoint : URL {
return URL(string: "realm://138.197.85.79:9080" )!
}
static var authServerEndpoint : URL {
return URL(string: "http://138.197.85.79:9080" )!
}
```
## Important Things to Consider
1. You need to create a default Conversation, which new installed users will join automatically. We are working on the best way to "bootstrap" this default Conversation
Run `Conversation.generateDefaultConversation()` immediately upon logging in before going to the main ChatViewController
2. Do not run that again or it will remove any other users.