You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In using the latest plugin from npm (i.e. 0.11.5) with Xcode 8.1 (8B62) and iOS 10.1 I am getting warnings that multiple methods/constants have been renamed. From the docs:
// assumes your WatchKit extension references Wormhole.h in a Bridging-Header.h file
-let watchConnectivityListeningWormhole = MMWormholeSession.sharedListeningSession();+let watchConnectivityListeningWormhole = MMWormholeSession.sharedListening();-watchConnectivityListeningWormhole.activateSessionListening();+watchConnectivityListeningWormhole.activateListening();
let wormhole = MMWormhole(applicationGroupIdentifier: "group.com.yourcompany", optionalDirectory: nil, transitingType: .SessionContext);
and
// assumes wormhole is initialised (above)
-watchConnectivityListeningWormhole.listenForMessageWithIdentifier("from_phone_queue", listener:
{ (messageObject) -> Void in
+watchConnectivityListeningWormhole.listenForMessage(withIdentifier: "from_phone_queue", listener: { (messageObject) -> Void in
if let message: AnyObject = messageObject {
// handle your message here
}
})
This might just be some strange configuration issue on my part, even with these changes I still am not passing info properly. However, I can't even build in Xcode without them so I thought I'd pass this along.
The text was updated successfully, but these errors were encountered:
In using the latest plugin from
npm
(i.e. 0.11.5) withXcode 8.1 (8B62)
and iOS 10.1 I am getting warnings that multiple methods/constants have been renamed. From the docs:and
This might just be some strange configuration issue on my part, even with these changes I still am not passing info properly. However, I can't even build in Xcode without them so I thought I'd pass this along.
The text was updated successfully, but these errors were encountered: