pyobjc-framework-SharedWithYou 13.0__tar.gz → 13.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/SharedWithYou/_metadata.py +34 -0
  2. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/PKG-INFO +3 -3
  3. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/SOURCES.txt +1 -0
  4. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/pyobjc-build-info.txt +1 -1
  5. pyobjc_framework_sharedwithyou-13.1/Lib/pyobjc_framework_SharedWithYou.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PKG-INFO +3 -3
  7. pyobjc_framework_sharedwithyou-13.1/PyObjCTest/test_swcollaborationtoolbaritem.py +31 -0
  8. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/metadata/raw/arm64-27.fwinfo +320 -2
  9. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/metadata/raw/x86_64-27.fwinfo +320 -2
  10. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/pyobjc_setup.py +59 -1
  11. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/setup.py +1 -1
  12. pyobjc_framework_sharedwithyou-13.0/Lib/pyobjc_framework_SharedWithYou.egg-info/requires.txt +0 -2
  13. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/SharedWithYou/__init__.py +0 -0
  14. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/dependency_links.txt +0 -0
  15. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/not-zip-safe +0 -0
  16. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Lib/pyobjc_framework_SharedWithYou.egg-info/top_level.txt +0 -0
  17. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/License.txt +0 -0
  18. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/MANIFEST.in +0 -0
  19. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Modules/_SharedWithYou.m +0 -0
  20. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Modules/_SharedWithYou_protocols.m +0 -0
  21. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Modules/pyobjc-api.h +0 -0
  22. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/Modules/pyobjc-compat.h +0 -0
  23. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/__init__.py +0 -0
  24. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_nsitemprovider+swcollaborationmetadata.py +0 -0
  25. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_sharedwithyou.py +0 -0
  26. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swattributionview.py +0 -0
  27. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swcollaborationview.py +0 -0
  28. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swerrors.py +0 -0
  29. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swhighlightcenter.py +0 -0
  30. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swhighlightchangeevent.py +0 -0
  31. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swhighlightevent.py +0 -0
  32. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swhighlightmembershipevent.py +0 -0
  33. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/PyObjCTest/test_swhighlightpersistenceevent.py +0 -0
  34. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/metadata/SharedWithYou.fwinfo +0 -0
  35. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/metadata/metadata.ini +0 -0
  36. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/pyproject.toml +0 -0
  37. {pyobjc_framework_sharedwithyou-13.0 → pyobjc_framework_sharedwithyou-13.1}/setup.cfg +0 -0
@@ -79,6 +79,37 @@ try:
79
79
  r(b"NSObject", b"highlightURL", {"required": True, "retval": {"type": b"@"}})
80
80
  r(b"SWAttributionView", b"enablesMarquee", {"retval": {"type": b"Z"}})
81
81
  r(b"SWAttributionView", b"setEnablesMarquee:", {"arguments": {2: {"type": b"Z"}}})
82
+ r(
83
+ b"SWCollaborationToolbarItem",
84
+ b"dismissPopoverAnimated:completion:",
85
+ {
86
+ "arguments": {
87
+ 2: {"type": b"Z"},
88
+ 3: {
89
+ "callable": {
90
+ "retval": {"type": b"v"},
91
+ "arguments": {0: {"type": b"^v"}},
92
+ }
93
+ },
94
+ }
95
+ },
96
+ )
97
+ r(
98
+ b"SWCollaborationToolbarItem",
99
+ b"setShowManageButton:",
100
+ {"arguments": {2: {"type": b"Z"}}},
101
+ )
102
+ r(
103
+ b"SWCollaborationToolbarItem",
104
+ b"setShowsParticipantCount:",
105
+ {"arguments": {2: {"type": b"Z"}}},
106
+ )
107
+ r(b"SWCollaborationToolbarItem", b"showManageButton", {"retval": {"type": b"Z"}})
108
+ r(
109
+ b"SWCollaborationToolbarItem",
110
+ b"showsParticipantCount",
111
+ {"retval": {"type": b"Z"}},
112
+ )
82
113
  r(
83
114
  b"SWCollaborationView",
84
115
  b"dismissPopover:",
@@ -171,6 +202,9 @@ try:
171
202
  finally:
172
203
  objc._updatingMetadata(False)
173
204
 
205
+ objc.registerNewKeywordsFromSelector(
206
+ "SWCollaborationToolbarItem", b"initWithItemProvider:"
207
+ )
174
208
  objc.registerNewKeywordsFromSelector("SWCollaborationView", b"initWithItemProvider:")
175
209
  objc.registerNewKeywordsFromSelector("SWHighlight", b"init")
176
210
  objc.registerNewKeywordsFromSelector("SWHighlightChangeEvent", b"init")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SharedWithYou
3
- Version: 13.0
3
+ Version: 13.1
4
4
  Summary: Wrappers for the framework SharedWithYou on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=13.0
34
- Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.0
33
+ Requires-Dist: pyobjc-core>=13.1
34
+ Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.1
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -20,6 +20,7 @@ PyObjCTest/__init__.py
20
20
  PyObjCTest/test_nsitemprovider+swcollaborationmetadata.py
21
21
  PyObjCTest/test_sharedwithyou.py
22
22
  PyObjCTest/test_swattributionview.py
23
+ PyObjCTest/test_swcollaborationtoolbaritem.py
23
24
  PyObjCTest/test_swcollaborationview.py
24
25
  PyObjCTest/test_swerrors.py
25
26
  PyObjCTest/test_swhighlightcenter.py
@@ -1,3 +1,3 @@
1
- macOS 27.2 (26B123)
1
+ macOS 27.2.1 (26B131)
2
2
  Apple clang version 21.0.0 (clang-2100.4.1.1)
3
3
  SDK: macOS 27.2
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=13.1
2
+ pyobjc-framework-SharedWithYouCore>=13.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SharedWithYou
3
- Version: 13.0
3
+ Version: 13.1
4
4
  Summary: Wrappers for the framework SharedWithYou on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -30,8 +30,8 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
31
  Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=13.0
34
- Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.0
33
+ Requires-Dist: pyobjc-core>=13.1
34
+ Requires-Dist: pyobjc-framework-SharedWithYouCore>=13.1
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -0,0 +1,31 @@
1
+ from PyObjCTools.TestSupport import TestCase, min_os_level
2
+
3
+ import SharedWithYou
4
+
5
+
6
+ class TestSWCollaborationToolbarItem(TestCase):
7
+ @min_os_level("27.3")
8
+ def test_methods(self):
9
+ self.assertResultIsBOOL(
10
+ SharedWithYou.SWCollaborationToolbarItem.showsParticipantCount
11
+ )
12
+ self.assertArgIsBOOL(
13
+ SharedWithYou.SWCollaborationToolbarItem.setShowsParticipantCount_, 0
14
+ )
15
+
16
+ self.assertResultIsBOOL(
17
+ SharedWithYou.SWCollaborationToolbarItem.showManageButton
18
+ )
19
+ self.assertArgIsBOOL(
20
+ SharedWithYou.SWCollaborationToolbarItem.setShowManageButton_, 0
21
+ )
22
+
23
+ self.assertArgIsBOOL(
24
+ SharedWithYou.SWCollaborationToolbarItem.dismissPopoverAnimated_completion_,
25
+ 0,
26
+ )
27
+ self.assertArgIsBlock(
28
+ SharedWithYou.SWCollaborationToolbarItem.dismissPopoverAnimated_completion_,
29
+ 1,
30
+ b"v",
31
+ )
@@ -542,6 +542,322 @@
542
542
  "NSItemProviderWriting"
543
543
  ]
544
544
  },
545
+ "SWCollaborationToolbarItem": {
546
+ "categories": [],
547
+ "methods": [
548
+ {
549
+ "args": [
550
+ {
551
+ "name": "itemProvider",
552
+ "null_accepted": true,
553
+ "type_name": "NSItemProvider *",
554
+ "typestr": "@",
555
+ "typestr_special": false
556
+ }
557
+ ],
558
+ "class_method": false,
559
+ "introduced": "27.3",
560
+ "retval": {
561
+ "instancetype": true,
562
+ "type_name": "instancetype",
563
+ "typestr": "@",
564
+ "typestr_special": false
565
+ },
566
+ "selector": "initWithItemProvider:",
567
+ "visibility": "public"
568
+ },
569
+ {
570
+ "args": [
571
+ {
572
+ "name": "animated",
573
+ "type_name": "BOOL",
574
+ "typestr": "Z",
575
+ "typestr_special": true
576
+ },
577
+ {
578
+ "callable": {
579
+ "arguments": {
580
+ "0": {
581
+ "type": "^v"
582
+ }
583
+ },
584
+ "retval": {
585
+ "type": "v",
586
+ "type_name": "void"
587
+ }
588
+ },
589
+ "name": "completion",
590
+ "null_accepted": true,
591
+ "type_name": "void (^)(void)",
592
+ "typestr": "@?",
593
+ "typestr_special": false
594
+ }
595
+ ],
596
+ "class_method": false,
597
+ "introduced": "27.3",
598
+ "retval": {
599
+ "type_name": "void",
600
+ "typestr": "v",
601
+ "typestr_special": false
602
+ },
603
+ "selector": "dismissPopoverAnimated:completion:",
604
+ "visibility": "public"
605
+ },
606
+ {
607
+ "args": [],
608
+ "class_method": false,
609
+ "introduced": "27.3",
610
+ "retval": {
611
+ "type_name": "NSInteger",
612
+ "typestr": "q",
613
+ "typestr_special": false
614
+ },
615
+ "selector": "activeParticipantCount",
616
+ "visibility": "public"
617
+ },
618
+ {
619
+ "args": [
620
+ {
621
+ "name": "activeParticipantCount",
622
+ "type_name": "NSInteger",
623
+ "typestr": "q",
624
+ "typestr_special": false
625
+ }
626
+ ],
627
+ "class_method": false,
628
+ "introduced": "27.3",
629
+ "retval": {
630
+ "type_name": "void",
631
+ "typestr": "v",
632
+ "typestr_special": false
633
+ },
634
+ "selector": "setActiveParticipantCount:",
635
+ "visibility": "public"
636
+ },
637
+ {
638
+ "args": [],
639
+ "class_method": false,
640
+ "introduced": "27.3",
641
+ "retval": {
642
+ "type_name": "BOOL",
643
+ "typestr": "Z",
644
+ "typestr_special": true
645
+ },
646
+ "selector": "showsParticipantCount",
647
+ "visibility": "public"
648
+ },
649
+ {
650
+ "args": [
651
+ {
652
+ "name": "showsParticipantCount",
653
+ "type_name": "BOOL",
654
+ "typestr": "Z",
655
+ "typestr_special": true
656
+ }
657
+ ],
658
+ "class_method": false,
659
+ "introduced": "27.3",
660
+ "retval": {
661
+ "type_name": "void",
662
+ "typestr": "v",
663
+ "typestr_special": false
664
+ },
665
+ "selector": "setShowsParticipantCount:",
666
+ "visibility": "public"
667
+ },
668
+ {
669
+ "args": [],
670
+ "class_method": false,
671
+ "introduced": "27.3",
672
+ "retval": {
673
+ "type_name": "NSInteger",
674
+ "typestr": "q",
675
+ "typestr_special": false
676
+ },
677
+ "selector": "pendingAccessRequestsCount",
678
+ "visibility": "public"
679
+ },
680
+ {
681
+ "args": [
682
+ {
683
+ "name": "pendingAccessRequestsCount",
684
+ "type_name": "NSInteger",
685
+ "typestr": "q",
686
+ "typestr_special": false
687
+ }
688
+ ],
689
+ "class_method": false,
690
+ "introduced": "27.3",
691
+ "retval": {
692
+ "type_name": "void",
693
+ "typestr": "v",
694
+ "typestr_special": false
695
+ },
696
+ "selector": "setPendingAccessRequestsCount:",
697
+ "visibility": "public"
698
+ },
699
+ {
700
+ "args": [],
701
+ "class_method": false,
702
+ "introduced": "27.3",
703
+ "retval": {
704
+ "type_name": "BOOL",
705
+ "typestr": "Z",
706
+ "typestr_special": true
707
+ },
708
+ "selector": "showManageButton",
709
+ "visibility": "public"
710
+ },
711
+ {
712
+ "args": [
713
+ {
714
+ "name": "showManageButton",
715
+ "type_name": "BOOL",
716
+ "typestr": "Z",
717
+ "typestr_special": true
718
+ }
719
+ ],
720
+ "class_method": false,
721
+ "introduced": "27.3",
722
+ "retval": {
723
+ "type_name": "void",
724
+ "typestr": "v",
725
+ "typestr_special": false
726
+ },
727
+ "selector": "setShowManageButton:",
728
+ "visibility": "public"
729
+ },
730
+ {
731
+ "args": [],
732
+ "class_method": false,
733
+ "introduced": "27.3",
734
+ "retval": {
735
+ "type_name": "NSString *",
736
+ "typestr": "@",
737
+ "typestr_special": false
738
+ },
739
+ "selector": "manageButtonTitle",
740
+ "visibility": "public"
741
+ },
742
+ {
743
+ "args": [
744
+ {
745
+ "name": "manageButtonTitle",
746
+ "null_accepted": true,
747
+ "type_name": "NSString *",
748
+ "typestr": "@",
749
+ "typestr_special": false
750
+ }
751
+ ],
752
+ "class_method": false,
753
+ "introduced": "27.3",
754
+ "retval": {
755
+ "type_name": "void",
756
+ "typestr": "v",
757
+ "typestr_special": false
758
+ },
759
+ "selector": "setManageButtonTitle:",
760
+ "visibility": "public"
761
+ },
762
+ {
763
+ "args": [],
764
+ "class_method": false,
765
+ "introduced": "27.3",
766
+ "retval": {
767
+ "type_name": "NSView *",
768
+ "typestr": "@",
769
+ "typestr_special": false
770
+ },
771
+ "selector": "detailViewListContent",
772
+ "visibility": "public"
773
+ },
774
+ {
775
+ "args": [
776
+ {
777
+ "name": "detailViewListContent",
778
+ "null_accepted": true,
779
+ "type_name": "NSView *",
780
+ "typestr": "@",
781
+ "typestr_special": false
782
+ }
783
+ ],
784
+ "class_method": false,
785
+ "introduced": "27.3",
786
+ "retval": {
787
+ "type_name": "void",
788
+ "typestr": "v",
789
+ "typestr_special": false
790
+ },
791
+ "selector": "setDetailViewListContent:",
792
+ "visibility": "public"
793
+ }
794
+ ],
795
+ "name": "SWCollaborationToolbarItem",
796
+ "properties": [
797
+ {
798
+ "attributes": [
799
+ "assign",
800
+ "nonatomic"
801
+ ],
802
+ "name": "activeParticipantCount",
803
+ "type_name": "NSInteger",
804
+ "typestr": "q",
805
+ "typestr_special": false
806
+ },
807
+ {
808
+ "attributes": [
809
+ "assign",
810
+ "nonatomic"
811
+ ],
812
+ "name": "showsParticipantCount",
813
+ "type_name": "BOOL",
814
+ "typestr": "Z",
815
+ "typestr_special": true
816
+ },
817
+ {
818
+ "attributes": [
819
+ "assign",
820
+ "nonatomic"
821
+ ],
822
+ "name": "pendingAccessRequestsCount",
823
+ "type_name": "NSInteger",
824
+ "typestr": "q",
825
+ "typestr_special": false
826
+ },
827
+ {
828
+ "attributes": [
829
+ "assign",
830
+ "nonatomic"
831
+ ],
832
+ "name": "showManageButton",
833
+ "type_name": "BOOL",
834
+ "typestr": "Z",
835
+ "typestr_special": true
836
+ },
837
+ {
838
+ "attributes": [
839
+ "copy",
840
+ "nonatomic"
841
+ ],
842
+ "name": "manageButtonTitle",
843
+ "type_name": "NSString *",
844
+ "typestr": "@",
845
+ "typestr_special": false
846
+ },
847
+ {
848
+ "attributes": [
849
+ "nonatomic",
850
+ "strong"
851
+ ],
852
+ "name": "detailViewListContent",
853
+ "type_name": "NSView *",
854
+ "typestr": "@",
855
+ "typestr_special": false
856
+ }
857
+ ],
858
+ "protocols": [],
859
+ "super": "NSToolbarItem"
860
+ },
545
861
  "SWCollaborationView": {
546
862
  "categories": [],
547
863
  "methods": [
@@ -2257,7 +2573,9 @@
2257
2573
  "NSItemProvider+SWCollaborationMetadata.h",
2258
2574
  "NSPasteboardItem+SWCollaborationMetadata.h",
2259
2575
  "SWAttributionView.h",
2576
+ "SWCollaborationBarButtonItem.h",
2260
2577
  "SWCollaborationHighlight.h",
2578
+ "SWCollaborationToolbarItem.h",
2261
2579
  "SWCollaborationView.h",
2262
2580
  "SWErrors.h",
2263
2581
  "SWHighlight.h",
@@ -2269,6 +2587,6 @@
2269
2587
  "SWHighlightPersistenceEvent.h",
2270
2588
  "SWRemoveParticipantAlert.h"
2271
2589
  ],
2272
- "release": "macOS 27.2",
2273
- "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
2590
+ "release": "macOS 27.3",
2591
+ "sdk": "Xcode 27.3 (27C5035f)/MacOSX27.sdk"
2274
2592
  }
@@ -542,6 +542,322 @@
542
542
  "NSItemProviderWriting"
543
543
  ]
544
544
  },
545
+ "SWCollaborationToolbarItem": {
546
+ "categories": [],
547
+ "methods": [
548
+ {
549
+ "args": [
550
+ {
551
+ "name": "itemProvider",
552
+ "null_accepted": true,
553
+ "type_name": "NSItemProvider *",
554
+ "typestr": "@",
555
+ "typestr_special": false
556
+ }
557
+ ],
558
+ "class_method": false,
559
+ "introduced": "27.3",
560
+ "retval": {
561
+ "instancetype": true,
562
+ "type_name": "instancetype",
563
+ "typestr": "@",
564
+ "typestr_special": false
565
+ },
566
+ "selector": "initWithItemProvider:",
567
+ "visibility": "public"
568
+ },
569
+ {
570
+ "args": [
571
+ {
572
+ "name": "animated",
573
+ "type_name": "BOOL",
574
+ "typestr": "Z",
575
+ "typestr_special": true
576
+ },
577
+ {
578
+ "callable": {
579
+ "arguments": {
580
+ "0": {
581
+ "type": "^v"
582
+ }
583
+ },
584
+ "retval": {
585
+ "type": "v",
586
+ "type_name": "void"
587
+ }
588
+ },
589
+ "name": "completion",
590
+ "null_accepted": true,
591
+ "type_name": "void (^)(void)",
592
+ "typestr": "@?",
593
+ "typestr_special": false
594
+ }
595
+ ],
596
+ "class_method": false,
597
+ "introduced": "27.3",
598
+ "retval": {
599
+ "type_name": "void",
600
+ "typestr": "v",
601
+ "typestr_special": false
602
+ },
603
+ "selector": "dismissPopoverAnimated:completion:",
604
+ "visibility": "public"
605
+ },
606
+ {
607
+ "args": [],
608
+ "class_method": false,
609
+ "introduced": "27.3",
610
+ "retval": {
611
+ "type_name": "NSInteger",
612
+ "typestr": "q",
613
+ "typestr_special": false
614
+ },
615
+ "selector": "activeParticipantCount",
616
+ "visibility": "public"
617
+ },
618
+ {
619
+ "args": [
620
+ {
621
+ "name": "activeParticipantCount",
622
+ "type_name": "NSInteger",
623
+ "typestr": "q",
624
+ "typestr_special": false
625
+ }
626
+ ],
627
+ "class_method": false,
628
+ "introduced": "27.3",
629
+ "retval": {
630
+ "type_name": "void",
631
+ "typestr": "v",
632
+ "typestr_special": false
633
+ },
634
+ "selector": "setActiveParticipantCount:",
635
+ "visibility": "public"
636
+ },
637
+ {
638
+ "args": [],
639
+ "class_method": false,
640
+ "introduced": "27.3",
641
+ "retval": {
642
+ "type_name": "BOOL",
643
+ "typestr": "Z",
644
+ "typestr_special": true
645
+ },
646
+ "selector": "showsParticipantCount",
647
+ "visibility": "public"
648
+ },
649
+ {
650
+ "args": [
651
+ {
652
+ "name": "showsParticipantCount",
653
+ "type_name": "BOOL",
654
+ "typestr": "Z",
655
+ "typestr_special": true
656
+ }
657
+ ],
658
+ "class_method": false,
659
+ "introduced": "27.3",
660
+ "retval": {
661
+ "type_name": "void",
662
+ "typestr": "v",
663
+ "typestr_special": false
664
+ },
665
+ "selector": "setShowsParticipantCount:",
666
+ "visibility": "public"
667
+ },
668
+ {
669
+ "args": [],
670
+ "class_method": false,
671
+ "introduced": "27.3",
672
+ "retval": {
673
+ "type_name": "NSInteger",
674
+ "typestr": "q",
675
+ "typestr_special": false
676
+ },
677
+ "selector": "pendingAccessRequestsCount",
678
+ "visibility": "public"
679
+ },
680
+ {
681
+ "args": [
682
+ {
683
+ "name": "pendingAccessRequestsCount",
684
+ "type_name": "NSInteger",
685
+ "typestr": "q",
686
+ "typestr_special": false
687
+ }
688
+ ],
689
+ "class_method": false,
690
+ "introduced": "27.3",
691
+ "retval": {
692
+ "type_name": "void",
693
+ "typestr": "v",
694
+ "typestr_special": false
695
+ },
696
+ "selector": "setPendingAccessRequestsCount:",
697
+ "visibility": "public"
698
+ },
699
+ {
700
+ "args": [],
701
+ "class_method": false,
702
+ "introduced": "27.3",
703
+ "retval": {
704
+ "type_name": "BOOL",
705
+ "typestr": "Z",
706
+ "typestr_special": true
707
+ },
708
+ "selector": "showManageButton",
709
+ "visibility": "public"
710
+ },
711
+ {
712
+ "args": [
713
+ {
714
+ "name": "showManageButton",
715
+ "type_name": "BOOL",
716
+ "typestr": "Z",
717
+ "typestr_special": true
718
+ }
719
+ ],
720
+ "class_method": false,
721
+ "introduced": "27.3",
722
+ "retval": {
723
+ "type_name": "void",
724
+ "typestr": "v",
725
+ "typestr_special": false
726
+ },
727
+ "selector": "setShowManageButton:",
728
+ "visibility": "public"
729
+ },
730
+ {
731
+ "args": [],
732
+ "class_method": false,
733
+ "introduced": "27.3",
734
+ "retval": {
735
+ "type_name": "NSString *",
736
+ "typestr": "@",
737
+ "typestr_special": false
738
+ },
739
+ "selector": "manageButtonTitle",
740
+ "visibility": "public"
741
+ },
742
+ {
743
+ "args": [
744
+ {
745
+ "name": "manageButtonTitle",
746
+ "null_accepted": true,
747
+ "type_name": "NSString *",
748
+ "typestr": "@",
749
+ "typestr_special": false
750
+ }
751
+ ],
752
+ "class_method": false,
753
+ "introduced": "27.3",
754
+ "retval": {
755
+ "type_name": "void",
756
+ "typestr": "v",
757
+ "typestr_special": false
758
+ },
759
+ "selector": "setManageButtonTitle:",
760
+ "visibility": "public"
761
+ },
762
+ {
763
+ "args": [],
764
+ "class_method": false,
765
+ "introduced": "27.3",
766
+ "retval": {
767
+ "type_name": "NSView *",
768
+ "typestr": "@",
769
+ "typestr_special": false
770
+ },
771
+ "selector": "detailViewListContent",
772
+ "visibility": "public"
773
+ },
774
+ {
775
+ "args": [
776
+ {
777
+ "name": "detailViewListContent",
778
+ "null_accepted": true,
779
+ "type_name": "NSView *",
780
+ "typestr": "@",
781
+ "typestr_special": false
782
+ }
783
+ ],
784
+ "class_method": false,
785
+ "introduced": "27.3",
786
+ "retval": {
787
+ "type_name": "void",
788
+ "typestr": "v",
789
+ "typestr_special": false
790
+ },
791
+ "selector": "setDetailViewListContent:",
792
+ "visibility": "public"
793
+ }
794
+ ],
795
+ "name": "SWCollaborationToolbarItem",
796
+ "properties": [
797
+ {
798
+ "attributes": [
799
+ "assign",
800
+ "nonatomic"
801
+ ],
802
+ "name": "activeParticipantCount",
803
+ "type_name": "NSInteger",
804
+ "typestr": "q",
805
+ "typestr_special": false
806
+ },
807
+ {
808
+ "attributes": [
809
+ "assign",
810
+ "nonatomic"
811
+ ],
812
+ "name": "showsParticipantCount",
813
+ "type_name": "BOOL",
814
+ "typestr": "Z",
815
+ "typestr_special": true
816
+ },
817
+ {
818
+ "attributes": [
819
+ "assign",
820
+ "nonatomic"
821
+ ],
822
+ "name": "pendingAccessRequestsCount",
823
+ "type_name": "NSInteger",
824
+ "typestr": "q",
825
+ "typestr_special": false
826
+ },
827
+ {
828
+ "attributes": [
829
+ "assign",
830
+ "nonatomic"
831
+ ],
832
+ "name": "showManageButton",
833
+ "type_name": "BOOL",
834
+ "typestr": "Z",
835
+ "typestr_special": true
836
+ },
837
+ {
838
+ "attributes": [
839
+ "copy",
840
+ "nonatomic"
841
+ ],
842
+ "name": "manageButtonTitle",
843
+ "type_name": "NSString *",
844
+ "typestr": "@",
845
+ "typestr_special": false
846
+ },
847
+ {
848
+ "attributes": [
849
+ "nonatomic",
850
+ "strong"
851
+ ],
852
+ "name": "detailViewListContent",
853
+ "type_name": "NSView *",
854
+ "typestr": "@",
855
+ "typestr_special": false
856
+ }
857
+ ],
858
+ "protocols": [],
859
+ "super": "NSToolbarItem"
860
+ },
545
861
  "SWCollaborationView": {
546
862
  "categories": [],
547
863
  "methods": [
@@ -2257,7 +2573,9 @@
2257
2573
  "NSItemProvider+SWCollaborationMetadata.h",
2258
2574
  "NSPasteboardItem+SWCollaborationMetadata.h",
2259
2575
  "SWAttributionView.h",
2576
+ "SWCollaborationBarButtonItem.h",
2260
2577
  "SWCollaborationHighlight.h",
2578
+ "SWCollaborationToolbarItem.h",
2261
2579
  "SWCollaborationView.h",
2262
2580
  "SWErrors.h",
2263
2581
  "SWHighlight.h",
@@ -2269,6 +2587,6 @@
2269
2587
  "SWHighlightPersistenceEvent.h",
2270
2588
  "SWRemoveParticipantAlert.h"
2271
2589
  ],
2272
- "release": "macOS 27.2",
2273
- "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
2590
+ "release": "macOS 27.3",
2591
+ "sdk": "Xcode 27.3 (27C5035f)/MacOSX27.sdk"
2274
2592
  }
@@ -22,12 +22,20 @@ import tempfile
22
22
  import textwrap
23
23
  import time
24
24
  import unittest
25
+ import zipfile
25
26
  from fnmatch import fnmatch
26
27
  from sysconfig import get_config_var, get_config_vars
27
28
  from setuptools import Command
28
29
  from setuptools import Extension as _Extension
29
30
  from setuptools import setup as _setup
30
- from setuptools.command import build_ext, build_py, develop, egg_info, install_lib
31
+ from setuptools.command import (
32
+ build_ext,
33
+ build_py,
34
+ develop,
35
+ egg_info,
36
+ install_lib,
37
+ bdist_wheel,
38
+ )
31
39
 
32
40
  from distutils import log
33
41
  from distutils.errors import DistutilsError, DistutilsPlatformError
@@ -43,6 +51,29 @@ except ImportError:
43
51
  from distutils.command import build
44
52
 
45
53
 
54
+ class oc_bdist_wheel(bdist_wheel.bdist_wheel):
55
+ def run(self):
56
+ super().run()
57
+ if (
58
+ self.distribution.dist_files
59
+ and self.distribution.dist_files[-1][0] == "bdist_wheel"
60
+ ):
61
+ ok = True
62
+ zf = zipfile.ZipFile(self.distribution.dist_files[-1][-1], "r")
63
+ for nm in zf.namelist():
64
+ if ".dist-info/" in nm:
65
+ continue
66
+
67
+ if nm.startswith("PyObjCTest/"):
68
+ print("test file included in wheel:", nm)
69
+ if not any(nm.endswith(sfx) for sfx in (".pyi", ".py", ".so")):
70
+ print("unexpected name in wheel:", nm)
71
+ ok = False
72
+
73
+ if not ok:
74
+ raise DistutilsError("Wheel validation failed")
75
+
76
+
46
77
  class oc_build_py(build_py.build_py):
