@@ -48,37 +48,31 @@ targets = [
48
48
[[example ]]
49
49
name = " basic_usage"
50
50
required-features = [
51
- " Foundation" ,
52
- " Foundation_NSArray" ,
53
- " Foundation_NSDictionary" ,
54
- " Foundation_NSEnumerator" ,
51
+ " unstable-example-basic_usage"
55
52
]
56
53
57
54
[[example ]]
58
55
name = " delegate"
59
56
required-features = [
60
- " apple" ,
61
- " Foundation" ,
62
- " Foundation_NSString" ,
63
- " AppKit_NSResponder" ,
57
+ " unstable-example-delegate"
64
58
]
65
59
66
60
[[example ]]
67
61
name = " speech_synthesis"
68
62
required-features = [
69
- " apple" ,
70
- " Foundation" ,
71
- " Foundation_NSString" ,
63
+ " unstable-example-speech_synthesis"
72
64
]
73
65
74
66
[[example ]]
75
67
name = " nspasteboard"
76
68
required-features = [
77
- " apple" ,
78
- " Foundation" ,
79
- " Foundation_NSArray" ,
80
- " Foundation_NSDictionary" ,
81
- " Foundation_NSString" ,
69
+ " unstable-example-nspasteboard"
70
+ ]
71
+
72
+ [[example ]]
73
+ name = " browser"
74
+ required-features = [
75
+ " unstable-example-browser"
82
76
]
83
77
84
78
[features ]
@@ -117,6 +111,54 @@ unstable-private = []
117
111
# https://github.com/madsmtm/objc2/issues/new
118
112
unstable-static-nsstring = []
119
113
114
+ # Examples
115
+
116
+ unstable-example-basic_usage = [
117
+ " Foundation" ,
118
+ " Foundation_NSArray" ,
119
+ " Foundation_NSDictionary" ,
120
+ " Foundation_NSEnumerator" ,
121
+ ]
122
+ unstable-example-delegate = [
123
+ " apple" ,
124
+ " Foundation" ,
125
+ " Foundation_NSString" ,
126
+ " AppKit" ,
127
+ " AppKit_NSResponder" ,
128
+ ]
129
+ unstable-example-speech_synthesis = [
130
+ " apple" ,
131
+ " Foundation" ,
132
+ " Foundation_NSString" ,
133
+ ]
134
+ unstable-example-nspasteboard = [
135
+ " apple" ,
136
+ " Foundation" ,
137
+ " Foundation_NSArray" ,
138
+ " Foundation_NSDictionary" ,
139
+ " Foundation_NSString" ,
140
+ ]
141
+ unstable-example-browser = [
142
+ " apple" ,
143
+ " AppKit" ,
144
+ " AppKit_NSButton" ,
145
+ " AppKit_NSColor" ,
146
+ " AppKit_NSMenu" ,
147
+ " AppKit_NSMenuItem" ,
148
+ " AppKit_NSStackView" ,
149
+ " AppKit_NSTextAttachmentCell" ,
150
+ " AppKit_NSTextField" ,
151
+ " AppKit_NSTextView" ,
152
+ " AppKit_NSWindow" ,
153
+ " Foundation" ,
154
+ " Foundation_NSString" ,
155
+ " Foundation_NSURL" ,
156
+ " Foundation_NSURLRequest" ,
157
+ " WebKit" ,
158
+ " WebKit_WKNavigation" ,
159
+ " WebKit_WKWebView" ,
160
+ ]
161
+
120
162
# Frameworks
121
163
122
164
Accessibility = [" Foundation" ]
@@ -213,14 +255,14 @@ WebKit = [
213
255
]
214
256
215
257
# Helps with CI
216
- unstable-frameworks-all = [" unstable-frameworks-ios" , " unstable-frameworks-macos-13" ]
258
+ unstable-frameworks-all = [" unstable-frameworks-ios" , " unstable-frameworks-macos-13" , " unstable-example-basic_usage " ]
217
259
unstable-frameworks-gnustep = [" AppKit_all" , " Foundation_all" ]
218
260
unstable-frameworks-gnustep-32bit = [" Foundation_all" ]
219
- unstable-frameworks-ios = [" Accessibility_all" , " AdServices_all" , " AdSupport_all" , " AuthenticationServices_all" , " AutomaticAssessmentConfiguration_all" , " BackgroundAssets_all" , " BackgroundTasks_all" , " BusinessChat_all" , " CallKit_all" , " ClassKit_all" , " CloudKit_all" , " Contacts_all" , " CoreData_all" , " CoreAnimation_all" , " CoreLocation_all" , " DataDetection_all" , " DeviceCheck_all" , " EventKit_all" , " ExtensionKit_all" , " ExternalAccessory_all" , " FileProvider_all" , " FileProviderUI_all" , " Foundation_all" , " GameController_all" , " GameKit_all" , " IdentityLookup_all" , " LocalAuthentication_all" , " LinkPresentation_all" , " MapKit_all" , " Metal_all" , " MetalKit_all" , " SoundAnalysis_all" , " Speech_all" , " StoreKit_all" , " UniformTypeIdentifiers_all" , " UserNotifications_all" , " WebKit_all" ]
220
- unstable-frameworks-macos-10-7 = [" Accessibility_all" , " AppKit_all" , " Automator_all" , " CoreAnimation_all" , " CoreData_all" , " CoreLocation_all" , " ExceptionHandling_all" , " Foundation_all" , " InputMethodKit_all" , " OSAKit_all" , " StoreKit_all" , " WebKit_all " ]
261
+ unstable-frameworks-ios = [" Accessibility_all" , " AdServices_all" , " AdSupport_all" , " AuthenticationServices_all" , " AutomaticAssessmentConfiguration_all" , " BackgroundAssets_all" , " BackgroundTasks_all" , " BusinessChat_all" , " CallKit_all" , " ClassKit_all" , " CloudKit_all" , " Contacts_all" , " CoreData_all" , " CoreAnimation_all" , " CoreLocation_all" , " DataDetection_all" , " DeviceCheck_all" , " EventKit_all" , " ExtensionKit_all" , " ExternalAccessory_all" , " FileProvider_all" , " FileProviderUI_all" , " Foundation_all" , " GameController_all" , " GameKit_all" , " IdentityLookup_all" , " LocalAuthentication_all" , " LinkPresentation_all" , " MapKit_all" , " Metal_all" , " MetalKit_all" , " SoundAnalysis_all" , " Speech_all" , " StoreKit_all" , " UniformTypeIdentifiers_all" , " UserNotifications_all" , " WebKit_all" , " unstable-example-speech_synthesis " ]
262
+ unstable-frameworks-macos-10-7 = [" Accessibility_all" , " AppKit_all" , " Automator_all" , " CoreAnimation_all" , " CoreData_all" , " CoreLocation_all" , " ExceptionHandling_all" , " Foundation_all" , " InputMethodKit_all" , " OSAKit_all" , " StoreKit_all" , " unstable-example-delegate " , " unstable-example-nspasteboard " , " unstable-example-speech_synthesis " ]
221
263
unstable-frameworks-macos-10-13 = [" unstable-frameworks-macos-10-7" , " BusinessChat_all" , " CloudKit_all" , " Contacts_all" , " EventKit_all" , " ExternalAccessory_all" , " GameController_all" , " GameKit_all" , " LocalAuthentication_all" , " LocalAuthenticationEmbeddedUI_all" , " MapKit_all" , " MetalKit_all" ]
222
264
unstable-frameworks-macos-11 = [" unstable-frameworks-macos-10-13" , " AdServices_all" , " AdSupport_all" , " AuthenticationServices_all" , " AutomaticAssessmentConfiguration_all" , " ClassKit_all" , " DeviceCheck_all" , " FileProvider_all" , " FileProviderUI_all" , " LinkPresentation_all" , " Metal_all" , " SoundAnalysis_all" , " Speech_all" , " UniformTypeIdentifiers_all" , " UserNotifications_all" ]
223
- unstable-frameworks-macos-12 = [" unstable-frameworks-macos-11" , " DataDetection_all" , " LocalAuthenticationEmbeddedUI_all" , " MailKit_all" ]
265
+ unstable-frameworks-macos-12 = [" unstable-frameworks-macos-11" , " DataDetection_all" , " LocalAuthenticationEmbeddedUI_all" , " MailKit_all" , " WebKit_all " , " unstable-example-browser " ]
224
266
unstable-frameworks-macos-13 = [" unstable-frameworks-macos-12" , " BackgroundAssets_all" , " BackgroundTasks_all" , " CallKit_all" , " ExtensionKit_all" , " IdentityLookup_all" , " MetalFX_all" ]
225
267
226
268
# Temporary fixes until we can autogenerate these
0 commit comments