Starting in Swift 2.0, the recommended method of printing without newline is:
print("Hello", terminator: "")
More Related Contents:
- The “++” and “–” operators have been deprecated Xcode 7.3
- try, try! & try? what’s the difference, and when to use each?
- Convert Swift Array to Dictionary with indexes [duplicate]
- How do you enumerate OptionSetType in Swift?
- Whats the Swift animate WithDuration syntax?
- How to convert Data to hex string in swift
- Overriding methods in Swift extensions
- Waiting until the task finishes
- How do I dispatch_sync, dispatch_async, dispatch_after, etc in Swift 3, Swift 4, and beyond?
- .toInt() removed in Swift 2?
- Return instancetype in Swift
- Swift do-try-catch syntax
- What is the ‘open’ keyword in Swift?
- Non-‘@objc’ method does not satisfy optional requirement of ‘@objc’ protocol
- Accessing code in Swift 3 Error
- Swift 2 ( executeFetchRequest ) : error handling
- What is a good example to differentiate between fileprivate and private in Swift3
- Get integer value from string in swift
- Swift 2 – Pattern matching in “if”
- Is it possible to replicate Swifts automatic numeric value bridging to Foundation (NSNumber) for (U)Int8/16/32/64 types?
- Calling protocol default implementation from regular method
- Swap rootViewController with animation?
- Why do Self and self sometimes refer to different types in static functions?
- Generic function taking a type name in Swift
- xcode 8 beta 3: Expected ‘,’ joining parts of a multi-clause condition
- Add Local Notification in iOS 10 – Swift 3
- Xcode 8 / Swift 3 : Simple UIPicker code not working
- Make code with Firebase asynchronous
- Iterate through a String Swift 2.0
- How to convert a binary to decimal in Swift?