r/iOSProgramming • • Jul 17 '19

Discussion Concept of transmitting app state from iOS to Mac with iBeacon and MultipeerConnectivity.

240 Upvotes

25 comments sorted by

33

u/[deleted] Jul 17 '19

That’s so future

10

u/AyoPrez Jul 17 '19

Why an iBeacon and not the WiFi? 🤔

5

u/thexdroid Beginner Jul 17 '19

I also don't understand why a ibeacon..

1

u/Rudy69 Jul 17 '19

I’m guessing the beacon could tell which computer you’re in front of in case there’s more than one? Not sure how precise beacons are, never used them

1

u/jmb2k6 Jul 18 '19

Precise enough to say which device is closest if the devices are a few feet apart. This concept would probably work best using WiFi + BLE. BLE to detect proximity and id the device, then WiFi to transfer the data. Although a URL could easily be transmitted over BLE beacon with ~20-40ms latency

1

u/jmb2k6 Jul 18 '19 edited Jul 18 '19

Because a designer came up with this concept. Not anything against the concept, it’s def cool

Edit: This could actually be done with a beacon, not necessarily an iBeacon, if the url is the only data transferred. Latency could be as low as ~20-40ms

1

u/lubboster Jul 18 '19

Sometimes you are not in the same wifi network...

3

u/jontelang Jul 17 '19

Concept or is it implemented? Why specify the tech in the title if it is not?

Also it already is implemented (in a less flashy way) since a few years.

2

u/dawmster Jul 17 '19

what’s the monitor you’ve got there , pal?

1

u/ThatBoiRalphy Objective-C / Swift Jul 17 '19

(Old) Apple Cinema Display

5

u/FrostytheSnownoob Jul 17 '19

Or maybe Thunderbolt Display?

2

u/ThatBoiRalphy Objective-C / Swift Jul 17 '19

My bad lol, that one yes.

2

u/[deleted] Jul 17 '19

Yeah, this feature is called HandOff and not that hard to implement.

1

u/ifitdontmakedolla Jul 17 '19

How are you able to launch within the same context?

1

u/ohwhyme1987 Jul 17 '19

what lamp is that?

1

u/BeastModeUnlocked Jul 17 '19

Ooooh this needs to get Sherlocked Apple pls

1

u/[deleted] Jul 17 '19

This is just Handoff isn't it? But activated from the sending device instead of the receiving.

1

u/Stazalicious Jul 17 '19

Technically achievable already for one specific app installed on both machines.

1

u/[deleted] Jul 18 '19

Looks neat. Awesome.

Do you have plans to make it open sourced?

25

u/[deleted] Jul 17 '19

[removed] — view removed comment

24

u/ThatBoiRalphy Objective-C / Swift Jul 17 '19

Yeah but does it look that cool!?

9

u/Rudy69 Jul 17 '19

It sure doesn’t.

-1

u/IITheXaverII Jul 17 '19

It does

1

u/Rudy69 Jul 17 '19

No way, it's missing the swipe!