Can I hide a built-in module?

I am new to iOS programming.

I want to create an "A" and "A2" framework and make it available for distribution to all iOS app developers.

Both "A" and "A2" use the "B" Framework, and "B" uses the "C" Framework. But I want to hide the built-in frameworks ("B" and "C") from developers who use my framework so that no one knows about it.

can an embedded Swift module be hidden like inner classes or structs?

Thanks in advance.


It is not a question of creating "built-in frameworks" in Xcode. I just don't want anyone to directly import the built-in frameworks ("B", "C")

import A // OK
import B <- problem
import C <- problem
...
override viewDidLoad() {
    super.viewDidLoad()

    let A = A.default // OK

    A.someAPI() // OK

    B.someAPI() <- problem
}

      

+3
ios swift swift3


source to share


No one has answered this question yet

See similar questions:

7
Implementing framework within (iOS 8+)

or similar:

1665
How can I get the UITextField to move upward when there is a keyboard - when starting editing?
1172
How can I disable the selection of a UITableView?
1141
How can I develop for iPhone using Windows development machine?
545
IOS app with broken infrastructure on device, dyld: library not loaded, Xcode 6 Beta
49
Connect Objective C framework to Swift iOS 8 (Parse framework)
12
Imported inline structure in timezone extension
2
FBSDKs installed via Pods - no such module in Swift
0
Set NavigationBar only for the ViewController destination
0
Unable to call value of non-functional module <f1> '
0
file in my project does not import JTAppleCalendar module



All Articles
Loading...
X
Show
Funny
Dev
Pics