kakegawa-atsushi / MultipeerConnectivitySample

Sample program of Multipeer Connectivity Framework.
19 stars 7 forks source link

Extra peer array? #1

Open gerchicov opened 9 years ago

gerchicov commented 9 years ago

Could you explain how does your property "connectedPeerIDs" differ from "session.connectedPeers" which is already ready to use?

kakegawa-atsushi commented 9 years ago

connectedPeerIDs is a storage to control the timings of notification for SessionHelper client.

If you need just get a list of connected peers, MCSession#connectedPeers is suitable and connectedPeerIDs is extra as you say.