How to Determine Visibility of a View Controller

34:06
 
Share
 

Manage episode 288569448 series 1436686
By Alex Bush, Andrew Rohn, Alex Bush, and Andrew Rohn. Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.

Alex talks about unexpected intricacies and complexities he encountered trying to determine if a given view controller is visible trying to refresh data every time the user sees it. This seems like an overkill but it is more complex then you'd expect.

Table of states and viewDidAppear/Foreground notification calls: https://1drv.ms/u/s!AneU_VTSiGUEh2kmJVH376QmUG79?e=X13rSQ

Sign up for Alex's upcoming video course about iOS System Design Interview: https://iosinterviewguide.com/system-design-interview
Sign up for Alex's upcoming video course about RIBs Architecture: http://ribsarchitecture.com/video-course-waitlist
Need to prepare for an iOS Engineer Interview?
https://iosinterviewguide.com
Connect with us: https://twitter.com/insideiosdev
Email us at hello@insideiosdev.com

81 episodes