AddSubviewDemo
This is an demonstration of adding an array of subviews in Swift 3.
See https://stackoverflow.com/questions/44816254/programmatically-create-an-array-of-objects-swift-3.
This was developed in Swift 3 on Xcode 8.3.3 for iOS 10. But, the basic ideas are equally applicable for different versions of Swift and/or Objective-C. The use of presentation controller requires iOS 8 or later.
License
Copyright © 2017 Robert Ryan. All rights reserved.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
--
29 June 2017