- Support for multiple platforms in the same framework.
- Support for Swift, Objective-C and C.
- Support for dynamic frameworks and static libraries.
- Support for Swift Package Manager.
- End of fat binaries.
- Open Current framework project
| // Swift Standard Librray - String | |
| // Keith Harrison http://useyourloaf.com | |
| // Import Foundation if you want to bridge to NSString | |
| import Foundation | |
| // ==== | |
| // Initializing a String | |
| // ==== |
| import Foundation | |
| var todos = [String: Any]() | |
| let dispatchGroup = DispatchGroup() | |
| for todo in 0..10 { | |
| let url = URL(string: "https://jsonplaceholder.typicode.com/todos/\(todo)") | |
| dispatchGroup.enter() | |
| let task = URLSession.shared.dataTask(with: url!) { (data, response, error) in |