Skip to content

Commit 44f3fdb

Browse files
committed
Updated to use xcframeworks
1 parent 7c2df24 commit 44f3fdb

File tree

5 files changed

+69
-188
lines changed

5 files changed

+69
-188
lines changed

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "Quick/Quick" ~> 3.0.0
1+
github "Quick/Quick" ~> 4.0.0
22
github "Quick/Nimble" ~> 9.0.0

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
github "Quick/Nimble" "v9.0.0"
2-
github "Quick/Quick" "v3.1.1"
3-
github "ReactiveX/RxSwift" "5.1.1"
1+
github "Quick/Nimble" "v9.2.0"
2+
github "Quick/Quick" "v4.0.0"
3+
github "ReactiveX/RxSwift" "5.1.2"
44
github "daltoniam/Starscream" "3.1.1"

Examples/Basic/chatroom/ChatRoomViewController.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
import UIKit
1010
import RxSwift
11-
import RxCocoa
1211
import SwiftPhoenixClient
1312
import RxSwiftPhoenixClient
13+
import StarscreamSwiftPhoenixClient
1414

1515
struct Shout {
1616
let name: String
@@ -25,7 +25,8 @@ class ChatRoomViewController: UIViewController {
2525

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

3132
private var lobbyChannel: Channel?

0 commit comments

Comments
 (0)