Tag: Interface Builder

Swift Namespacing and Sharing Code

In the old days of iOS and OS X development, “namespacing” meant prepending Objective-C class names with a (hopefully) unique prefix to avoid conflicts. Swift mostly removes this need by providing automatic namespacing at the module level, though this can introduce an additional consideration. Recently I began adding a Today Widget to an iOS app and ran into an odd…