/StreamHub-iOS-CommentStream-App

Reference implementation of Livefyre Comments for StreamHub-iOS-SDK

Primary LanguageObjective-CMIT LicenseMIT

CommentStream

This is a sample app that demonstrates how to use some of the services provided by StreamHub-iOS-SDK [1], a native client for Livefyre HTTP API. It supports viewing a collection, streaming comments in real-time, nested replies, likes, flagging and deleting of comments, and image attachments.

Getting Started

If you haven't already, please install CocoaPods first [2]. You can do this simply by running gem install cocoapods and pod setup. Once installed, do the following (assuming you keep your projects in ~/dev directory):

cd ~/dev
git clone https://github.com/Livefyre/StreamHub-iOS-CommentStream-App.git
cd StreamHub-iOS-CommentStream-App
pod install
open CommentStream.xcworkspace

Note that the pod install step above can take a minute or two. When done installing, use CommentStream.xcworkspace to open the project instead of the CommentStream.xcproject file.

Requirements

StreamHub-SDK starting from v0.2 requires Xcode 5 and iOS 6.0 or later.

License

Copyright (c) 2015 Livefyre, Inc.

Licensed under the MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.