I'm trying to get a better understanding of what the Import statement does. According to this post:
As far as performance and binary size goes, any unused symbols are already optimized out of the final binary by the Swift compiler. If there’s no reference to it at compile time then it’s removed, meaning that importing a framework but not using particular parts of it shouldn’t have any negative implications.
The way I read this, is only those portions of the framework that you utilize are imported into your project
Yet in the same post above the fellow says:
We see that there are more precise imports that can be used if one is concerned about compile time. Such as import UIKit.UITableViewController
This seems to contradict the first statement. Full post Here
Thanks!