Tap-Payments / goSellSDK-iOS

goSell iOS SDK
MIT License
19 stars 20 forks source link

the secret of using internal and import? #27

Closed dimohamdy closed 4 years ago

dimohamdy commented 4 years ago

Why you use internal access modifier in the example?

dimohamdy commented 4 years ago

I think it's a valid question because the default access modifies in swift is internal why you use it?

dimohamdy commented 4 years ago

Also, I want to ask about the import of specific struct or class like import protocol Foundation.NSObject.NSCopying depend on this article Xcode care about remove unused import I want to know why does it help to build time or what?

Thanks in Advanced

Screen Shot 2020-07-23 at 1 09 10 PM
dimohamdy commented 4 years ago

@OsamaRabie Please help me to understand more about the SDK