We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1443651 commit 4cf6b2fCopy full SHA for 4cf6b2f
Sources/Core/PersonNameComponents+Extension.swift
@@ -21,13 +21,15 @@ public extension PersonNameComponents {
21
}
22
23
public extension PersonNameComponents {
24
- static func create(namePrefix: String? = .none,
25
- middleName: String? = .none,
26
- givenName: String? = .none,
27
- familyName: String? = .none,
28
- nameSuffix: String? = .none,
29
- nickname: String? = .none,
30
- phoneticRepresentation: PersonNameComponents? = .none) -> PersonNameComponents {
+ static func create(
+ namePrefix: String? = .none,
+ middleName: String? = .none,
+ givenName: String? = .none,
+ familyName: String? = .none,
+ nameSuffix: String? = .none,
+ nickname: String? = .none,
31
+ phoneticRepresentation: PersonNameComponents? = .none
32
+ ) -> PersonNameComponents {
33
var components = PersonNameComponents()
34
components.namePrefix = namePrefix
35
components.familyName = familyName
0 commit comments