Writing Libraries for Swift 2.x and 3.0 Compatibility

Learn more about Swift libraries and how to check the Swift versions for compatibility. Discover how to check swift versions and swift libraries from expert developers, and develop a strategy for using the Swift Standard Library and Cocoa libraries in a call site-compatible manner.

NSAttributedString Creation Helpers

NSAttributedString is a great addition to the iOS SDK. Since the release of iOS 6, we are able to use NSAttributedString with UIKit, assigning it to UILabels and  UITextViews. Here is the code for creating this  NSAttributedString: “(middleContent)” (with […]