forked from swiftlang/swift-corelibs-foundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAPI Surface.tasks
11012 lines (10972 loc) · 303 KB
/
API Surface.tasks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Introduction:
This document contains the current status of the swift-corelibs-foundation API surface in relation to the API surface of the Foundation framework on Apple platforms. Symbols noted in this file that aren't tagged as done are by and large incorrectly missing in s-c-f, and should be implemented; their absence is a bug.
This file should be updated as elements are added, either in successive Apple platform releases or as corrections are committed to swift-corelibs-foundation.
This file is in the TaskPaper format: https://guide.taskpaper.com/getting-started/. Each symbol in this file is a to-do entry, and applications that understand the format can be used to filter down to unfinished elements. Symbols that are tagged 'done' are present; symbols that are absent are either tagged here as 'done' and 'unsupported', or their being missing is a bug. Symbols that are unsupported will also be tagged with a third, separate rationale tag that explains why that symbol is not present. Tags are documented below — search for the tag in brackets, e.g. '[grandfathered]', to find the appropriate explanation.
Per the rules of the file format, if a task (a symbol) is marked done, all subtasks (its members) are also implicitly done.
The tagging was done by manually comparing the Foundation API surface in macOS 10.15 to the master branch of the s-c-f repository. Corrections are appreciated.
Tag Documentation:
[done]: —
The 'done' keyword indicates a symbol or type that is in the desired final state. For desirable symbols, it means it is present in swift-corelibs-foundation; for unsupported symbols, it means it is absent (for types) or present and marked unsupported (for members). What 'done' does _not_ mean is that that symbol or class fully implements the contract, or that it is bug-free; just that it is present or absent in the way it is appropriate for it to be.
[unsupported]: —
An unsupported symbol indicates some functionality that is outside the cross-platform subset we support in swift-corelibs-foundation. Unsupported symbols are accompained by a separate reason tag that indicates why precisely the symbol is not supported, if possible.
[grandfathered]: —
The default policy for symbols that are unsupported is as follows –
• If the symbol is a top-level type, it should be missing.
• If the symbol is a member of another type, like a subtype, a method or a property, and that type is present, and any types it references are present, it should be also present but marked unavailable (and any implementation of it use `fatalError()`). If it references other types that are missing, it should be missing.
• Symbols that are closely related to a type without being members (such as top-level constants) fall under the member rule above as well.
Certain types, however, already existed in s-c-f when we instituted this policy. This means that code that used them, like 'let x: [PersonNameFormatter] = []`, would be valid in a s-c-f build — the program would not execute if it tried to create instances of those types, but using just the type in declarations would yield a correct program. These types have been grandfathered in: they exist, they're marked deprecated, and all their members are marked unavailable.
—
The following define reasons that indicate why a symbol may be unsupported.
[avoidUsingCF]: —
We support Foundation as the API we vend; Core Foundation symbols exist, and are available in some platforms, but as a rule they should be avoided. We discourage Core Foundation usage by not exporting any CF symbols from Foundation itself, which is why symbols with this tag are unavailable.
[runtimeIntrospectionNotSupported]: —
The Swift runtime outside of Darwin does not have sufficient metadata to allow us to traverse lists of loaded classes or protocols. Several forms of class introspection may be partially or entirely unsupported.
[bundleUnloadingNotSupportedOutsideDarwin]: —
Unloading binaries is a dangerous operation in most operating systems, because pointers to symbols that have been unloaded from memory (say, a constant string) will suddenly point to arbitrary locations in memory, including invalid ones. Unloading is heavily discouraged on Darwin and not supported at all outside Darwin.
[deprecatedBeforeSourceCompatibilityFreeze]: —
These symbols exist in Foundation for compatibility with applications using previous versions of Swift, though deprecated. As Swift naming evolved, so did these symbols' names. Outside of Darwin, we do not need to support these deprecated symbols; their final naming should be used.
[distributedObjectsNotSupported]: —
Distributed Objects is a deprecated IPC technology that existed in early version of macOS. Symbols that support this technology are not available outside of Darwin.
[dimensionAndUnitHaveSelfConstraints]: —
In Objective-C, NSDimension and NSUnit have `instancetype` methods that are meant to return singleton instances of their subclasses. This interacts poorly with subclassing, as without an override these methods may return superclass values when invoked by subclasses — a clear violation of the contract of 'instancetype'. In Swift, these map to `Self` constraints, which have the same potential issue; in practice, this causes Swift's much stricter subclassing safety features to essentially force Unit and Dimension subclasses to be final, which is source-incompatible with Darwin (if rarely impactful in practice).
[exceptionHandlingNotSupported]: —
Exception handling is an error signaling mechanism typically used to signal programmer error, available in several languages. The Darwin version of Foundation provides facilities that interact with exception handling when running on an Objective-C runtime. These facilities, and their associated symbols, are not available when running on the open-source Swift runtime (including outside of Darwin).
[autoreleasedByReferencePointersNotAvailable]: —
An important pattern used in Foundation running on Objective-C, returning objects by reference, requires the use of an autorelease pool. The open-source Swift runtime doesn't have autorelease pools, and equivalent methods of passing objects such as inout are not one-to-one source-compatible with creating a temporary autoreleased-object pointer. This affects Formatter deeply: an important funnel point for formatting, getObject(…), uses this techniques, formatters' use of the base class's API are not source-compatible between Darwin and swift-corelibs-foundation; this includes both calling Formatter base class methods and subclassing. Subclasses' type-safe direct-formatting functions, more often used, are not affected by this discrepancy.
[garbageCollectionSymbolsNotSupported]: —
Certain symbols exist for the purpose of running applications using the Cocoa garbage collector introduced in Mac OS X 10.5. These symbols persist in Darwin either as vestiges or as aids to allow porting garbage-collected source to Objective-C Automatic Reference Counting (ARC). On new platforms, there is no need to do that; garbage collection symbols are thus not included in swift-corelibs-foundation.
[generalizedProtocolTypesNotSupported]: —
Swift does not have an erased existential type the same way there is an erased reference type (`AnyObject`). Since there is no Swift "AnyProtocol" to map the Objective-C runtime's Protocol type to, symbols that took or returned Protocol pointers in Objective-C are not available in Swift.
[informalProtocolsNotSupported]: —
Several methods on NSObject are actually part of informal protocols. Many such protocols are either unused or polluting the NSObject class's namespace, and have been removed from the API surface on Swift. Note that the .attemptRecovery(…) method exists as part of an experimental formal protocol, but this change is not API and not guaranteed to exist in future versions of Swift.
[keyValueCodingObservingNotSupported]: —
Key-value coding relies on several features of the Objective-C runtime that are not available in Swift. Key-value coding, key-value observation and features that take string key paths, such as NSExpressions, certain NSPredicates, and archiving and unarchiving NSSortDescriptors, are all unavailable in swift-corelibs-foundation. Note that there is very limited support for certain KVC calls for the Operation class, since that is the only available API for state change reporting for that class; those simulate very narrow use cases and are not going to be generalized to the rest of the codebase.
[needsNSCopyingImplementation]: —
This method or property either takes, or has a setter that takes a NSCopying-conforming argument, but is not currently copying it.
[nonkeyedArchivingNotSupported]: —
While non-keyed archives can be read by swift-corelibs-foundation, only keyed archiving is supported. Certain API symbols that support non-keyed archival are not available.
[onlyRegularExpressionTextCheckingResultsSupported]: —
NSTextCheckingResult is a currency type used by several technologies in Foundation. Only regular expression result reporting is supported as a usage in swift-corelibs-foundation; API related to other usages are not available.
[orthographyNotAvailable]: —
Ortographical and grammatical correction and other natural language processing features are Apple platform services that are not available outside of Darwin. Symbols associated with them are not available.
[playgroundsNotSupported]: —
Only platforms with Xcode or the Swift Playgrounds app can support playground runtime additions. Foundation only has those symbols on those platforms.
[proxiesNotSupported]: —
Proxying is an Objective-C runtime feature that isn't supported as-is on the open-source Swift runtime. API that require proxying or support creating proxies are not present in swift-corelibs-foundation.
[requiresICUSupport]: —
Certain API require functionality that is not stable or present in open-source versions of the ICU library. They are not available in swift-corelibs-foundation.
[requiresOSSupport]: —
Certain API are strongly tied to OS services and features existing on Apple platforms. API that expose or require these functionalities are not present in swift-corelibs-foundation. Notable technologies that are affected are AppleScript, extension writing, and XPC connections.
[selectorsNotSupported]: —
Selectors are a core feature of the Objective-C runtime. On Swift, invocation dispatch does not use selectors; API that take selectors are not available, and are usually replaced by equivalent cross-platform API that take closures. (In NSSortDescriptor's case, it may also be replaced by certain protocol conformances; see the release notes in the Docs directory of the swift-corelibs-foundation repository for more.) For similar reasons to selectors, NSInvocation is also not supported.
[urlConnectionNotSupported]: —
Deprecated means of loading URL-based content are not available at all in swift-corelibs-foundation; in particular, NSURLConnection, NSURLDownload and NSURLHandle are not available. All modern code should use the URLSession cross-platform type.
[useSwiftForMemoryManagement]: —
Foundation on Darwin assists in several tasks related to lower-level memory management and exposes API for reference counting for objects. In Swift, most of those API are made either moot by the language performing such memory manipulation or reference coutning behind the scenes, or are replaced by standard library types such as the allocation calls in the Unsafe…Pointer family of types. You should use Swift standard library facilities rather than go through Foundation for those tasks on all platforms. (For example, for fine-grained manual memory management, you should use the Unmanaged<_> type in the standard library rather than invoke CFRetain and CFRelease directly.)
[useSwiftSequenceTypesForIteration]: —
On Darwin, Foundation exposes low-level API to implement fast iteration. In Swift, the standard library implements iteration differently (via the Iterator protocol). The fast iteration API are not available in swift-corelibs-foundation, and should be replaced if possible with a conformance to the Iterator protocol.
[versionsAreNotSignificantOutsideDarwin]: —
Foundation on Apple platforms has a version number that changes in successive OS versions and on different deployments (e.g. it may be different on macOS than it is on iOS, watchOS or tvOS versions released alongside that macOS version). There are a number of historical API devoted to matching framework version numbers to macOS versions, and for certain older OSes, to indicate when certain framework-wide features first became available. These version numbers no longer convey much useful information to a developer. The implementation of Foundation in swift-corelibs-foundation does not claim to be any specific version number, nor it provides those API, as they are not significant at all outside of Darwin; in particular, this prevents relying on a framework version number indicating that s-c-f has 'the same' capabilities as some version of Darwin's Foundation.
If you need to write code that runs on, and must distinguish, multiple versions of swift-corelibs-foundation, or between them and Darwin, you should use compile-time constructs such as #if os(…) and #if swift(>= …), and the if #available(…) construct where possible.
[darwinSecurityFrameworkUnavailable]: —
The Security framework is not available outside Darwin. Members that take Security types, especially in URLSession types, are not available in swift-corelibs-foundation.
API Surface:
- Foundation
- AffineTransform @done
- ==(_:_:)
- ReferenceType
- append(_:)
- debugDescription
- description
- encode(to:)
- hash(into:)
- hashValue
- identity
- init()
- init(from:)
- init(m11:m12:m21:m22:tX:tY:)
- init(rotationByDegrees:)
- init(rotationByRadians:)
- init(scale:)
- init(scaleByX:byY:)
- init(translationByX:byY:)
- invert()
- inverted()
- m11
- m12
- m21
- m22
- prepend(_:)
- rotate(byDegrees:)
- rotate(byRadians:)
- scale(_:)
- scale(x:y:)
- tX
- tY
- transform(_:)
- Foundation.NSPoint
- Foundation.NSPoint
- transform(_:)
- Foundation.NSSize
- Foundation.NSSize
- translate(x:y:)
- AlignmentOptions @done
- ArrayLiteralElement
- Element
- RawValue
- alignAllEdgesInward
- alignAllEdgesNearest
- alignAllEdgesOutward
- alignHeightInward
- alignHeightNearest
- alignHeightOutward
- alignMaxXInward
- alignMaxXNearest
- alignMaxXOutward
- alignMaxYInward
- alignMaxYNearest
- alignMaxYOutward
- alignMinXInward
- alignMinXNearest
- alignMinXOutward
- alignMinYInward
- alignMinYNearest
- alignMinYOutward
- alignRectFlipped
- alignWidthInward
- alignWidthNearest
- alignWidthOutward
- init(rawValue:)
- rawValue
- AnyHashable @done
- Array @done
- Regions
- regions
- ArraySlice @done
- Regions
- regions
- BlockOperation @done
- addExecutionBlock(_:)
- Swift.Void
- executionBlocks
- init()
- init(block:)
- Bool @done
- init(_:)
- init(exactly:)
- init(truncating:)
- Bundle
- allBundles @done
- allFrameworks @done
- appStoreReceiptURL @done
- builtInPlugInsPath @done
- builtInPlugInsURL @done
- bundleIdentifier @done
- bundlePath @done
- bundleURL @done
- classNamed(_:) @done
- developmentLocalization @done
- didLoadNotification
- executableArchitectures @done
- executablePath @done
- executableURL @done
- infoDictionary @done
- init() @done
- init(for:) @partiallyDone
- Swift.AnyClass
- init(identifier:) @done
- init(path:) @done
- init(url:) @done
- isLoaded @done
- load() @done
- loadAndReturnError() @done
- localizations @done
- localizedInfoDictionary @done
- localizedString(forKey:value:table:) @done
- main @done
- object(forInfoDictionaryKey:) @done
- path(forAuxiliaryExecutable:) @done
- path(forResource:ofType:) @done
- path(forResource:ofType:inDirectory:) @done
- path(forResource:ofType:inDirectory:) @done
- path(forResource:ofType:inDirectory:forLocalization:) @done
- paths(forResourcesOfType:inDirectory:) @done
- paths(forResourcesOfType:inDirectory:) @done
- paths(forResourcesOfType:inDirectory:forLocalization:) @done
- preferredLocalizations @done
- preferredLocalizations(from:) @done
- preferredLocalizations(from:forPreferences:) @done
- preflight() @done
- principalClass @done
- privateFrameworksPath @done
- privateFrameworksURL @done
- resourcePath @done
- resourceURL @done
- sharedFrameworksPath @done
- sharedFrameworksURL @done
- sharedSupportPath @done
- sharedSupportURL @done
- unload() @unsupported @bundleUnloadingNotSupportedOutsideDarwin @done
- url(forAuxiliaryExecutable:) @done
- url(forResource:withExtension:) @done
- url(forResource:withExtension:subdirectory:) @done
- url(forResource:withExtension:subdirectory:in:) @done
- url(forResource:withExtension:subdirectory:localization:) @done
- urls(forResourcesWithExtension:subdirectory:) @done
- urls(forResourcesWithExtension:subdirectory:in:) @done
- urls(forResourcesWithExtension:subdirectory:localization:) @done
- ByteCountFormatter @done
- CountStyle
- RawValue
- binary
- decimal
- file
- init(rawValue:)
- memory
- rawValue
- Units
- ArrayLiteralElement
- Element
- RawValue
- init(rawValue:)
- rawValue
- useAll
- useBytes
- useEB
- useGB
- useKB
- useMB
- usePB
- useTB
- useYBOrHigher
- useZB
- allowedUnits
- allowsNonnumericFormatting
- countStyle
- formattingContext
- includesActualByteCount
- includesCount
- includesUnit
- init()
- isAdaptive
- string(for:)
- string(from:)
- string(from:countStyle:)
- string(fromByteCount:)
- string(fromByteCount:countStyle:)
- zeroPadsFractionDigits
- CFBridgingRetain(_:) @done @unsupported @useSwiftForMemoryManagement
- CFError @done @unsupported @avoidUsingCF
- CGAffineTransform @done
- CGFloat @done
- init(_:)
- init(exactly:)
- init(truncating:)
- CGPoint @done
- CGRect @done
- CGRectEdge @done
- init(rectEdge:)
- CGSize @done
- CGVector @done
- CachedURLResponse
- data @done
- init() @done
- init(response:data:) @done
- init(response:data:userInfo:storagePolicy:) @done
- response @needsNSCopyingImplementation
- storagePolicy @done
- userInfo @done
- Calendar @done
- ==(_:_:)
- Component
- ==(_:_:)
- calendar
- day
- era
- hash(into:)
- hashValue
- hour
- minute
- month
- nanosecond
- quarter
- second
- timeZone
- weekOfMonth
- weekOfYear
- weekday
- weekdayOrdinal
- year
- yearForWeekOfYear
- Identifier
- ==(_:_:)
- buddhist
- chinese
- coptic
- ethiopicAmeteAlem
- ethiopicAmeteMihret
- gregorian
- hash(into:)
- hashValue
- hebrew
- indian
- islamic
- islamicCivil
- islamicTabular
- islamicUmmAlQura
- iso8601
- japanese
- persian
- republicOfChina
- MatchingPolicy
- ==(_:_:)
- hash(into:)
- hashValue
- nextTime
- nextTimePreservingSmallerComponents
- previousTimePreservingSmallerComponents
- strict
- ReferenceType
- RepeatedTimePolicy
- ==(_:_:)
- first
- hash(into:)
- hashValue
- last
- SearchDirection
- ==(_:_:)
- backward
- forward
- hash(into:)
- hashValue
- amSymbol
- autoupdatingCurrent
- compare(_:to:toGranularity:)
- component(_:from:)
- current
- customMirror
- date(_:matchesComponents:)
- date(byAdding:to:wrappingComponents:)
- date(byAdding:value:to:wrappingComponents:)
- date(bySetting:value:of:)
- date(bySettingHour:minute:second:of:matchingPolicy:repeatedTimePolicy:direction:)
- date(from:)
- dateComponents(_:from:)
- dateComponents(_:from:to:)
- dateComponents(_:from:to:)
- dateComponents(in:from:)
- dateInterval(of:for:)
- dateInterval(of:start:interval:for:)
- Foundation.TimeInterval
- dateIntervalOfWeekend(containing:)
- dateIntervalOfWeekend(containing:start:interval:)
- Foundation.TimeInterval
- debugDescription
- description
- encode(to:)
- enumerateDates(startingAfter:matching:matchingPolicy:repeatedTimePolicy:direction:using:)
- eraSymbols
- firstWeekday
- hash(into:)
- hashValue
- identifier
- init(from:)
- init(identifier:)
- isDate(_:equalTo:toGranularity:)
- isDate(_:inSameDayAs:)
- isDateInToday(_:)
- isDateInTomorrow(_:)
- isDateInWeekend(_:)
- isDateInYesterday(_:)
- locale
- longEraSymbols
- maximumRange(of:)
- minimumDaysInFirstWeek
- minimumRange(of:)
- monthSymbols
- nextDate(after:matching:matchingPolicy:repeatedTimePolicy:direction:)
- nextWeekend(startingAfter:direction:)
- nextWeekend(startingAfter:start:interval:direction:)
- Foundation.TimeInterval
- ordinality(of:in:for:)
- pmSymbol
- quarterSymbols
- range(of:in:for:)
- shortMonthSymbols
- shortQuarterSymbols
- shortStandaloneMonthSymbols
- shortStandaloneQuarterSymbols
- shortStandaloneWeekdaySymbols
- shortWeekdaySymbols
- standaloneMonthSymbols
- standaloneQuarterSymbols
- standaloneWeekdaySymbols
- startOfDay(for:)
- timeZone
- veryShortMonthSymbols
- veryShortStandaloneMonthSymbols
- veryShortStandaloneWeekdaySymbols
- veryShortWeekdaySymbols
- weekdaySymbols
- Change
- CharacterSet @done
- ==(_:_:)
- ArrayLiteralElement
- Element
- ReferenceType
- alphanumerics
- bitmapRepresentation
- capitalizedLetters
- contains(_:)
- controlCharacters
- debugDescription
- decimalDigits
- decomposables
- description
- encode(to:)
- formIntersection(_:)
- formSymmetricDifference(_:)
- formUnion(_:)
- hasMember(inPlane:)
- hash(into:)
- hashValue
- illegalCharacters
- init()
- init(bitmapRepresentation:)
- init(charactersIn:)
- init(charactersIn:)
- init(charactersIn:)
- init(contentsOfFile:)
- init(from:)
- insert(_:)
- insert(charactersIn:)
- insert(charactersIn:)
- insert(charactersIn:)
- intersection(_:)
- invert()
- inverted
- isSuperset(of:)
- letters
- lowercaseLetters
- newlines
- nonBaseCharacters
- punctuationCharacters
- remove(_:)
- remove(charactersIn:)
- remove(charactersIn:)
- remove(charactersIn:)
- subtract(_:)
- subtracting(_:)
- symbols
- symmetricDifference(_:)
- union(_:)
- update(with:)
- uppercaseLetters
- urlFragmentAllowed
- urlHostAllowed
- urlPasswordAllowed
- urlPathAllowed
- urlQueryAllowed
- urlUserAllowed
- whitespaces
- whitespacesAndNewlines
- CocoaError @done
- Code
- RawValue
- coderInvalidValue
- coderReadCorrupt
- coderReadCorruptError
- coderValueNotFound
- coderValueNotFoundError
- executableArchitectureMismatch
- executableArchitectureMismatchError
- executableLink
- executableLinkError
- executableLoad
- executableLoadError
- executableNotLoadable
- executableNotLoadableError
- executableRuntimeMismatch
- executableRuntimeMismatchError
- featureUnsupported
- featureUnsupportedError
- fileLocking
- fileLockingError
- fileManagerUnmountBusy
- fileManagerUnmountBusyError
- fileManagerUnmountUnknown
- fileManagerUnmountUnknownError
- fileNoSuchFile
- fileNoSuchFileError
- fileReadCorruptFile
- fileReadCorruptFileError
- fileReadInapplicableStringEncoding
- fileReadInapplicableStringEncodingError
- fileReadInvalidFileName
- fileReadInvalidFileNameError
- fileReadNoPermission
- fileReadNoPermissionError
- fileReadNoSuchFile
- fileReadNoSuchFileError
- fileReadTooLarge
- fileReadTooLargeError
- fileReadUnknown
- fileReadUnknownError
- fileReadUnknownStringEncoding
- fileReadUnknownStringEncodingError
- fileReadUnsupportedScheme
- fileReadUnsupportedSchemeError
- fileWriteFileExists
- fileWriteFileExistsError
- fileWriteInapplicableStringEncoding
- fileWriteInapplicableStringEncodingError
- fileWriteInvalidFileName
- fileWriteInvalidFileNameError
- fileWriteNoPermission
- fileWriteNoPermissionError
- fileWriteOutOfSpace
- fileWriteOutOfSpaceError
- fileWriteUnknown
- fileWriteUnknownError
- fileWriteUnsupportedScheme
- fileWriteUnsupportedSchemeError
- fileWriteVolumeReadOnly
- fileWriteVolumeReadOnlyError
- formatting
- formattingError
- init(rawValue:)
- keyValueValidation
- keyValueValidationError
- propertyListReadCorrupt
- propertyListReadCorruptError
- propertyListReadStream
- propertyListReadStreamError
- propertyListReadUnknownVersion
- propertyListReadUnknownVersionError
- propertyListWriteInvalid
- propertyListWriteInvalidError
- propertyListWriteStream
- propertyListWriteStreamError
- rawValue
- ubiquitousFileNotUploadedDueToQuota
- ubiquitousFileNotUploadedDueToQuotaError
- ubiquitousFileUbiquityServerNotAvailable
- ubiquitousFileUnavailable
- ubiquitousFileUnavailableError
- userActivityConnectionUnavailable
- userActivityConnectionUnavailableError
- userActivityHandoffFailed
- userActivityHandoffFailedError
- userActivityHandoffUserInfoTooLarge
- userActivityHandoffUserInfoTooLargeError
- userActivityRemoteApplicationTimedOut
- userActivityRemoteApplicationTimedOutError
- userCancelled
- userCancelledError
- xpcConnectionInterrupted
- xpcConnectionInvalid
- xpcConnectionReplyInvalid
- coderInvalidValue
- coderReadCorrupt
- coderReadCorruptError
- coderValueNotFound
- coderValueNotFoundError
- error(_:userInfo:url:)
- errorDomain
- executableArchitectureMismatch
- executableArchitectureMismatchError
- executableLink
- executableLinkError
- executableLoad
- executableLoadError
- executableNotLoadable
- executableNotLoadableError
- executableRuntimeMismatch
- executableRuntimeMismatchError
- featureUnsupported
- featureUnsupportedError
- fileLocking
- fileLockingError
- fileManagerUnmountBusy
- fileManagerUnmountBusyError
- fileManagerUnmountUnknown
- fileManagerUnmountUnknownError
- fileNoSuchFile
- fileNoSuchFileError
- filePath
- fileReadCorruptFile
- fileReadCorruptFileError
- fileReadInapplicableStringEncoding
- fileReadInapplicableStringEncodingError
- fileReadInvalidFileName
- fileReadInvalidFileNameError
- fileReadNoPermission
- fileReadNoPermissionError
- fileReadNoSuchFile
- fileReadNoSuchFileError
- fileReadTooLarge
- fileReadTooLargeError
- fileReadUnknown
- fileReadUnknownError
- fileReadUnknownStringEncoding
- fileReadUnknownStringEncodingError
- fileReadUnsupportedScheme
- fileReadUnsupportedSchemeError
- fileWriteFileExists
- fileWriteFileExistsError
- fileWriteInapplicableStringEncoding
- fileWriteInapplicableStringEncodingError
- fileWriteInvalidFileName
- fileWriteInvalidFileNameError
- fileWriteNoPermission
- fileWriteNoPermissionError
- fileWriteOutOfSpace
- fileWriteOutOfSpaceError
- fileWriteUnknown
- fileWriteUnknownError
- fileWriteUnsupportedScheme
- fileWriteUnsupportedSchemeError
- fileWriteVolumeReadOnly
- fileWriteVolumeReadOnlyError
- formatting
- formattingError
- hashValue
- isCoderError
- isExecutableError
- isFileError
- isFormattingError
- isPropertyListError
- isUbiquitousFileError
- isUserActivityError
- isValidationError
- isXPCConnectionError
- keyValueValidation
- keyValueValidationError
- propertyListReadCorrupt
- propertyListReadCorruptError
- propertyListReadStream
- propertyListReadStreamError
- propertyListReadUnknownVersion
- propertyListReadUnknownVersionError
- propertyListWriteInvalid
- propertyListWriteInvalidError
- propertyListWriteStream
- propertyListWriteStreamError
- stringEncoding
- ubiquitousFileNotUploadedDueToQuota
- ubiquitousFileNotUploadedDueToQuotaError
- ubiquitousFileUbiquityServerNotAvailable
- ubiquitousFileUnavailable
- ubiquitousFileUnavailableError
- underlying
- url
- userActivityConnectionUnavailable
- userActivityConnectionUnavailableError
- userActivityHandoffFailed
- userActivityHandoffFailedError
- userActivityHandoffUserInfoTooLarge
- userActivityHandoffUserInfoTooLargeError
- userActivityRemoteApplicationTimedOut
- userActivityRemoteApplicationTimedOutError
- userCancelled
- userCancelledError
- xpcConnectionInterrupted
- xpcConnectionInvalid
- xpcConnectionReplyInvalid
- CollectionDifference
- CollectionOfOne @done
- withUnsafeBytes(_:)
- Comparator @done
- ComparisonResult @done
- RawValue
- init(rawValue:)
- orderedAscending
- orderedDescending
- orderedSame
- rawValue
- ContiguousArray @done
- Regions
- regions
- ContiguousBytes @done
- withUnsafeBytes(_:)
- CustomNSError @done
- errorCode
- errorCode
- errorCode
- errorDomain
- errorDomain
- errorUserInfo
- errorUserInfo
- Data @done
- ==(_:_:)
- Base64DecodingOptions
- Base64EncodingOptions
- Deallocator
- custom
- free
- none
- unmap
- virtualMemory
- Element
- Index
- Indices
- Iterator
- Element
- next()
- ReadingOptions
- ReferenceType
- Regions
- SearchOptions
- SubSequence
- WritingOptions
- advanced(by:)
- append(_:)
- append(_:)
- append(_:count:)
- append(contentsOf:)
- append(contentsOf:)
- base64EncodedData(options:)
- Foundation.Data.Base64EncodingOptions
- base64EncodedString(options:)
- Foundation.Data.Base64EncodingOptions
- copyBytes(to:count:)
- copyBytes(to:from:)
- copyBytes(to:from:)
- count
- customMirror
- debugDescription
- description
- encode(to:)
- endIndex
- Foundation.Data.Index
- enumerateBytes(_:)
- hash(into:)
- hashValue
- index(after:)
- Foundation.Data.Index
- Foundation.Data.Index
- index(before:)
- Foundation.Data.Index
- Foundation.Data.Index
- indices
- init()
- init(_:)
- init(base64Encoded:options:)
- Foundation.Data.Base64DecodingOptions
- init(base64Encoded:options:)
- Foundation.Data.Base64DecodingOptions
- init(buffer:)
- init(buffer:)
- init(bytes:)
- init(bytes:count:)
- init(bytesNoCopy:count:deallocator:)
- init(capacity:)
- init(contentsOf:options:)
- Foundation.Data.ReadingOptions
- init(count:)
- init(from:)
- init(referencing:)
- init(repeating:count:)
- makeIterator()
- range(of:options:in:)
- Foundation.Data.SearchOptions
- regions
- replaceSubrange(_:with:)
- replaceSubrange(_:with:)
- replaceSubrange(_:with:)
- replaceSubrange(_:with:count:)
- reserveCapacity(_:)
- resetBytes(in:)
- startIndex
- Foundation.Data.Index
- subdata(in:)
- subscript(_:)
- Foundation.Data.Index
- subscript(_:)
- subscript(_:)
- withUnsafeBytes(_:)
- withUnsafeBytes(_:)
- withUnsafeMutableBytes(_:)
- withUnsafeMutableBytes(_:)
- write(to:options:)
- Foundation.Data.WritingOptions
- DataProtocol @done
- Regions
- copyBytes(to:)
- copyBytes(to:)
- copyBytes(to:count:)
- copyBytes(to:count:)
- copyBytes(to:count:)
- copyBytes(to:count:)
- copyBytes(to:from:)
- copyBytes(to:from:)
- copyBytes(to:from:)
- copyBytes(to:from:)
- copyBytes(to:from:)
- firstRange(of:)
- firstRange(of:in:)
- firstRange(of:in:)
- lastRange(of:)
- lastRange(of:in:)
- lastRange(of:in:)
- regions
- Date @done
- +(_:_:)
- Foundation.TimeInterval
- +=(_:_:)
- Foundation.TimeInterval
- -(_:_:)
- Foundation.TimeInterval
- -=(_:_:)
- Foundation.TimeInterval
- <(_:_:)
- ==(_:_:)
- >(_:_:)
- ReferenceType
- Stride
- Foundation.TimeInterval
- addTimeInterval(_:)
- Foundation.TimeInterval
- addingTimeInterval(_:)
- Foundation.TimeInterval
- advanced(by:)
- Foundation.TimeInterval
- compare(_:)
- customMirror
- customPlaygroundQuickLook
- Swift.PlaygroundQuickLook
- debugDescription
- description
- description(with:)
- distance(to:)
- Foundation.TimeInterval
- distantFuture
- distantPast
- encode(to:)
- hash(into:)
- hashValue
- init()
- init(from:)
- init(timeInterval:since:)
- Foundation.TimeInterval
- init(timeIntervalSince1970:)
- Foundation.TimeInterval
- init(timeIntervalSinceNow:)
- Foundation.TimeInterval
- init(timeIntervalSinceReferenceDate:)
- Foundation.TimeInterval
- timeIntervalBetween1970AndReferenceDate
- Foundation.TimeInterval
- timeIntervalSince(_:)
- Foundation.TimeInterval
- timeIntervalSince1970
- Foundation.TimeInterval
- timeIntervalSinceNow
- Foundation.TimeInterval
- timeIntervalSinceReferenceDate
- Foundation.TimeInterval
- timeIntervalSinceReferenceDate
- Foundation.TimeInterval
- DateComponents @done
- ==(_:_:)
- ReferenceType
- calendar
- customMirror
- date
- day
- debugDescription
- description
- encode(to:)
- era
- hash(into:)
- hashValue
- hour
- init(calendar:timeZone:era:year:month:day:hour:minute:second:nanosecond:weekday:weekdayOrdinal:quarter:weekOfMonth:weekOfYear:yearForWeekOfYear:)
- init(from:)
- isLeapMonth
- isValidDate
- isValidDate(in:)
- minute
- month
- nanosecond
- quarter
- second
- setValue(_:for:)
- timeZone
- value(for:)
- weekOfMonth
- weekOfYear
- weekday
- weekdayOrdinal
- year
- yearForWeekOfYear
- DateComponentsFormatter @done
- UnitsStyle
- RawValue
- abbreviated
- brief
- full
- init(rawValue:)
- positional
- rawValue
- short
- spellOut
- ZeroFormattingBehavior
- ArrayLiteralElement
- Element
- RawValue
- default
- dropAll
- dropLeading
- dropMiddle
- dropTrailing
- init(rawValue:)
- pad
- rawValue
- allowedUnits
- allowsFractionalUnits
- calendar
- collapsesLargestUnit
- formattingContext
- getObjectValue(_:for:errorDescription:)
- includesApproximationPhrase
- includesTimeRemainingPhrase
- init()
- localizedString(from:unitsStyle:)
- maximumUnitCount
- referenceDate
- string(for:)
- string(from:)
- string(from:)
- Foundation.TimeInterval
- string(from:to:)
- unitsStyle
- zeroFormattingBehavior
- DateFormatter @done
- Behavior
- RawValue
- behavior10_0
- behavior10_4
- default
- init(rawValue:)
- rawValue
- Style
- RawValue
- full
- init(rawValue:)
- long
- medium
- none
- rawValue