Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am working on a Fitness app that gets data from Bluetooth Sensors (Heart Rate) and this data is a continuous stream of data.

My current implementation to show the data is to have both the Bluetooth Manager and the Display in the same view controller. I am looking to learn to decouple them (eg: using container view) but all the tutorials and SO pages I've seen on passing data from one VC to another VC (prepareForSegue and notification.Observer) looks like it's catered to passing simple 1 shot data/variables.

Question:

  1. How do I pass continuous data from one VC to another VC?

Edit: Passing data from ContainerView to UIPageViewController and then it's connected ViewController this question where I'm having trouble to even pass 1 simple variable hence I'm thinking how to even pass continuous data.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
319 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...