• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

googlearchive/ios-swift-chat-example: FireChat implemented in Swift!

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

googlearchive/ios-swift-chat-example

开源软件地址:

https://github.com/googlearchive/ios-swift-chat-example

开源编程语言:

Objective-C 95.1%

开源软件介绍:

Status: Archived

This repository has been archived and is no longer maintained.

status: inactive

This is a legacy Firebase example (for SDK 2.x.x). You probably want to use one of the up-to-date examples at https://firebase.google.com/docs/samples


Swift Chat Example

Chat implemented in Swift! Now works in Xcode 6.0.1.

animated screenshot of this app in use

What's here

  • You can log in with Twitter.
  • You can post / receive messages
  • Powered by Firebase

If you have issues with XCTest, check out this issue.

Setup

This example still has some rough edges around authentication. Push through them, though. It's worth the effort.'

Configure Firebase

  1. Go to your Firebase Dashboard and create a new Firebase app.
  2. Clone this repo.
  3. Open FireChat-Swift.xcodeproj in Xcode.
  4. Edit MessagesViewController.swift and change swift-chat.firebaseio.com to point to your Firebase.

Configure Login

  1. Create a new Twitter app to use for login.
  2. Go to your Firebase Dashboard and navigate to your Firebase app.
  3. Click 'Login & Auth' in the left side menu. Select 'Twitter' and check the box to 'Enable Twitter Login'
  4. Paste your Twitter API Key and API Secret into the form.
  5. Edit LoginViewController.swift and change swift-chat.firebaseio.com to point to your Firebase. Update twitterAppId on the next line to match your Twitter API Key.
  6. Run the app on a device or simulator
  7. On your iOS device or simulator, go to Settings, scroll down to the accounts section (which contains Twitter, Facebook, Flickr and Vimeo), select Twitter -> Add Account.

no, that's not my password, but if you can figure out what I typed, tweet at me, and I'll send you Firebase swag

License

MIT




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap