forked from andelf/Defines-Swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoreFoundation.swift
4184 lines (4151 loc) · 208 KB
/
CoreFoundation.swift
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
@exported import Darwin.POSIX.sys.types
@exported import Darwin.C.stdarg
@exported import Darwin.cdefs
@exported import Darwin.C.ctype
@exported import Darwin.C.errno
@exported import Darwin.C.float
@exported import Darwin.C.limits
@exported import Darwin.C.locale
@exported import Darwin.C.math
@exported import Darwin.C.setjmp
@exported import Darwin.C.signal
@exported import Darwin.C.stddef
@exported import Darwin.C.stdio
@exported import Darwin.C.stdlib
@exported import Darwin.C.string
@exported import Darwin.C.time
@exported import Darwin.C.inttypes
@exported import Darwin.C.stdbool
@exported import Darwin.C.stdint
@exported import CoreFoundation.CFBase
@exported import CoreFoundation.CFArray
@exported import CoreFoundation.CFBag
@exported import CoreFoundation.CFBinaryHeap
@exported import CoreFoundation.CFBitVector
@exported import CoreFoundation.CFByteOrder
@exported import CoreFoundation.CFCalendar
@exported import CoreFoundation.CFCharacterSet
@exported import CoreFoundation.CFData
@exported import CoreFoundation.CFDate
@exported import CoreFoundation.CFDateFormatter
@exported import CoreFoundation.CFDictionary
@exported import CoreFoundation.CFError
@exported import CoreFoundation.CFLocale
@exported import CoreFoundation.CFNumber
@exported import CoreFoundation.CFNumberFormatter
@exported import CoreFoundation.CFPreferences
@exported import CoreFoundation.CFPropertyList
@exported import CoreFoundation.CFSet
@exported import CoreFoundation.CFString
@exported import CoreFoundation.CFStringEncodingExt
@exported import CoreFoundation.CFTimeZone
@exported import CoreFoundation.CFTree
@exported import CoreFoundation.CFURL
@exported import CoreFoundation.CFURLAccess
@exported import CoreFoundation.CFUUID
@exported import CoreFoundation.CFUtilities
@exported import CoreFoundation.CFBundle
@exported import CoreFoundation.CFMessagePort
@exported import CoreFoundation.CFPlugIn
@exported import CoreFoundation.CFRunLoop
@exported import CoreFoundation.CFStream
@exported import CoreFoundation.CFSocket
@exported import CoreFoundation.CFAttributedString
@exported import CoreFoundation.CFNotificationCenter
@exported import CoreFoundation.CFURLEnumerator
@exported import CoreFoundation.CFFileSecurity
@exported import CoreFoundation.CFMachPort
@exported import CoreFoundation.CFStringTokenizer
@exported import CoreFoundation.CFFileDescriptor
@exported import CoreFoundation.CFUserNotification
@exported import CoreFoundation.CFXMLNode
@exported import CoreFoundation.CFXMLParser
typealias CFAbsoluteTime = CFTimeInterval
func CFAbsoluteTimeAddGregorianUnits(at: CFAbsoluteTime, tz: CFTimeZone!, units: CFGregorianUnits) -> CFAbsoluteTime
func CFAbsoluteTimeAddGregorianUnits(at: CFAbsoluteTime, tz: CFTimeZone!, units: CFGregorianUnits) -> CFAbsoluteTime
func CFAbsoluteTimeGetCurrent() -> CFAbsoluteTime
func CFAbsoluteTimeGetCurrent() -> CFAbsoluteTime
func CFAbsoluteTimeGetDayOfWeek(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAbsoluteTimeGetDayOfWeek(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAbsoluteTimeGetDayOfYear(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAbsoluteTimeGetDayOfYear(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAbsoluteTimeGetDifferenceAsGregorianUnits(at1: CFAbsoluteTime, at2: CFAbsoluteTime, tz: CFTimeZone!, unitFlags: CFOptionFlags) -> CFGregorianUnits
func CFAbsoluteTimeGetDifferenceAsGregorianUnits(at1: CFAbsoluteTime, at2: CFAbsoluteTime, tz: CFTimeZone!, unitFlags: CFOptionFlags) -> CFGregorianUnits
func CFAbsoluteTimeGetGregorianDate(at: CFAbsoluteTime, tz: CFTimeZone!) -> CFGregorianDate
func CFAbsoluteTimeGetGregorianDate(at: CFAbsoluteTime, tz: CFTimeZone!) -> CFGregorianDate
func CFAbsoluteTimeGetWeekOfYear(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAbsoluteTimeGetWeekOfYear(at: CFAbsoluteTime, tz: CFTimeZone!) -> Int32
func CFAllocatorAllocate(allocator: CFAllocator!, size: CFIndex, hint: CFOptionFlags) -> COpaquePointer
func CFAllocatorAllocate(allocator: CFAllocator!, size: CFIndex, hint: CFOptionFlags) -> COpaquePointer
struct CFAllocatorContext {
var version: CFIndex
var info: COpaquePointer
init(version: CFIndex, info: COpaquePointer)
}
func CFAllocatorCreate(allocator: CFAllocator!, context: CMutablePointer<CFAllocatorContext>) -> Unmanaged<CFAllocator>!
func CFAllocatorCreate(allocator: CFAllocator!, context: CMutablePointer<CFAllocatorContext>) -> Unmanaged<CFAllocator>!
func CFAllocatorDeallocate(allocator: CFAllocator!, ptr: CMutableVoidPointer)
func CFAllocatorDeallocate(allocator: CFAllocator!, ptr: CMutableVoidPointer)
func CFAllocatorGetContext(allocator: CFAllocator!, context: CMutablePointer<CFAllocatorContext>)
func CFAllocatorGetContext(allocator: CFAllocator!, context: CMutablePointer<CFAllocatorContext>)
func CFAllocatorGetDefault() -> Unmanaged<CFAllocator>!
func CFAllocatorGetDefault() -> Unmanaged<CFAllocator>!
func CFAllocatorGetPreferredSizeForSize(allocator: CFAllocator!, size: CFIndex, hint: CFOptionFlags) -> CFIndex
func CFAllocatorGetPreferredSizeForSize(allocator: CFAllocator!, size: CFIndex, hint: CFOptionFlags) -> CFIndex
func CFAllocatorGetTypeID() -> CFTypeID
func CFAllocatorGetTypeID() -> CFTypeID
func CFAllocatorReallocate(allocator: CFAllocator!, ptr: CMutableVoidPointer, newsize: CFIndex, hint: CFOptionFlags) -> COpaquePointer
func CFAllocatorReallocate(allocator: CFAllocator!, ptr: CMutableVoidPointer, newsize: CFIndex, hint: CFOptionFlags) -> COpaquePointer
typealias CFAllocatorRef = CFAllocator
func CFAllocatorSetDefault(allocator: CFAllocator!)
func CFAllocatorSetDefault(allocator: CFAllocator!)
func CFArrayAppendArray(theArray: CFMutableArray!, otherArray: CFArray!, otherRange: CFRange)
func CFArrayAppendArray(theArray: CFMutableArray!, otherArray: CFArray!, otherRange: CFRange)
func CFArrayAppendValue(theArray: CFMutableArray!, value: CConstVoidPointer)
func CFArrayAppendValue(theArray: CFMutableArray!, value: CConstVoidPointer)
struct CFArrayCallBacks {
var version: CFIndex
init(version: CFIndex)
}
func CFArrayContainsValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> Boolean
func CFArrayContainsValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> Boolean
func CFArrayCreate(allocator: CFAllocator!, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, callBacks: CConstPointer<CFArrayCallBacks>) -> CFArray!
func CFArrayCreate(allocator: CFAllocator!, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, callBacks: CConstPointer<CFArrayCallBacks>) -> CFArray!
func CFArrayCreateCopy(allocator: CFAllocator!, theArray: CFArray!) -> CFArray!
func CFArrayCreateCopy(allocator: CFAllocator!, theArray: CFArray!) -> CFArray!
func CFArrayCreateMutable(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFArrayCallBacks>) -> CFMutableArray!
func CFArrayCreateMutable(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFArrayCallBacks>) -> CFMutableArray!
func CFArrayCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theArray: CFArray!) -> CFMutableArray!
func CFArrayCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theArray: CFArray!) -> CFMutableArray!
func CFArrayExchangeValuesAtIndices(theArray: CFMutableArray!, idx1: CFIndex, idx2: CFIndex)
func CFArrayExchangeValuesAtIndices(theArray: CFMutableArray!, idx1: CFIndex, idx2: CFIndex)
func CFArrayGetCount(theArray: CFArray!) -> CFIndex
func CFArrayGetCount(theArray: CFArray!) -> CFIndex
func CFArrayGetCountOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetCountOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetFirstIndexOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetFirstIndexOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetLastIndexOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetLastIndexOfValue(theArray: CFArray!, range: CFRange, value: CConstVoidPointer) -> CFIndex
func CFArrayGetTypeID() -> CFTypeID
func CFArrayGetTypeID() -> CFTypeID
func CFArrayGetValueAtIndex(theArray: CFArray!, idx: CFIndex) -> COpaquePointer
func CFArrayGetValueAtIndex(theArray: CFArray!, idx: CFIndex) -> COpaquePointer
func CFArrayGetValues(theArray: CFArray!, range: CFRange, values: CMutablePointer<COpaquePointer>)
func CFArrayGetValues(theArray: CFArray!, range: CFRange, values: CMutablePointer<COpaquePointer>)
func CFArrayInsertValueAtIndex(theArray: CFMutableArray!, idx: CFIndex, value: CConstVoidPointer)
func CFArrayInsertValueAtIndex(theArray: CFMutableArray!, idx: CFIndex, value: CConstVoidPointer)
typealias CFArrayRef = CFArray
func CFArrayRemoveAllValues(theArray: CFMutableArray!)
func CFArrayRemoveAllValues(theArray: CFMutableArray!)
func CFArrayRemoveValueAtIndex(theArray: CFMutableArray!, idx: CFIndex)
func CFArrayRemoveValueAtIndex(theArray: CFMutableArray!, idx: CFIndex)
func CFArrayReplaceValues(theArray: CFMutableArray!, range: CFRange, newValues: CMutablePointer<COpaquePointer>, newCount: CFIndex)
func CFArrayReplaceValues(theArray: CFMutableArray!, range: CFRange, newValues: CMutablePointer<COpaquePointer>, newCount: CFIndex)
func CFArraySetValueAtIndex(theArray: CFMutableArray!, idx: CFIndex, value: CConstVoidPointer)
func CFArraySetValueAtIndex(theArray: CFMutableArray!, idx: CFIndex, value: CConstVoidPointer)
func CFAttributedStringBeginEditing(aStr: CFMutableAttributedString!)
func CFAttributedStringBeginEditing(aStr: CFMutableAttributedString!)
func CFAttributedStringCreate(alloc: CFAllocator!, str: CFString!, attributes: CFDictionary!) -> CFAttributedString!
func CFAttributedStringCreate(alloc: CFAllocator!, str: CFString!, attributes: CFDictionary!) -> CFAttributedString!
func CFAttributedStringCreateCopy(alloc: CFAllocator!, aStr: CFAttributedString!) -> CFAttributedString!
func CFAttributedStringCreateCopy(alloc: CFAllocator!, aStr: CFAttributedString!) -> CFAttributedString!
func CFAttributedStringCreateMutable(alloc: CFAllocator!, maxLength: CFIndex) -> CFMutableAttributedString!
func CFAttributedStringCreateMutable(alloc: CFAllocator!, maxLength: CFIndex) -> CFMutableAttributedString!
func CFAttributedStringCreateMutableCopy(alloc: CFAllocator!, maxLength: CFIndex, aStr: CFAttributedString!) -> CFMutableAttributedString!
func CFAttributedStringCreateMutableCopy(alloc: CFAllocator!, maxLength: CFIndex, aStr: CFAttributedString!) -> CFMutableAttributedString!
func CFAttributedStringCreateWithSubstring(alloc: CFAllocator!, aStr: CFAttributedString!, range: CFRange) -> CFAttributedString!
func CFAttributedStringCreateWithSubstring(alloc: CFAllocator!, aStr: CFAttributedString!, range: CFRange) -> CFAttributedString!
func CFAttributedStringEndEditing(aStr: CFMutableAttributedString!)
func CFAttributedStringEndEditing(aStr: CFMutableAttributedString!)
func CFAttributedStringGetAttribute(aStr: CFAttributedString!, loc: CFIndex, attrName: CFString!, effectiveRange: CMutablePointer<CFRange>) -> AnyObject!
func CFAttributedStringGetAttribute(aStr: CFAttributedString!, loc: CFIndex, attrName: CFString!, effectiveRange: CMutablePointer<CFRange>) -> AnyObject!
func CFAttributedStringGetAttributeAndLongestEffectiveRange(aStr: CFAttributedString!, loc: CFIndex, attrName: CFString!, inRange: CFRange, longestEffectiveRange: CMutablePointer<CFRange>) -> AnyObject!
func CFAttributedStringGetAttributeAndLongestEffectiveRange(aStr: CFAttributedString!, loc: CFIndex, attrName: CFString!, inRange: CFRange, longestEffectiveRange: CMutablePointer<CFRange>) -> AnyObject!
func CFAttributedStringGetAttributes(aStr: CFAttributedString!, loc: CFIndex, effectiveRange: CMutablePointer<CFRange>) -> CFDictionary!
func CFAttributedStringGetAttributes(aStr: CFAttributedString!, loc: CFIndex, effectiveRange: CMutablePointer<CFRange>) -> CFDictionary!
func CFAttributedStringGetAttributesAndLongestEffectiveRange(aStr: CFAttributedString!, loc: CFIndex, inRange: CFRange, longestEffectiveRange: CMutablePointer<CFRange>) -> CFDictionary!
func CFAttributedStringGetAttributesAndLongestEffectiveRange(aStr: CFAttributedString!, loc: CFIndex, inRange: CFRange, longestEffectiveRange: CMutablePointer<CFRange>) -> CFDictionary!
func CFAttributedStringGetLength(aStr: CFAttributedString!) -> CFIndex
func CFAttributedStringGetLength(aStr: CFAttributedString!) -> CFIndex
func CFAttributedStringGetMutableString(aStr: CFMutableAttributedString!) -> CFMutableString!
func CFAttributedStringGetMutableString(aStr: CFMutableAttributedString!) -> CFMutableString!
func CFAttributedStringGetString(aStr: CFAttributedString!) -> CFString!
func CFAttributedStringGetString(aStr: CFAttributedString!) -> CFString!
func CFAttributedStringGetTypeID() -> CFTypeID
func CFAttributedStringGetTypeID() -> CFTypeID
typealias CFAttributedStringRef = CFAttributedString
func CFAttributedStringRemoveAttribute(aStr: CFMutableAttributedString!, range: CFRange, attrName: CFString!)
func CFAttributedStringRemoveAttribute(aStr: CFMutableAttributedString!, range: CFRange, attrName: CFString!)
func CFAttributedStringReplaceAttributedString(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFAttributedString!)
func CFAttributedStringReplaceAttributedString(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFAttributedString!)
func CFAttributedStringReplaceString(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFString!)
func CFAttributedStringReplaceString(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFString!)
func CFAttributedStringSetAttribute(aStr: CFMutableAttributedString!, range: CFRange, attrName: CFString!, value: AnyObject!)
func CFAttributedStringSetAttribute(aStr: CFMutableAttributedString!, range: CFRange, attrName: CFString!, value: AnyObject!)
func CFAttributedStringSetAttributes(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFDictionary!, clearOtherAttributes: Boolean)
func CFAttributedStringSetAttributes(aStr: CFMutableAttributedString!, range: CFRange, replacement: CFDictionary!, clearOtherAttributes: Boolean)
func CFAutorelease(arg: AnyObject!) -> AnyObject!
func CFAutorelease(arg: AnyObject!) -> AnyObject!
func CFBagAddValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagAddValue(theBag: CFMutableBag!, value: CConstVoidPointer)
struct CFBagCallBacks {
var version: CFIndex
init(version: CFIndex)
}
func CFBagContainsValue(theBag: CFBag!, value: CConstVoidPointer) -> Boolean
func CFBagContainsValue(theBag: CFBag!, value: CConstVoidPointer) -> Boolean
func CFBagCreate(allocator: CFAllocator!, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, callBacks: CConstPointer<CFBagCallBacks>) -> CFBag!
func CFBagCreate(allocator: CFAllocator!, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, callBacks: CConstPointer<CFBagCallBacks>) -> CFBag!
func CFBagCreateCopy(allocator: CFAllocator!, theBag: CFBag!) -> CFBag!
func CFBagCreateCopy(allocator: CFAllocator!, theBag: CFBag!) -> CFBag!
func CFBagCreateMutable(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFBagCallBacks>) -> CFMutableBag!
func CFBagCreateMutable(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFBagCallBacks>) -> CFMutableBag!
func CFBagCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theBag: CFBag!) -> CFMutableBag!
func CFBagCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theBag: CFBag!) -> CFMutableBag!
func CFBagGetCount(theBag: CFBag!) -> CFIndex
func CFBagGetCount(theBag: CFBag!) -> CFIndex
func CFBagGetCountOfValue(theBag: CFBag!, value: CConstVoidPointer) -> CFIndex
func CFBagGetCountOfValue(theBag: CFBag!, value: CConstVoidPointer) -> CFIndex
func CFBagGetTypeID() -> CFTypeID
func CFBagGetTypeID() -> CFTypeID
func CFBagGetValue(theBag: CFBag!, value: CConstVoidPointer) -> COpaquePointer
func CFBagGetValue(theBag: CFBag!, value: CConstVoidPointer) -> COpaquePointer
func CFBagGetValueIfPresent(theBag: CFBag!, candidate: CConstVoidPointer, value: CMutablePointer<COpaquePointer>) -> Boolean
func CFBagGetValueIfPresent(theBag: CFBag!, candidate: CConstVoidPointer, value: CMutablePointer<COpaquePointer>) -> Boolean
func CFBagGetValues(theBag: CFBag!, values: CMutablePointer<COpaquePointer>)
func CFBagGetValues(theBag: CFBag!, values: CMutablePointer<COpaquePointer>)
typealias CFBagRef = CFBag
func CFBagRemoveAllValues(theBag: CFMutableBag!)
func CFBagRemoveAllValues(theBag: CFMutableBag!)
func CFBagRemoveValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagRemoveValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagReplaceValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagReplaceValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagSetValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBagSetValue(theBag: CFMutableBag!, value: CConstVoidPointer)
func CFBinaryHeapAddValue(heap: CFBinaryHeap!, value: CConstVoidPointer)
func CFBinaryHeapAddValue(heap: CFBinaryHeap!, value: CConstVoidPointer)
struct CFBinaryHeapCallBacks {
var version: CFIndex
init(version: CFIndex)
}
struct CFBinaryHeapCompareContext {
var version: CFIndex
var info: COpaquePointer
init(version: CFIndex, info: COpaquePointer)
}
func CFBinaryHeapContainsValue(heap: CFBinaryHeap!, value: CConstVoidPointer) -> Boolean
func CFBinaryHeapContainsValue(heap: CFBinaryHeap!, value: CConstVoidPointer) -> Boolean
func CFBinaryHeapCreate(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFBinaryHeapCallBacks>, compareContext: CConstPointer<CFBinaryHeapCompareContext>) -> CFBinaryHeap!
func CFBinaryHeapCreate(allocator: CFAllocator!, capacity: CFIndex, callBacks: CConstPointer<CFBinaryHeapCallBacks>, compareContext: CConstPointer<CFBinaryHeapCompareContext>) -> CFBinaryHeap!
func CFBinaryHeapCreateCopy(allocator: CFAllocator!, capacity: CFIndex, heap: CFBinaryHeap!) -> CFBinaryHeap!
func CFBinaryHeapCreateCopy(allocator: CFAllocator!, capacity: CFIndex, heap: CFBinaryHeap!) -> CFBinaryHeap!
func CFBinaryHeapGetCount(heap: CFBinaryHeap!) -> CFIndex
func CFBinaryHeapGetCount(heap: CFBinaryHeap!) -> CFIndex
func CFBinaryHeapGetCountOfValue(heap: CFBinaryHeap!, value: CConstVoidPointer) -> CFIndex
func CFBinaryHeapGetCountOfValue(heap: CFBinaryHeap!, value: CConstVoidPointer) -> CFIndex
func CFBinaryHeapGetMinimum(heap: CFBinaryHeap!) -> COpaquePointer
func CFBinaryHeapGetMinimum(heap: CFBinaryHeap!) -> COpaquePointer
func CFBinaryHeapGetMinimumIfPresent(heap: CFBinaryHeap!, value: CMutablePointer<COpaquePointer>) -> Boolean
func CFBinaryHeapGetMinimumIfPresent(heap: CFBinaryHeap!, value: CMutablePointer<COpaquePointer>) -> Boolean
func CFBinaryHeapGetTypeID() -> CFTypeID
func CFBinaryHeapGetTypeID() -> CFTypeID
func CFBinaryHeapGetValues(heap: CFBinaryHeap!, values: CMutablePointer<COpaquePointer>)
func CFBinaryHeapGetValues(heap: CFBinaryHeap!, values: CMutablePointer<COpaquePointer>)
typealias CFBinaryHeapRef = CFBinaryHeap
func CFBinaryHeapRemoveAllValues(heap: CFBinaryHeap!)
func CFBinaryHeapRemoveAllValues(heap: CFBinaryHeap!)
func CFBinaryHeapRemoveMinimumValue(heap: CFBinaryHeap!)
func CFBinaryHeapRemoveMinimumValue(heap: CFBinaryHeap!)
typealias CFBit = UInt32
func CFBitVectorContainsBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> Boolean
func CFBitVectorContainsBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> Boolean
func CFBitVectorCreate(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, numBits: CFIndex) -> CFBitVector!
func CFBitVectorCreate(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, numBits: CFIndex) -> CFBitVector!
func CFBitVectorCreateCopy(allocator: CFAllocator!, bv: CFBitVector!) -> CFBitVector!
func CFBitVectorCreateCopy(allocator: CFAllocator!, bv: CFBitVector!) -> CFBitVector!
func CFBitVectorCreateMutable(allocator: CFAllocator!, capacity: CFIndex) -> CFMutableBitVector!
func CFBitVectorCreateMutable(allocator: CFAllocator!, capacity: CFIndex) -> CFMutableBitVector!
func CFBitVectorCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, bv: CFBitVector!) -> CFMutableBitVector!
func CFBitVectorCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, bv: CFBitVector!) -> CFMutableBitVector!
func CFBitVectorFlipBitAtIndex(bv: CFMutableBitVector!, idx: CFIndex)
func CFBitVectorFlipBitAtIndex(bv: CFMutableBitVector!, idx: CFIndex)
func CFBitVectorFlipBits(bv: CFMutableBitVector!, range: CFRange)
func CFBitVectorFlipBits(bv: CFMutableBitVector!, range: CFRange)
func CFBitVectorGetBitAtIndex(bv: CFBitVector!, idx: CFIndex) -> CFBit
func CFBitVectorGetBitAtIndex(bv: CFBitVector!, idx: CFIndex) -> CFBit
func CFBitVectorGetBits(bv: CFBitVector!, range: CFRange, bytes: CMutablePointer<UInt8>)
func CFBitVectorGetBits(bv: CFBitVector!, range: CFRange, bytes: CMutablePointer<UInt8>)
func CFBitVectorGetCount(bv: CFBitVector!) -> CFIndex
func CFBitVectorGetCount(bv: CFBitVector!) -> CFIndex
func CFBitVectorGetCountOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetCountOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetFirstIndexOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetFirstIndexOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetLastIndexOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetLastIndexOfBit(bv: CFBitVector!, range: CFRange, value: CFBit) -> CFIndex
func CFBitVectorGetTypeID() -> CFTypeID
func CFBitVectorGetTypeID() -> CFTypeID
typealias CFBitVectorRef = CFBitVector
func CFBitVectorSetAllBits(bv: CFMutableBitVector!, value: CFBit)
func CFBitVectorSetAllBits(bv: CFMutableBitVector!, value: CFBit)
func CFBitVectorSetBitAtIndex(bv: CFMutableBitVector!, idx: CFIndex, value: CFBit)
func CFBitVectorSetBitAtIndex(bv: CFMutableBitVector!, idx: CFIndex, value: CFBit)
func CFBitVectorSetBits(bv: CFMutableBitVector!, range: CFRange, value: CFBit)
func CFBitVectorSetBits(bv: CFMutableBitVector!, range: CFRange, value: CFBit)
func CFBitVectorSetCount(bv: CFMutableBitVector!, count: CFIndex)
func CFBitVectorSetCount(bv: CFMutableBitVector!, count: CFIndex)
func CFBooleanGetTypeID() -> CFTypeID
func CFBooleanGetTypeID() -> CFTypeID
func CFBooleanGetValue(boolean: CFBoolean!) -> Boolean
func CFBooleanGetValue(boolean: CFBoolean!) -> Boolean
typealias CFBooleanRef = CFBoolean
func CFBundleCloseBundleResourceMap(bundle: CFBundle!, refNum: CFBundleRefNum)
func CFBundleCloseBundleResourceMap(bundle: CFBundle!, refNum: CFBundleRefNum)
func CFBundleCopyAuxiliaryExecutableURL(bundle: CFBundle!, executableName: CFString!) -> CFURL!
func CFBundleCopyAuxiliaryExecutableURL(bundle: CFBundle!, executableName: CFString!) -> CFURL!
func CFBundleCopyBuiltInPlugInsURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyBuiltInPlugInsURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyBundleLocalizations(bundle: CFBundle!) -> CFArray!
func CFBundleCopyBundleLocalizations(bundle: CFBundle!) -> CFArray!
func CFBundleCopyBundleURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyBundleURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyExecutableArchitectures(bundle: CFBundle!) -> CFArray!
func CFBundleCopyExecutableArchitectures(bundle: CFBundle!) -> CFArray!
func CFBundleCopyExecutableArchitecturesForURL(url: CFURL!) -> CFArray!
func CFBundleCopyExecutableArchitecturesForURL(url: CFURL!) -> CFArray!
func CFBundleCopyExecutableURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyExecutableURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyInfoDictionaryForURL(url: CFURL!) -> CFDictionary!
func CFBundleCopyInfoDictionaryForURL(url: CFURL!) -> CFDictionary!
func CFBundleCopyInfoDictionaryInDirectory(bundleURL: CFURL!) -> CFDictionary!
func CFBundleCopyInfoDictionaryInDirectory(bundleURL: CFURL!) -> CFDictionary!
func CFBundleCopyLocalizationsForPreferences(locArray: CFArray!, prefArray: CFArray!) -> CFArray!
func CFBundleCopyLocalizationsForPreferences(locArray: CFArray!, prefArray: CFArray!) -> CFArray!
func CFBundleCopyLocalizationsForURL(url: CFURL!) -> CFArray!
func CFBundleCopyLocalizationsForURL(url: CFURL!) -> CFArray!
func CFBundleCopyLocalizedString(bundle: CFBundle!, key: CFString!, value: CFString!, tableName: CFString!) -> CFString!
func CFBundleCopyLocalizedString(bundle: CFBundle!, key: CFString!, value: CFString!, tableName: CFString!) -> CFString!
func CFBundleCopyPreferredLocalizationsFromArray(locArray: CFArray!) -> CFArray!
func CFBundleCopyPreferredLocalizationsFromArray(locArray: CFArray!) -> CFArray!
func CFBundleCopyPrivateFrameworksURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyPrivateFrameworksURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyResourceURL(bundle: CFBundle!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!) -> CFURL!
func CFBundleCopyResourceURL(bundle: CFBundle!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!) -> CFURL!
func CFBundleCopyResourceURLForLocalization(bundle: CFBundle!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!, localizationName: CFString!) -> CFURL!
func CFBundleCopyResourceURLForLocalization(bundle: CFBundle!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!, localizationName: CFString!) -> CFURL!
func CFBundleCopyResourceURLInDirectory(bundleURL: CFURL!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!) -> CFURL!
func CFBundleCopyResourceURLInDirectory(bundleURL: CFURL!, resourceName: CFString!, resourceType: CFString!, subDirName: CFString!) -> CFURL!
func CFBundleCopyResourceURLsOfType(bundle: CFBundle!, resourceType: CFString!, subDirName: CFString!) -> CFArray!
func CFBundleCopyResourceURLsOfType(bundle: CFBundle!, resourceType: CFString!, subDirName: CFString!) -> CFArray!
func CFBundleCopyResourceURLsOfTypeForLocalization(bundle: CFBundle!, resourceType: CFString!, subDirName: CFString!, localizationName: CFString!) -> CFArray!
func CFBundleCopyResourceURLsOfTypeForLocalization(bundle: CFBundle!, resourceType: CFString!, subDirName: CFString!, localizationName: CFString!) -> CFArray!
func CFBundleCopyResourceURLsOfTypeInDirectory(bundleURL: CFURL!, resourceType: CFString!, subDirName: CFString!) -> CFArray!
func CFBundleCopyResourceURLsOfTypeInDirectory(bundleURL: CFURL!, resourceType: CFString!, subDirName: CFString!) -> CFArray!
func CFBundleCopyResourcesDirectoryURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopyResourcesDirectoryURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySharedFrameworksURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySharedFrameworksURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySharedSupportURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySharedSupportURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySupportFilesDirectoryURL(bundle: CFBundle!) -> CFURL!
func CFBundleCopySupportFilesDirectoryURL(bundle: CFBundle!) -> CFURL!
func CFBundleCreate(allocator: CFAllocator!, bundleURL: CFURL!) -> CFBundle!
func CFBundleCreate(allocator: CFAllocator!, bundleURL: CFURL!) -> CFBundle!
func CFBundleCreateBundlesFromDirectory(allocator: CFAllocator!, directoryURL: CFURL!, bundleType: CFString!) -> CFArray!
func CFBundleCreateBundlesFromDirectory(allocator: CFAllocator!, directoryURL: CFURL!, bundleType: CFString!) -> CFArray!
func CFBundleGetAllBundles() -> CFArray!
func CFBundleGetAllBundles() -> CFArray!
func CFBundleGetBundleWithIdentifier(bundleID: CFString!) -> CFBundle!
func CFBundleGetBundleWithIdentifier(bundleID: CFString!) -> CFBundle!
func CFBundleGetDataPointerForName(bundle: CFBundle!, symbolName: CFString!) -> COpaquePointer
func CFBundleGetDataPointerForName(bundle: CFBundle!, symbolName: CFString!) -> COpaquePointer
func CFBundleGetDataPointersForNames(bundle: CFBundle!, symbolNames: CFArray!, stbl: CMutablePointer<COpaquePointer>)
func CFBundleGetDataPointersForNames(bundle: CFBundle!, symbolNames: CFArray!, stbl: CMutablePointer<COpaquePointer>)
func CFBundleGetDevelopmentRegion(bundle: CFBundle!) -> CFString!
func CFBundleGetDevelopmentRegion(bundle: CFBundle!) -> CFString!
func CFBundleGetFunctionPointerForName(bundle: CFBundle!, functionName: CFString!) -> COpaquePointer
func CFBundleGetFunctionPointerForName(bundle: CFBundle!, functionName: CFString!) -> COpaquePointer
func CFBundleGetFunctionPointersForNames(bundle: CFBundle!, functionNames: CFArray!, ftbl: CMutablePointer<COpaquePointer>)
func CFBundleGetFunctionPointersForNames(bundle: CFBundle!, functionNames: CFArray!, ftbl: CMutablePointer<COpaquePointer>)
func CFBundleGetIdentifier(bundle: CFBundle!) -> CFString!
func CFBundleGetIdentifier(bundle: CFBundle!) -> CFString!
func CFBundleGetInfoDictionary(bundle: CFBundle!) -> CFDictionary!
func CFBundleGetInfoDictionary(bundle: CFBundle!) -> CFDictionary!
func CFBundleGetLocalInfoDictionary(bundle: CFBundle!) -> CFDictionary!
func CFBundleGetLocalInfoDictionary(bundle: CFBundle!) -> CFDictionary!
func CFBundleGetMainBundle() -> CFBundle!
func CFBundleGetMainBundle() -> CFBundle!
func CFBundleGetPackageInfo(bundle: CFBundle!, packageType: CMutablePointer<UInt32>, packageCreator: CMutablePointer<UInt32>)
func CFBundleGetPackageInfo(bundle: CFBundle!, packageType: CMutablePointer<UInt32>, packageCreator: CMutablePointer<UInt32>)
func CFBundleGetPackageInfoInDirectory(url: CFURL!, packageType: CMutablePointer<UInt32>, packageCreator: CMutablePointer<UInt32>) -> Boolean
func CFBundleGetPackageInfoInDirectory(url: CFURL!, packageType: CMutablePointer<UInt32>, packageCreator: CMutablePointer<UInt32>) -> Boolean
func CFBundleGetPlugIn(bundle: CFBundle!) -> CFPlugIn!
func CFBundleGetPlugIn(bundle: CFBundle!) -> CFPlugIn!
func CFBundleGetTypeID() -> CFTypeID
func CFBundleGetTypeID() -> CFTypeID
func CFBundleGetValueForInfoDictionaryKey(bundle: CFBundle!, key: CFString!) -> AnyObject!
func CFBundleGetValueForInfoDictionaryKey(bundle: CFBundle!, key: CFString!) -> AnyObject!
func CFBundleGetVersionNumber(bundle: CFBundle!) -> UInt32
func CFBundleGetVersionNumber(bundle: CFBundle!) -> UInt32
func CFBundleIsExecutableLoaded(bundle: CFBundle!) -> Boolean
func CFBundleIsExecutableLoaded(bundle: CFBundle!) -> Boolean
func CFBundleLoadExecutable(bundle: CFBundle!) -> Boolean
func CFBundleLoadExecutable(bundle: CFBundle!) -> Boolean
func CFBundleLoadExecutableAndReturnError(bundle: CFBundle!, error: CMutablePointer<Unmanaged<CFError>?>) -> Boolean
func CFBundleLoadExecutableAndReturnError(bundle: CFBundle!, error: CMutablePointer<Unmanaged<CFError>?>) -> Boolean
func CFBundleOpenBundleResourceFiles(bundle: CFBundle!, refNum: CMutablePointer<CFBundleRefNum>, localizedRefNum: CMutablePointer<CFBundleRefNum>) -> Int32
func CFBundleOpenBundleResourceFiles(bundle: CFBundle!, refNum: CMutablePointer<CFBundleRefNum>, localizedRefNum: CMutablePointer<CFBundleRefNum>) -> Int32
func CFBundleOpenBundleResourceMap(bundle: CFBundle!) -> CFBundleRefNum
func CFBundleOpenBundleResourceMap(bundle: CFBundle!) -> CFBundleRefNum
func CFBundlePreflightExecutable(bundle: CFBundle!, error: CMutablePointer<Unmanaged<CFError>?>) -> Boolean
func CFBundlePreflightExecutable(bundle: CFBundle!, error: CMutablePointer<Unmanaged<CFError>?>) -> Boolean
typealias CFBundleRef = CFBundle
typealias CFBundleRefNum = CInt
func CFBundleUnloadExecutable(bundle: CFBundle!)
func CFBundleUnloadExecutable(bundle: CFBundle!)
typealias CFByteOrder = CFIndex
var CFByteOrderBigEndian: __CFByteOrder {
get {
return
}
}
func CFByteOrderGetCurrent() -> CFByteOrder
func CFByteOrderGetCurrent() -> CFByteOrder
var CFByteOrderLittleEndian: __CFByteOrder {
get {
return
}
}
var CFByteOrderUnknown: __CFByteOrder {
get {
return
}
}
func CFCalendarCopyCurrent() -> CFCalendar!
func CFCalendarCopyCurrent() -> CFCalendar!
func CFCalendarCopyLocale(calendar: CFCalendar!) -> CFLocale!
func CFCalendarCopyLocale(calendar: CFCalendar!) -> CFLocale!
func CFCalendarCopyTimeZone(calendar: CFCalendar!) -> CFTimeZone!
func CFCalendarCopyTimeZone(calendar: CFCalendar!) -> CFTimeZone!
func CFCalendarCreateWithIdentifier(allocator: CFAllocator!, identifier: CFString!) -> CFCalendar!
func CFCalendarCreateWithIdentifier(allocator: CFAllocator!, identifier: CFString!) -> CFCalendar!
func CFCalendarGetFirstWeekday(calendar: CFCalendar!) -> CFIndex
func CFCalendarGetFirstWeekday(calendar: CFCalendar!) -> CFIndex
func CFCalendarGetIdentifier(calendar: CFCalendar!) -> CFString!
func CFCalendarGetIdentifier(calendar: CFCalendar!) -> CFString!
func CFCalendarGetMaximumRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit) -> CFRange
func CFCalendarGetMaximumRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit) -> CFRange
func CFCalendarGetMinimumDaysInFirstWeek(calendar: CFCalendar!) -> CFIndex
func CFCalendarGetMinimumDaysInFirstWeek(calendar: CFCalendar!) -> CFIndex
func CFCalendarGetMinimumRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit) -> CFRange
func CFCalendarGetMinimumRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit) -> CFRange
func CFCalendarGetOrdinalityOfUnit(calendar: CFCalendar!, smallerUnit: CFCalendarUnit, biggerUnit: CFCalendarUnit, at: CFAbsoluteTime) -> CFIndex
func CFCalendarGetOrdinalityOfUnit(calendar: CFCalendar!, smallerUnit: CFCalendarUnit, biggerUnit: CFCalendarUnit, at: CFAbsoluteTime) -> CFIndex
func CFCalendarGetRangeOfUnit(calendar: CFCalendar!, smallerUnit: CFCalendarUnit, biggerUnit: CFCalendarUnit, at: CFAbsoluteTime) -> CFRange
func CFCalendarGetRangeOfUnit(calendar: CFCalendar!, smallerUnit: CFCalendarUnit, biggerUnit: CFCalendarUnit, at: CFAbsoluteTime) -> CFRange
func CFCalendarGetTimeRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit, at: CFAbsoluteTime, startp: CMutablePointer<CFAbsoluteTime>, tip: CMutablePointer<CFTimeInterval>) -> Boolean
func CFCalendarGetTimeRangeOfUnit(calendar: CFCalendar!, unit: CFCalendarUnit, at: CFAbsoluteTime, startp: CMutablePointer<CFAbsoluteTime>, tip: CMutablePointer<CFTimeInterval>) -> Boolean
func CFCalendarGetTypeID() -> CFTypeID
func CFCalendarGetTypeID() -> CFTypeID
typealias CFCalendarRef = CFCalendar
func CFCalendarSetFirstWeekday(calendar: CFCalendar!, wkdy: CFIndex)
func CFCalendarSetFirstWeekday(calendar: CFCalendar!, wkdy: CFIndex)
func CFCalendarSetLocale(calendar: CFCalendar!, locale: CFLocale!)
func CFCalendarSetLocale(calendar: CFCalendar!, locale: CFLocale!)
func CFCalendarSetMinimumDaysInFirstWeek(calendar: CFCalendar!, mwd: CFIndex)
func CFCalendarSetMinimumDaysInFirstWeek(calendar: CFCalendar!, mwd: CFIndex)
func CFCalendarSetTimeZone(calendar: CFCalendar!, tz: CFTimeZone!)
func CFCalendarSetTimeZone(calendar: CFCalendar!, tz: CFTimeZone!)
struct CFCalendarUnit : RawOptionSet {
init() {
}
init(_ value: CFOptionFlags) {
}
var value: CFOptionFlags
static var Era: CFCalendarUnit {
get {
return
}
}
static var Year: CFCalendarUnit {
get {
return
}
}
static var Month: CFCalendarUnit {
get {
return
}
}
static var Day: CFCalendarUnit {
get {
return
}
}
static var Hour: CFCalendarUnit {
get {
return
}
}
static var Minute: CFCalendarUnit {
get {
return
}
}
static var Second: CFCalendarUnit {
get {
return
}
}
static var Week: CFCalendarUnit {
get {
return
}
}
static var Weekday: CFCalendarUnit {
get {
return
}
}
static var WeekdayOrdinal: CFCalendarUnit {
get {
return
}
}
static var Quarter: CFCalendarUnit {
get {
return
}
}
static var WeekOfMonth: CFCalendarUnit {
get {
return
}
}
static var WeekOfYear: CFCalendarUnit {
get {
return
}
}
static var YearForWeekOfYear: CFCalendarUnit {
get {
return
}
}
static func fromMask(raw: CFOptionFlags) -> CFCalendarUnit {
return
}
static func fromRaw(raw: CFOptionFlags) -> CFCalendarUnit? {
return
}
func toRaw() -> CFOptionFlags {
return
}
func getLogicValue() -> Bool {
return
}
}
func CFCharacterSetAddCharactersInRange(theSet: CFMutableCharacterSet!, theRange: CFRange)
func CFCharacterSetAddCharactersInRange(theSet: CFMutableCharacterSet!, theRange: CFRange)
func CFCharacterSetAddCharactersInString(theSet: CFMutableCharacterSet!, theString: CFString!)
func CFCharacterSetAddCharactersInString(theSet: CFMutableCharacterSet!, theString: CFString!)
func CFCharacterSetCreateBitmapRepresentation(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFData!
func CFCharacterSetCreateBitmapRepresentation(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFData!
func CFCharacterSetCreateCopy(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFCharacterSet!
func CFCharacterSetCreateCopy(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFCharacterSet!
func CFCharacterSetCreateInvertedSet(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFCharacterSet!
func CFCharacterSetCreateInvertedSet(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFCharacterSet!
func CFCharacterSetCreateMutable(alloc: CFAllocator!) -> CFMutableCharacterSet!
func CFCharacterSetCreateMutable(alloc: CFAllocator!) -> CFMutableCharacterSet!
func CFCharacterSetCreateMutableCopy(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFMutableCharacterSet!
func CFCharacterSetCreateMutableCopy(alloc: CFAllocator!, theSet: CFCharacterSet!) -> CFMutableCharacterSet!
func CFCharacterSetCreateWithBitmapRepresentation(alloc: CFAllocator!, theData: CFData!) -> CFCharacterSet!
func CFCharacterSetCreateWithBitmapRepresentation(alloc: CFAllocator!, theData: CFData!) -> CFCharacterSet!
func CFCharacterSetCreateWithCharactersInRange(alloc: CFAllocator!, theRange: CFRange) -> CFCharacterSet!
func CFCharacterSetCreateWithCharactersInRange(alloc: CFAllocator!, theRange: CFRange) -> CFCharacterSet!
func CFCharacterSetCreateWithCharactersInString(alloc: CFAllocator!, theString: CFString!) -> CFCharacterSet!
func CFCharacterSetCreateWithCharactersInString(alloc: CFAllocator!, theString: CFString!) -> CFCharacterSet!
func CFCharacterSetGetPredefined(theSetIdentifier: CFCharacterSetPredefinedSet) -> CFCharacterSet!
func CFCharacterSetGetPredefined(theSetIdentifier: CFCharacterSetPredefinedSet) -> CFCharacterSet!
func CFCharacterSetGetTypeID() -> CFTypeID
func CFCharacterSetGetTypeID() -> CFTypeID
func CFCharacterSetHasMemberInPlane(theSet: CFCharacterSet!, thePlane: CFIndex) -> Boolean
func CFCharacterSetHasMemberInPlane(theSet: CFCharacterSet!, thePlane: CFIndex) -> Boolean
func CFCharacterSetIntersect(theSet: CFMutableCharacterSet!, theOtherSet: CFCharacterSet!)
func CFCharacterSetIntersect(theSet: CFMutableCharacterSet!, theOtherSet: CFCharacterSet!)
func CFCharacterSetInvert(theSet: CFMutableCharacterSet!)
func CFCharacterSetInvert(theSet: CFMutableCharacterSet!)
func CFCharacterSetIsCharacterMember(theSet: CFCharacterSet!, theChar: UniChar) -> Boolean
func CFCharacterSetIsCharacterMember(theSet: CFCharacterSet!, theChar: UniChar) -> Boolean
func CFCharacterSetIsLongCharacterMember(theSet: CFCharacterSet!, theChar: UTF32Char) -> Boolean
func CFCharacterSetIsLongCharacterMember(theSet: CFCharacterSet!, theChar: UTF32Char) -> Boolean
func CFCharacterSetIsSupersetOfSet(theSet: CFCharacterSet!, theOtherset: CFCharacterSet!) -> Boolean
func CFCharacterSetIsSupersetOfSet(theSet: CFCharacterSet!, theOtherset: CFCharacterSet!) -> Boolean
enum CFCharacterSetPredefinedSet : CFIndex {
case Control
case Whitespace
case WhitespaceAndNewline
case DecimalDigit
case Letter
case LowercaseLetter
case UppercaseLetter
case NonBase
case Decomposable
case AlphaNumeric
case Punctuation
case CapitalizedLetter
case Symbol
case Newline
case Illegal
}
typealias CFCharacterSetRef = CFCharacterSet
func CFCharacterSetRemoveCharactersInRange(theSet: CFMutableCharacterSet!, theRange: CFRange)
func CFCharacterSetRemoveCharactersInRange(theSet: CFMutableCharacterSet!, theRange: CFRange)
func CFCharacterSetRemoveCharactersInString(theSet: CFMutableCharacterSet!, theString: CFString!)
func CFCharacterSetRemoveCharactersInString(theSet: CFMutableCharacterSet!, theString: CFString!)
func CFCharacterSetUnion(theSet: CFMutableCharacterSet!, theOtherSet: CFCharacterSet!)
func CFCharacterSetUnion(theSet: CFMutableCharacterSet!, theOtherSet: CFCharacterSet!)
enum CFComparisonResult : CFIndex {
case CompareLessThan
case CompareEqualTo
case CompareGreaterThan
}
func CFConvertDoubleHostToSwapped(arg: CDouble) -> CFSwappedFloat64
func CFConvertDoubleHostToSwapped(arg: CDouble) -> CFSwappedFloat64
func CFConvertDoubleSwappedToHost(arg: CFSwappedFloat64) -> CDouble
func CFConvertDoubleSwappedToHost(arg: CFSwappedFloat64) -> CDouble
func CFConvertFloat32HostToSwapped(arg: Float32) -> CFSwappedFloat32
func CFConvertFloat32HostToSwapped(arg: Float32) -> CFSwappedFloat32
func CFConvertFloat32SwappedToHost(arg: CFSwappedFloat32) -> Float32
func CFConvertFloat32SwappedToHost(arg: CFSwappedFloat32) -> Float32
func CFConvertFloat64HostToSwapped(arg: Float64) -> CFSwappedFloat64
func CFConvertFloat64HostToSwapped(arg: Float64) -> CFSwappedFloat64
func CFConvertFloat64SwappedToHost(arg: CFSwappedFloat64) -> Float64
func CFConvertFloat64SwappedToHost(arg: CFSwappedFloat64) -> Float64
func CFConvertFloatHostToSwapped(arg: CFloat) -> CFSwappedFloat32
func CFConvertFloatHostToSwapped(arg: CFloat) -> CFSwappedFloat32
func CFConvertFloatSwappedToHost(arg: CFSwappedFloat32) -> CFloat
func CFConvertFloatSwappedToHost(arg: CFSwappedFloat32) -> CFloat
func CFCopyDescription(cf: AnyObject!) -> CFString!
func CFCopyDescription(cf: AnyObject!) -> CFString!
func CFCopyHomeDirectoryURL() -> CFURL!
func CFCopyHomeDirectoryURL() -> CFURL!
func CFCopyTypeIDDescription(type_id: CFTypeID) -> CFString!
func CFCopyTypeIDDescription(type_id: CFTypeID) -> CFString!
func CFDataAppendBytes(theData: CFMutableData!, bytes: CConstPointer<UInt8>, length: CFIndex)
func CFDataAppendBytes(theData: CFMutableData!, bytes: CConstPointer<UInt8>, length: CFIndex)
func CFDataCreate(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, length: CFIndex) -> CFData!
func CFDataCreate(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, length: CFIndex) -> CFData!
func CFDataCreateCopy(allocator: CFAllocator!, theData: CFData!) -> CFData!
func CFDataCreateCopy(allocator: CFAllocator!, theData: CFData!) -> CFData!
func CFDataCreateMutable(allocator: CFAllocator!, capacity: CFIndex) -> CFMutableData!
func CFDataCreateMutable(allocator: CFAllocator!, capacity: CFIndex) -> CFMutableData!
func CFDataCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theData: CFData!) -> CFMutableData!
func CFDataCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theData: CFData!) -> CFMutableData!
func CFDataCreateWithBytesNoCopy(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, length: CFIndex, bytesDeallocator: CFAllocator!) -> CFData!
func CFDataCreateWithBytesNoCopy(allocator: CFAllocator!, bytes: CConstPointer<UInt8>, length: CFIndex, bytesDeallocator: CFAllocator!) -> CFData!
func CFDataDeleteBytes(theData: CFMutableData!, range: CFRange)
func CFDataDeleteBytes(theData: CFMutableData!, range: CFRange)
func CFDataFind(theData: CFData!, dataToFind: CFData!, searchRange: CFRange, compareOptions: CFDataSearchFlags) -> CFRange
func CFDataFind(theData: CFData!, dataToFind: CFData!, searchRange: CFRange, compareOptions: CFDataSearchFlags) -> CFRange
func CFDataGetBytePtr(theData: CFData!) -> UnsafePointer<UInt8>
func CFDataGetBytePtr(theData: CFData!) -> UnsafePointer<UInt8>
func CFDataGetBytes(theData: CFData!, range: CFRange, buffer: CMutablePointer<UInt8>)
func CFDataGetBytes(theData: CFData!, range: CFRange, buffer: CMutablePointer<UInt8>)
func CFDataGetLength(theData: CFData!) -> CFIndex
func CFDataGetLength(theData: CFData!) -> CFIndex
func CFDataGetMutableBytePtr(theData: CFMutableData!) -> UnsafePointer<UInt8>
func CFDataGetMutableBytePtr(theData: CFMutableData!) -> UnsafePointer<UInt8>
func CFDataGetTypeID() -> CFTypeID
func CFDataGetTypeID() -> CFTypeID
func CFDataIncreaseLength(theData: CFMutableData!, extraLength: CFIndex)
func CFDataIncreaseLength(theData: CFMutableData!, extraLength: CFIndex)
typealias CFDataRef = CFData
func CFDataReplaceBytes(theData: CFMutableData!, range: CFRange, newBytes: CConstPointer<UInt8>, newLength: CFIndex)
func CFDataReplaceBytes(theData: CFMutableData!, range: CFRange, newBytes: CConstPointer<UInt8>, newLength: CFIndex)
struct CFDataSearchFlags : RawOptionSet {
init() {
}
init(_ value: CFOptionFlags) {
}
var value: CFOptionFlags
static var Backwards: CFDataSearchFlags {
get {
return
}
}
static var Anchored: CFDataSearchFlags {
get {
return
}
}
static func fromMask(raw: CFOptionFlags) -> CFDataSearchFlags {
return
}
static func fromRaw(raw: CFOptionFlags) -> CFDataSearchFlags? {
return
}
func toRaw() -> CFOptionFlags {
return
}
func getLogicValue() -> Bool {
return
}
}
func CFDataSetLength(theData: CFMutableData!, length: CFIndex)
func CFDataSetLength(theData: CFMutableData!, length: CFIndex)
func CFDateCompare(theDate: CFDate!, otherDate: CFDate!, context: CMutableVoidPointer) -> CFComparisonResult
func CFDateCompare(theDate: CFDate!, otherDate: CFDate!, context: CMutableVoidPointer) -> CFComparisonResult
func CFDateCreate(allocator: CFAllocator!, at: CFAbsoluteTime) -> CFDate!
func CFDateCreate(allocator: CFAllocator!, at: CFAbsoluteTime) -> CFDate!
func CFDateFormatterCopyProperty(formatter: CFDateFormatter!, key: CFString!) -> AnyObject!
func CFDateFormatterCopyProperty(formatter: CFDateFormatter!, key: CFString!) -> AnyObject!
func CFDateFormatterCreate(allocator: CFAllocator!, locale: CFLocale!, dateStyle: CFDateFormatterStyle, timeStyle: CFDateFormatterStyle) -> CFDateFormatter!
func CFDateFormatterCreate(allocator: CFAllocator!, locale: CFLocale!, dateStyle: CFDateFormatterStyle, timeStyle: CFDateFormatterStyle) -> CFDateFormatter!
func CFDateFormatterCreateDateFormatFromTemplate(allocator: CFAllocator!, tmplate: CFString!, options: CFOptionFlags, locale: CFLocale!) -> CFString!
func CFDateFormatterCreateDateFormatFromTemplate(allocator: CFAllocator!, tmplate: CFString!, options: CFOptionFlags, locale: CFLocale!) -> CFString!
func CFDateFormatterCreateDateFromString(allocator: CFAllocator!, formatter: CFDateFormatter!, string: CFString!, rangep: CMutablePointer<CFRange>) -> CFDate!
func CFDateFormatterCreateDateFromString(allocator: CFAllocator!, formatter: CFDateFormatter!, string: CFString!, rangep: CMutablePointer<CFRange>) -> CFDate!
func CFDateFormatterCreateStringWithAbsoluteTime(allocator: CFAllocator!, formatter: CFDateFormatter!, at: CFAbsoluteTime) -> CFString!
func CFDateFormatterCreateStringWithAbsoluteTime(allocator: CFAllocator!, formatter: CFDateFormatter!, at: CFAbsoluteTime) -> CFString!
func CFDateFormatterCreateStringWithDate(allocator: CFAllocator!, formatter: CFDateFormatter!, date: CFDate!) -> CFString!
func CFDateFormatterCreateStringWithDate(allocator: CFAllocator!, formatter: CFDateFormatter!, date: CFDate!) -> CFString!
func CFDateFormatterGetAbsoluteTimeFromString(formatter: CFDateFormatter!, string: CFString!, rangep: CMutablePointer<CFRange>, atp: CMutablePointer<CFAbsoluteTime>) -> Boolean
func CFDateFormatterGetAbsoluteTimeFromString(formatter: CFDateFormatter!, string: CFString!, rangep: CMutablePointer<CFRange>, atp: CMutablePointer<CFAbsoluteTime>) -> Boolean
func CFDateFormatterGetDateStyle(formatter: CFDateFormatter!) -> CFDateFormatterStyle
func CFDateFormatterGetDateStyle(formatter: CFDateFormatter!) -> CFDateFormatterStyle
func CFDateFormatterGetFormat(formatter: CFDateFormatter!) -> CFString!
func CFDateFormatterGetFormat(formatter: CFDateFormatter!) -> CFString!
func CFDateFormatterGetLocale(formatter: CFDateFormatter!) -> CFLocale!
func CFDateFormatterGetLocale(formatter: CFDateFormatter!) -> CFLocale!
func CFDateFormatterGetTimeStyle(formatter: CFDateFormatter!) -> CFDateFormatterStyle
func CFDateFormatterGetTimeStyle(formatter: CFDateFormatter!) -> CFDateFormatterStyle
func CFDateFormatterGetTypeID() -> CFTypeID
func CFDateFormatterGetTypeID() -> CFTypeID
typealias CFDateFormatterRef = CFDateFormatter
func CFDateFormatterSetFormat(formatter: CFDateFormatter!, formatString: CFString!)
func CFDateFormatterSetFormat(formatter: CFDateFormatter!, formatString: CFString!)
func CFDateFormatterSetProperty(formatter: CFDateFormatter!, key: CFString!, value: AnyObject!)
func CFDateFormatterSetProperty(formatter: CFDateFormatter!, key: CFString!, value: AnyObject!)
enum CFDateFormatterStyle : CFIndex {
case NoStyle
case ShortStyle
case MediumStyle
case LongStyle
case FullStyle
}
func CFDateGetAbsoluteTime(theDate: CFDate!) -> CFAbsoluteTime
func CFDateGetAbsoluteTime(theDate: CFDate!) -> CFAbsoluteTime
func CFDateGetTimeIntervalSinceDate(theDate: CFDate!, otherDate: CFDate!) -> CFTimeInterval
func CFDateGetTimeIntervalSinceDate(theDate: CFDate!, otherDate: CFDate!) -> CFTimeInterval
func CFDateGetTypeID() -> CFTypeID
func CFDateGetTypeID() -> CFTypeID
typealias CFDateRef = CFDate
func CFDictionaryAddValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
func CFDictionaryAddValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
func CFDictionaryContainsKey(theDict: CFDictionary!, key: CConstVoidPointer) -> Boolean
func CFDictionaryContainsKey(theDict: CFDictionary!, key: CConstVoidPointer) -> Boolean
func CFDictionaryContainsValue(theDict: CFDictionary!, value: CConstVoidPointer) -> Boolean
func CFDictionaryContainsValue(theDict: CFDictionary!, value: CConstVoidPointer) -> Boolean
func CFDictionaryCreate(allocator: CFAllocator!, keys: CMutablePointer<COpaquePointer>, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, keyCallBacks: CConstPointer<CFDictionaryKeyCallBacks>, valueCallBacks: CConstPointer<CFDictionaryValueCallBacks>) -> CFDictionary!
func CFDictionaryCreate(allocator: CFAllocator!, keys: CMutablePointer<COpaquePointer>, values: CMutablePointer<COpaquePointer>, numValues: CFIndex, keyCallBacks: CConstPointer<CFDictionaryKeyCallBacks>, valueCallBacks: CConstPointer<CFDictionaryValueCallBacks>) -> CFDictionary!
func CFDictionaryCreateCopy(allocator: CFAllocator!, theDict: CFDictionary!) -> CFDictionary!
func CFDictionaryCreateCopy(allocator: CFAllocator!, theDict: CFDictionary!) -> CFDictionary!
func CFDictionaryCreateMutable(allocator: CFAllocator!, capacity: CFIndex, keyCallBacks: CConstPointer<CFDictionaryKeyCallBacks>, valueCallBacks: CConstPointer<CFDictionaryValueCallBacks>) -> CFMutableDictionary!
func CFDictionaryCreateMutable(allocator: CFAllocator!, capacity: CFIndex, keyCallBacks: CConstPointer<CFDictionaryKeyCallBacks>, valueCallBacks: CConstPointer<CFDictionaryValueCallBacks>) -> CFMutableDictionary!
func CFDictionaryCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theDict: CFDictionary!) -> CFMutableDictionary!
func CFDictionaryCreateMutableCopy(allocator: CFAllocator!, capacity: CFIndex, theDict: CFDictionary!) -> CFMutableDictionary!
func CFDictionaryGetCount(theDict: CFDictionary!) -> CFIndex
func CFDictionaryGetCount(theDict: CFDictionary!) -> CFIndex
func CFDictionaryGetCountOfKey(theDict: CFDictionary!, key: CConstVoidPointer) -> CFIndex
func CFDictionaryGetCountOfKey(theDict: CFDictionary!, key: CConstVoidPointer) -> CFIndex
func CFDictionaryGetCountOfValue(theDict: CFDictionary!, value: CConstVoidPointer) -> CFIndex
func CFDictionaryGetCountOfValue(theDict: CFDictionary!, value: CConstVoidPointer) -> CFIndex
func CFDictionaryGetKeysAndValues(theDict: CFDictionary!, keys: CMutablePointer<COpaquePointer>, values: CMutablePointer<COpaquePointer>)
func CFDictionaryGetKeysAndValues(theDict: CFDictionary!, keys: CMutablePointer<COpaquePointer>, values: CMutablePointer<COpaquePointer>)
func CFDictionaryGetTypeID() -> CFTypeID
func CFDictionaryGetTypeID() -> CFTypeID
func CFDictionaryGetValue(theDict: CFDictionary!, key: CConstVoidPointer) -> COpaquePointer
func CFDictionaryGetValue(theDict: CFDictionary!, key: CConstVoidPointer) -> COpaquePointer
func CFDictionaryGetValueIfPresent(theDict: CFDictionary!, key: CConstVoidPointer, value: CMutablePointer<COpaquePointer>) -> Boolean
func CFDictionaryGetValueIfPresent(theDict: CFDictionary!, key: CConstVoidPointer, value: CMutablePointer<COpaquePointer>) -> Boolean
struct CFDictionaryKeyCallBacks {
var version: CFIndex
init(version: CFIndex)
}
typealias CFDictionaryRef = CFDictionary
func CFDictionaryRemoveAllValues(theDict: CFMutableDictionary!)
func CFDictionaryRemoveAllValues(theDict: CFMutableDictionary!)
func CFDictionaryRemoveValue(theDict: CFMutableDictionary!, key: CConstVoidPointer)
func CFDictionaryRemoveValue(theDict: CFMutableDictionary!, key: CConstVoidPointer)
func CFDictionaryReplaceValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
func CFDictionaryReplaceValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
func CFDictionarySetValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
func CFDictionarySetValue(theDict: CFMutableDictionary!, key: CConstVoidPointer, value: CConstVoidPointer)
struct CFDictionaryValueCallBacks {
var version: CFIndex
init(version: CFIndex)
}
func CFEqual(cf1: AnyObject!, cf2: AnyObject!) -> Boolean
func CFEqual(cf1: AnyObject!, cf2: AnyObject!) -> Boolean
func CFErrorCopyDescription(err: CFError!) -> CFString!
func CFErrorCopyDescription(err: CFError!) -> CFString!
func CFErrorCopyFailureReason(err: CFError!) -> CFString!
func CFErrorCopyFailureReason(err: CFError!) -> CFString!
func CFErrorCopyRecoverySuggestion(err: CFError!) -> CFString!
func CFErrorCopyRecoverySuggestion(err: CFError!) -> CFString!
func CFErrorCopyUserInfo(err: CFError!) -> CFDictionary!
func CFErrorCopyUserInfo(err: CFError!) -> CFDictionary!
func CFErrorCreate(allocator: CFAllocator!, domain: CFString!, code: CFIndex, userInfo: CFDictionary!) -> CFError!
func CFErrorCreate(allocator: CFAllocator!, domain: CFString!, code: CFIndex, userInfo: CFDictionary!) -> CFError!
func CFErrorCreateWithUserInfoKeysAndValues(allocator: CFAllocator!, domain: CFString!, code: CFIndex, userInfoKeys: CConstPointer<COpaquePointer>, userInfoValues: CConstPointer<COpaquePointer>, numUserInfoValues: CFIndex) -> CFError!
func CFErrorCreateWithUserInfoKeysAndValues(allocator: CFAllocator!, domain: CFString!, code: CFIndex, userInfoKeys: CConstPointer<COpaquePointer>, userInfoValues: CConstPointer<COpaquePointer>, numUserInfoValues: CFIndex) -> CFError!
func CFErrorGetCode(err: CFError!) -> CFIndex
func CFErrorGetCode(err: CFError!) -> CFIndex
func CFErrorGetDomain(err: CFError!) -> CFString!
func CFErrorGetDomain(err: CFError!) -> CFString!
func CFErrorGetTypeID() -> CFTypeID
func CFErrorGetTypeID() -> CFTypeID
typealias CFErrorRef = CFError
struct CFFileDescriptorContext {
var version: CFIndex
var info: COpaquePointer
init(version: CFIndex, info: COpaquePointer)
}
func CFFileDescriptorCreateRunLoopSource(allocator: CFAllocator!, f: CFFileDescriptor!, order: CFIndex) -> CFRunLoopSource!
func CFFileDescriptorCreateRunLoopSource(allocator: CFAllocator!, f: CFFileDescriptor!, order: CFIndex) -> CFRunLoopSource!
func CFFileDescriptorDisableCallBacks(f: CFFileDescriptor!, callBackTypes: CFOptionFlags)
func CFFileDescriptorDisableCallBacks(f: CFFileDescriptor!, callBackTypes: CFOptionFlags)
func CFFileDescriptorEnableCallBacks(f: CFFileDescriptor!, callBackTypes: CFOptionFlags)
func CFFileDescriptorEnableCallBacks(f: CFFileDescriptor!, callBackTypes: CFOptionFlags)
func CFFileDescriptorGetContext(f: CFFileDescriptor!, context: CMutablePointer<CFFileDescriptorContext>)
func CFFileDescriptorGetContext(f: CFFileDescriptor!, context: CMutablePointer<CFFileDescriptorContext>)
func CFFileDescriptorGetNativeDescriptor(f: CFFileDescriptor!) -> CFFileDescriptorNativeDescriptor
func CFFileDescriptorGetNativeDescriptor(f: CFFileDescriptor!) -> CFFileDescriptorNativeDescriptor
func CFFileDescriptorGetTypeID() -> CFTypeID
func CFFileDescriptorGetTypeID() -> CFTypeID
func CFFileDescriptorInvalidate(f: CFFileDescriptor!)
func CFFileDescriptorInvalidate(f: CFFileDescriptor!)
func CFFileDescriptorIsValid(f: CFFileDescriptor!) -> Boolean
func CFFileDescriptorIsValid(f: CFFileDescriptor!) -> Boolean
typealias CFFileDescriptorNativeDescriptor = CInt
typealias CFFileDescriptorRef = CFFileDescriptor
struct CFFileSecurityClearOptions : RawOptionSet {
init() {
}
init(_ value: CFOptionFlags) {
}
var value: CFOptionFlags
static var Owner: CFFileSecurityClearOptions {
get {
return
}
}
static var Group: CFFileSecurityClearOptions {
get {
return
}
}
static var Mode: CFFileSecurityClearOptions {
get {
return
}
}
static var OwnerUUID: CFFileSecurityClearOptions {
get {
return
}
}
static var GroupUUID: CFFileSecurityClearOptions {
get {
return
}
}
static var AccessControlList: CFFileSecurityClearOptions {
get {
return
}
}
static func fromMask(raw: CFOptionFlags) -> CFFileSecurityClearOptions {
return
}
static func fromRaw(raw: CFOptionFlags) -> CFFileSecurityClearOptions? {
return
}
func toRaw() -> CFOptionFlags {
return
}
func getLogicValue() -> Bool {
return
}
}
func CFFileSecurityClearProperties(fileSec: CFFileSecurity!, clearPropertyMask: CFFileSecurityClearOptions) -> Boolean
func CFFileSecurityClearProperties(fileSec: CFFileSecurity!, clearPropertyMask: CFFileSecurityClearOptions) -> Boolean
func CFFileSecurityCopyAccessControlList(fileSec: CFFileSecurity!, accessControlList: CMutablePointer<acl_t>) -> Boolean
func CFFileSecurityCopyAccessControlList(fileSec: CFFileSecurity!, accessControlList: CMutablePointer<acl_t>) -> Boolean
func CFFileSecurityCopyGroupUUID(fileSec: CFFileSecurity!, groupUUID: CMutablePointer<Unmanaged<CFUUID>?>) -> Boolean
func CFFileSecurityCopyGroupUUID(fileSec: CFFileSecurity!, groupUUID: CMutablePointer<Unmanaged<CFUUID>?>) -> Boolean
func CFFileSecurityCopyOwnerUUID(fileSec: CFFileSecurity!, ownerUUID: CMutablePointer<Unmanaged<CFUUID>?>) -> Boolean
func CFFileSecurityCopyOwnerUUID(fileSec: CFFileSecurity!, ownerUUID: CMutablePointer<Unmanaged<CFUUID>?>) -> Boolean
func CFFileSecurityCreate(allocator: CFAllocator!) -> CFFileSecurity!
func CFFileSecurityCreate(allocator: CFAllocator!) -> CFFileSecurity!
func CFFileSecurityCreateCopy(allocator: CFAllocator!, fileSec: CFFileSecurity!) -> CFFileSecurity!
func CFFileSecurityCreateCopy(allocator: CFAllocator!, fileSec: CFFileSecurity!) -> CFFileSecurity!
func CFFileSecurityGetGroup(fileSec: CFFileSecurity!, group: CMutablePointer<gid_t>) -> Boolean
func CFFileSecurityGetGroup(fileSec: CFFileSecurity!, group: CMutablePointer<gid_t>) -> Boolean
func CFFileSecurityGetMode(fileSec: CFFileSecurity!, mode: CMutablePointer<mode_t>) -> Boolean
func CFFileSecurityGetMode(fileSec: CFFileSecurity!, mode: CMutablePointer<mode_t>) -> Boolean
func CFFileSecurityGetOwner(fileSec: CFFileSecurity!, owner: CMutablePointer<uid_t>) -> Boolean
func CFFileSecurityGetOwner(fileSec: CFFileSecurity!, owner: CMutablePointer<uid_t>) -> Boolean
func CFFileSecurityGetTypeID() -> CFTypeID
func CFFileSecurityGetTypeID() -> CFTypeID
typealias CFFileSecurityRef = CFFileSecurity
func CFFileSecuritySetAccessControlList(fileSec: CFFileSecurity!, accessControlList: acl_t) -> Boolean
func CFFileSecuritySetAccessControlList(fileSec: CFFileSecurity!, accessControlList: acl_t) -> Boolean
func CFFileSecuritySetGroup(fileSec: CFFileSecurity!, group: gid_t) -> Boolean
func CFFileSecuritySetGroup(fileSec: CFFileSecurity!, group: gid_t) -> Boolean
func CFFileSecuritySetGroupUUID(fileSec: CFFileSecurity!, groupUUID: CFUUID!) -> Boolean
func CFFileSecuritySetGroupUUID(fileSec: CFFileSecurity!, groupUUID: CFUUID!) -> Boolean
func CFFileSecuritySetMode(fileSec: CFFileSecurity!, mode: mode_t) -> Boolean
func CFFileSecuritySetMode(fileSec: CFFileSecurity!, mode: mode_t) -> Boolean
func CFFileSecuritySetOwner(fileSec: CFFileSecurity!, owner: uid_t) -> Boolean
func CFFileSecuritySetOwner(fileSec: CFFileSecurity!, owner: uid_t) -> Boolean
func CFFileSecuritySetOwnerUUID(fileSec: CFFileSecurity!, ownerUUID: CFUUID!) -> Boolean
func CFFileSecuritySetOwnerUUID(fileSec: CFFileSecurity!, ownerUUID: CFUUID!) -> Boolean
func CFGetAllocator(cf: AnyObject!) -> CFAllocator!
func CFGetAllocator(cf: AnyObject!) -> CFAllocator!
func CFGetRetainCount(cf: AnyObject!) -> CFIndex
func CFGetRetainCount(cf: AnyObject!) -> CFIndex
func CFGetTypeID(cf: AnyObject!) -> CFTypeID
func CFGetTypeID(cf: AnyObject!) -> CFTypeID
struct CFGregorianDate {
var year: Int32
var month: Int8
var day: Int8
var hour: Int8
var minute: Int8
var second: CDouble
init(year: Int32, month: Int8, day: Int8, hour: Int8, minute: Int8, second: CDouble)
}
func CFGregorianDateGetAbsoluteTime(gdate: CFGregorianDate, tz: CFTimeZone!) -> CFAbsoluteTime
func CFGregorianDateGetAbsoluteTime(gdate: CFGregorianDate, tz: CFTimeZone!) -> CFAbsoluteTime
func CFGregorianDateIsValid(gdate: CFGregorianDate, unitFlags: CFOptionFlags) -> Boolean
func CFGregorianDateIsValid(gdate: CFGregorianDate, unitFlags: CFOptionFlags) -> Boolean
struct CFGregorianUnitFlags : RawOptionSet {
init() {
}
init(_ value: CFOptionFlags) {
}
var value: CFOptionFlags
static var UnitsYears: CFGregorianUnitFlags {
get {
return
}
}
static var UnitsMonths: CFGregorianUnitFlags {
get {
return
}
}
static var UnitsDays: CFGregorianUnitFlags {
get {
return
}
}
static var UnitsHours: CFGregorianUnitFlags {
get {
return
}
}
static var UnitsMinutes: CFGregorianUnitFlags {
get {
return
}
}
static var UnitsSeconds: CFGregorianUnitFlags {
get {
return
}
}
static var AllUnits: CFGregorianUnitFlags {
get {
return
}
}
static func fromMask(raw: CFOptionFlags) -> CFGregorianUnitFlags {
return
}
static func fromRaw(raw: CFOptionFlags) -> CFGregorianUnitFlags? {
return
}
func toRaw() -> CFOptionFlags {
return
}
func getLogicValue() -> Bool {
return
}
}
struct CFGregorianUnits {
var years: Int32
var months: Int32