Skip Navigation
Global Nav Open Menu
Global Nav Close Menu
Apple Developer
Search Developer
Cancel
Apple Developer
Discover
Design
Develop
Distribute
Support
Account
Documentation
Open Menu
Close Menu
Foundation
Strings and Text
String
⋯
Foundation
Strings and Text
String
StringProtocol
cString(using:)
Language:
Swift
API Changes:
None
Instance Method
c
String(using:)
No overview available.
SDKs
iOS 7.0+
macOS 10.9+
Mac Catalyst 13.0+
tvOS 9.0+
watchOS 2.0+
Xcode 9.0+
Framework
Foundation
Declaration
func
cString
(
using
encoding
:
String
.
Encoding
) -> [
CChar
]?