47
78
  def build_packages(self):
48
79
  log.info("overriding build_packages to copy PyObjCTest")
@@ -309,6 +340,10 @@ class pyobjc_install_lib(install_lib.install_lib):
309
340
  else:
310
341
  outputs = install_lib.orig.install_lib.get_outputs(self)
311
342
 
343
+ import pprint
344
+
345
+ pprint.pprint(outputs)
346
+
312
347
  exclusions = {}
313
348
  for fn in outputs:
314
349
  if "PyObjCTest" in fn:
@@ -438,9 +473,30 @@ class pyobjc_build_ext(build_ext.build_ext):
438
473
  if os.path.exists("Modules") and not os.path.isfile("Modules/pyobjc-api.h"):
439
474
  raise DistutilsError("pyobjc-api.h not included")
440
475
 
476
+ # Save mtimes for C extensions
477
+ prebuild_mtimes = {}
478
+ for ext in self.extensions:
479
+ fullname = self.get_ext_fullname(ext.name)
480
+ filename = self.get_ext_filename(fullname)
481
+ full_path = os.path.join(self.build_lib, filename)
482
+ if os.path.exists(full_path):
483
+ prebuild_mtimes[full_path] = os.stat(full_path).st_mtime
484
+
441
485
  # Run the actual build
442
486
  build_ext.build_ext.run(self)
