Skip to content

Commit

Permalink
Updated to use xcframeworks
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrees committed May 20, 2021
1 parent 7c2df24 commit 44f3fdb
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 188 deletions.
2 changes: 1 addition & 1 deletion Cartfile.private
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "Quick/Quick" ~> 3.0.0
github "Quick/Quick" ~> 4.0.0
github "Quick/Nimble" ~> 9.0.0
6 changes: 3 additions & 3 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "Quick/Nimble" "v9.0.0"
github "Quick/Quick" "v3.1.1"
github "ReactiveX/RxSwift" "5.1.1"
github "Quick/Nimble" "v9.2.0"
github "Quick/Quick" "v4.0.0"
github "ReactiveX/RxSwift" "5.1.2"
github "daltoniam/Starscream" "3.1.1"
5 changes: 3 additions & 2 deletions Examples/Basic/chatroom/ChatRoomViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

import UIKit
import RxSwift
import RxCocoa
import SwiftPhoenixClient
import RxSwiftPhoenixClient
import StarscreamSwiftPhoenixClient

struct Shout {
let name: String
Expand All @@ -25,7 +25,8 @@ class ChatRoomViewController: UIViewController {

// MARK: - Attributes
private let username: String = "ChatRoom"
private let socket = Socket("https://phxchat.herokuapp.com/socket/websocket")
// private let socket = Socket("https://phxchat.herokuapp.com/socket/websocket")
private let socket = Socket(endPoint: "https://phxchat.herokuapp.com/socket/websocket", transport: { url in return StarscreamTransport(url: url) })
private let topic: String = "room:lobby"

private var lobbyChannel: Channel?
Expand Down
Loading

0 comments on commit 44f3fdb

Please sign in to comment.