Skip to content

Instantly share code, notes, and snippets.


Gregory F J Hogue GFJHogue

Block or report user

Report or block GFJHogue

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
GFJHogue / WatchToPhoneDemo.swift
Last active Aug 29, 2015
Example Code: Sending Data From Apple Watch To iPhone
View WatchToPhoneDemo.swift
// WatchToPhoneDemo/WatchToPhoneDemo WatchKit Extension/InterfaceController.swift
class InterfaceController: WKInterfaceController {
var str: String = "Hello iPhone!"
@IBAction func button() {
let dict: Dictionary = ["message": str]
WKInterfaceController.openParentApplication(dict, reply: {(reply, error) -> Void in
You can’t perform that action at this time.