443
487
 
488
+ # Ensure debug symbols are available:
489
+ for ext in self.extensions:
490
+ fullname = self.get_ext_fullname(ext.name)
491
+ filename = self.get_ext_filename(fullname)
492
+ full_path = os.path.join(self.build_lib, filename)
493
+
494
+ if self.inplace:
495
+ if full_path not in prebuild_mtimes or (
496
+ prebuild_mtimes[full_path] != os.stat(full_path).st_mtime
497
+ ):
498
+ subprocess.check_call(["/usr/bin/dsymutil", full_path])
499
+
444
500
  # Then tweak the copy_extensions bit to ensure PyObjCTest gets
445
501
  # copied to the right place.
446
502
  extensions = self.extensions
@@ -567,6 +623,8 @@ def setup(
567
623
  else:
568
624
  cmdclass = cmdclass.copy()
569
625
 
626
+ cmdclass["bdist_wheel"] = oc_bdist_wheel
627
+
570
628
  if os_compatible or ("bdist_wheel" in sys.argv and "ext_modules" not in k):
571
629
  cmdclass["build_ext"] = pyobjc_build_ext
572
630
  cmdclass["egg_info"] = oc_egg_info
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
15
15
 
16
16
  from pyobjc_setup import Extension, setup # noqa: E402
17
17
 
18
- VERSION = "13.0"
18
+ VERSION = "13.1"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-SharedWithYou",
@@ -1,2 +0,0 @@
1
- pyobjc-core>=13.0
2
- pyobjc-framework-SharedWithYouCore>=13.0