comparison dwt/internal/cocoa/NSObject.d @ 1:8b48be5454ce

The internal cocoa classes compile now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 19 Aug 2008 17:35:17 +0200
parents 380af2bdd8e5
children f565d3a95c0a
comparison
equal deleted inserted replaced
0:380af2bdd8e5 1:8b48be5454ce
81 super(id); 81 super(id);
82 } 82 }
83 83
84 public void URL_resourceDataDidBecomeAvailable_ (NSURL sender, NSData newBytes) 84 public void URL_resourceDataDidBecomeAvailable_ (NSURL sender, NSData newBytes)
85 { 85 {
86 OS.objc_msgSend(this.id, OS.sel_URL_1resourceDataDidBecomeAvailable_1, sender !is null ? sender.id : null, 86 OS.objc_msgSend(this.id_, OS.sel_URL_1resourceDataDidBecomeAvailable_1, sender !is null ? sender.id_ : null,
87 newBytes !is null ? newBytes.id : null); 87 newBytes !is null ? newBytes.id_ : null);
88 } 88 }
89 89
90 public void URL_resourceDidFailLoadingWithReason_ (NSURL sender, NSString reason) 90 public void URL_resourceDidFailLoadingWithReason_ (NSURL sender, NSString reason)
91 { 91 {
92 OS.objc_msgSend(this.id, OS.sel_URL_1resourceDidFailLoadingWithReason_1, sender !is null ? sender.id : null, 92 OS.objc_msgSend(this.id_, OS.sel_URL_1resourceDidFailLoadingWithReason_1, sender !is null ? sender.id_ : null,
93 reason !is null ? reason.id : null); 93 reason !is null ? reason.id_ : null);
94 } 94 }
95 95
96 public void URLHandle_resourceDataDidBecomeAvailable_ (NSURLHandle sender, NSData newBytes) 96 public void URLHandle_resourceDataDidBecomeAvailable_ (NSURLHandle sender, NSData newBytes)
97 { 97 {
98 OS.objc_msgSend(this.id, OS.sel_URLHandle_1resourceDataDidBecomeAvailable_1, sender !is null ? sender.id : null, 98 OS.objc_msgSend(this.id_, OS.sel_URLHandle_1resourceDataDidBecomeAvailable_1, sender !is null ? sender.id_ : null,
99 newBytes !is null ? newBytes.id : null); 99 newBytes !is null ? newBytes.id_ : null);
100 } 100 }
101 101
102 public void URLHandle_resourceDidFailLoadingWithReason_ (NSURLHandle sender, NSString reason) 102 public void URLHandle_resourceDidFailLoadingWithReason_ (NSURLHandle sender, NSString reason)
103 { 103 {
104 OS.objc_msgSend(this.id, OS.sel_URLHandle_1resourceDidFailLoadingWithReason_1, sender !is null ? sender.id : null, 104 OS.objc_msgSend(this.id_, OS.sel_URLHandle_1resourceDidFailLoadingWithReason_1, sender !is null ? sender.id_ : null,
105 reason !is null ? reason.id : null); 105 reason !is null ? reason.id_ : null);
106 } 106 }
107 107
108 public void URLHandleResourceDidBeginLoading (NSURLHandle sender) 108 public void URLHandleResourceDidBeginLoading (NSURLHandle sender)
109 { 109 {
110 OS.objc_msgSend(this.id, OS.sel_URLHandleResourceDidBeginLoading_1, sender !is null ? sender.id : null); 110 OS.objc_msgSend(this.id_, OS.sel_URLHandleResourceDidBeginLoading_1, sender !is null ? sender.id_ : null);
111 } 111 }
112 112
113 public void URLHandleResourceDidCancelLoading (NSURLHandle sender) 113 public void URLHandleResourceDidCancelLoading (NSURLHandle sender)
114 { 114 {
115 OS.objc_msgSend(this.id, OS.sel_URLHandleResourceDidCancelLoading_1, sender !is null ? sender.id : null); 115 OS.objc_msgSend(this.id_, OS.sel_URLHandleResourceDidCancelLoading_1, sender !is null ? sender.id_ : null);
116 } 116 }
117 117
118 public void URLHandleResourceDidFinishLoading (NSURLHandle sender) 118 public void URLHandleResourceDidFinishLoading (NSURLHandle sender)
119 { 119 {
120 OS.objc_msgSend(this.id, OS.sel_URLHandleResourceDidFinishLoading_1, sender !is null ? sender.id : null); 120 OS.objc_msgSend(this.id_, OS.sel_URLHandleResourceDidFinishLoading_1, sender !is null ? sender.id_ : null);
121 } 121 }
122 122
123 public void URLProtocol_cachedResponseIsValid_ (NSURLProtocol protocol, NSCachedURLResponse cachedResponse) 123 public void URLProtocol_cachedResponseIsValid_ (NSURLProtocol protocol, NSCachedURLResponse cachedResponse)
124 { 124 {
125 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1cachedResponseIsValid_1, protocol !is null ? protocol.id : null, 125 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1cachedResponseIsValid_1, protocol !is null ? protocol.id_ : null,
126 cachedResponse !is null ? cachedResponse.id : null); 126 cachedResponse !is null ? cachedResponse.id_ : null);
127 } 127 }
128 128
129 public void URLProtocol_didCancelAuthenticationChallenge_ (NSURLProtocol protocol, NSURLAuthenticationChallenge challenge) 129 public void URLProtocol_didCancelAuthenticationChallenge_ (NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
130 { 130 {
131 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1didCancelAuthenticationChallenge_1, protocol !is null ? protocol.id : null, 131 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1didCancelAuthenticationChallenge_1, protocol !is null ? protocol.id_ : null,
132 challenge !is null ? challenge.id : null); 132 challenge !is null ? challenge.id_ : null);
133 } 133 }
134 134
135 public void URLProtocol_didFailWithError_ (NSURLProtocol protocol, NSError error) 135 public void URLProtocol_didFailWithError_ (NSURLProtocol protocol, NSError error)
136 { 136 {
137 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1didFailWithError_1, protocol !is null ? protocol.id : null, error !is null ? error.id : null); 137 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1didFailWithError_1, protocol !is null ? protocol.id_ : null, error !is null ? error.id_ : null);
138 } 138 }
139 139
140 public void URLProtocol_didLoadData_ (NSURLProtocol protocol, NSData data) 140 public void URLProtocol_didLoadData_ (NSURLProtocol protocol, NSData data)
141 { 141 {
142 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1didLoadData_1, protocol !is null ? protocol.id : null, data !is null ? data.id : null); 142 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1didLoadData_1, protocol !is null ? protocol.id_ : null, data !is null ? data.id_ : null);
143 } 143 }
144 144
145 public void URLProtocol_didReceiveAuthenticationChallenge_ (NSURLProtocol protocol, NSURLAuthenticationChallenge challenge) 145 public void URLProtocol_didReceiveAuthenticationChallenge_ (NSURLProtocol protocol, NSURLAuthenticationChallenge challenge)
146 { 146 {
147 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1didReceiveAuthenticationChallenge_1, protocol !is null ? protocol.id : null, 147 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1didReceiveAuthenticationChallenge_1, protocol !is null ? protocol.id_ : null,
148 challenge !is null ? challenge.id : null); 148 challenge !is null ? challenge.id_ : null);
149 } 149 }
150 150
151 public void URLProtocol_didReceiveResponse_cacheStoragePolicy_ (NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy) 151 public void URLProtocol_didReceiveResponse_cacheStoragePolicy_ (NSURLProtocol protocol, NSURLResponse response, NSURLCacheStoragePolicy policy)
152 { 152 {
153 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1didReceiveResponse_1cacheStoragePolicy_1, protocol !is null ? protocol.id : null, 153 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1didReceiveResponse_1cacheStoragePolicy_1, protocol !is null ? protocol.id_ : null,
154 response !is null ? response.id : null, policy); 154 response !is null ? response.id_ : null, policy);
155 } 155 }
156 156
157 public void URLProtocol_wasRedirectedToRequest_redirectResponse_ (NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse) 157 public void URLProtocol_wasRedirectedToRequest_redirectResponse_ (NSURLProtocol protocol, NSURLRequest request, NSURLResponse redirectResponse)
158 { 158 {
159 OS.objc_msgSend(this.id, OS.sel_URLProtocol_1wasRedirectedToRequest_1redirectResponse_1, protocol !is null ? protocol.id : null, 159 OS.objc_msgSend(this.id_, OS.sel_URLProtocol_1wasRedirectedToRequest_1redirectResponse_1, protocol !is null ? protocol.id_ : null,
160 request !is null ? request.id : null, redirectResponse !is null ? redirectResponse.id : null); 160 request !is null ? request.id_ : null, redirectResponse !is null ? redirectResponse.id_ : null);
161 } 161 }
162 162
163 public void URLProtocolDidFinishLoading (NSURLProtocol protocol) 163 public void URLProtocolDidFinishLoading (NSURLProtocol protocol)
164 { 164 {
165 OS.objc_msgSend(this.id, OS.sel_URLProtocolDidFinishLoading_1, protocol !is null ? protocol.id : null); 165 OS.objc_msgSend(this.id_, OS.sel_URLProtocolDidFinishLoading_1, protocol !is null ? protocol.id_ : null);
166 } 166 }
167 167
168 public void URLResourceDidCancelLoading (NSURL sender) 168 public void URLResourceDidCancelLoading (NSURL sender)
169 { 169 {
170 OS.objc_msgSend(this.id, OS.sel_URLResourceDidCancelLoading_1, sender !is null ? sender.id : null); 170 OS.objc_msgSend(this.id_, OS.sel_URLResourceDidCancelLoading_1, sender !is null ? sender.id_ : null);
171 } 171 }
172 172
173 public void URLResourceDidFinishLoading (NSURL sender) 173 public void URLResourceDidFinishLoading (NSURL sender)
174 { 174 {
175 OS.objc_msgSend(this.id, OS.sel_URLResourceDidFinishLoading_1, sender !is null ? sender.id : null); 175 OS.objc_msgSend(this.id_, OS.sel_URLResourceDidFinishLoading_1, sender !is null ? sender.id_ : null);
176 } 176 }
177 177
178 public static bool accessInstanceVariablesDirectly () 178 public static bool accessInstanceVariablesDirectly ()
179 { 179 {
180 return OS.objc_msgSend(OS.class_NSObject, OS.sel_accessInstanceVariablesDirectly) !is null; 180 return OS.objc_msgSend(OS.class_NSObject, OS.sel_accessInstanceVariablesDirectly) !is null;
181 } 181 }
182 182
183 public void addObserver (NSObject observer, NSString keyPath, NSKeyValueObservingOptions options, void* context) 183 public void addObserver (NSObject observer, NSString keyPath, NSKeyValueObservingOptions options, void* context)
184 { 184 {
185 OS.objc_msgSend(this.id, OS.sel_addObserver_1forKeyPath_1options_1context_1, observer !is null ? observer.id : null, 185 OS.objc_msgSend(this.id_, OS.sel_addObserver_1forKeyPath_1options_1context_1, observer !is null ? observer.id_ : null,
186 keyPath !is null ? keyPath.id : null, options, context); 186 keyPath !is null ? keyPath.id_ : null, options, context);
187 } 187 }
188 188
189 public NSObject alloc () 189 public NSObject alloc ()
190 { 190 {
191 objc.id result = OS.objc_msgSend(cast(objc.id)get_class(), OS.sel_alloc); 191 objc.id result = OS.objc_msgSend(cast(objc.id)get_class(), OS.sel_alloc);
192 this.id = result; 192 this.id_ = result;
193 return result !is null ? this : null; 193 return result !is null ? this : null;
194 } 194 }
195 195
196 public objc.Class get_class () 196 public objc.Class get_class ()
197 { 197 {
208 return result !is null ? new id(result) : null; 208 return result !is null ? new id(result) : null;
209 } 209 }
210 210
211 public void archiver_didEncodeObject_ (NSKeyedArchiver archiver, id object) 211 public void archiver_didEncodeObject_ (NSKeyedArchiver archiver, id object)
212 { 212 {
213 OS.objc_msgSend(this.id, OS.sel_archiver_1didEncodeObject_1, archiver !is null ? archiver.id : null, object !is null ? object.id : null); 213 OS.objc_msgSend(this.id_, OS.sel_archiver_1didEncodeObject_1, archiver !is null ? archiver.id_ : null, object !is null ? object.id_ : null);
214 } 214 }
215 215
216 public id archiver_willEncodeObject_ (NSKeyedArchiver archiver, id object) 216 public id archiver_willEncodeObject_ (NSKeyedArchiver archiver, id object)
217 { 217 {
218 objc.id result = OS.objc_msgSend(this.id, OS.sel_archiver_1willEncodeObject_1, archiver !is null ? archiver.id : null, 218 objc.id result = OS.objc_msgSend(this.id_, OS.sel_archiver_1willEncodeObject_1, archiver !is null ? archiver.id_ : null,
219 object !is null ? object.id : null); 219 object !is null ? object.id_ : null);
220 return result !is null ? new id(result) : null; 220 return result !is null ? new id(result) : null;
221 } 221 }
222 222
223 public void archiver_willReplaceObject_withObject_ (NSKeyedArchiver archiver, id object, id newObject) 223 public void archiver_willReplaceObject_withObject_ (NSKeyedArchiver archiver, id object, id newObject)
224 { 224 {
225 OS.objc_msgSend(this.id, OS.sel_archiver_1willReplaceObject_1withObject_1, archiver !is null ? archiver.id : null, 225 OS.objc_msgSend(this.id_, OS.sel_archiver_1willReplaceObject_1withObject_1, archiver !is null ? archiver.id_ : null,
226 object !is null ? object.id : null, newObject !is null ? newObject.id : null); 226 object !is null ? object.id_ : null, newObject !is null ? newObject.id_ : null);
227 } 227 }
228 228
229 public void archiverDidFinish (NSKeyedArchiver archiver) 229 public void archiverDidFinish (NSKeyedArchiver archiver)
230 { 230 {
231 OS.objc_msgSend(this.id, OS.sel_archiverDidFinish_1, archiver !is null ? archiver.id : null); 231 OS.objc_msgSend(this.id_, OS.sel_archiverDidFinish_1, archiver !is null ? archiver.id_ : null);
232 } 232 }
233 233
234 public void archiverWillFinish (NSKeyedArchiver archiver) 234 public void archiverWillFinish (NSKeyedArchiver archiver)
235 { 235 {
236 OS.objc_msgSend(this.id, OS.sel_archiverWillFinish_1, archiver !is null ? archiver.id : null); 236 OS.objc_msgSend(this.id_, OS.sel_archiverWillFinish_1, archiver !is null ? archiver.id_ : null);
237 } 237 }
238 238
239 public bool attemptRecoveryFromError_optionIndex_ (NSError error, NSUInteger recoveryOptionIndex) 239 public bool attemptRecoveryFromError_optionIndex_ (NSError error, NSUInteger recoveryOptionIndex)
240 { 240 {
241 return OS.objc_msgSend(this.id, OS.sel_attemptRecoveryFromError_1optionIndex_1, error !is null ? error.id : null, recoveryOptionIndex) !is null; 241 return OS.objc_msgSend(this.id_, OS.sel_attemptRecoveryFromError_1optionIndex_1, error !is null ? error.id_ : null, recoveryOptionIndex) !is null;
242 } 242 }
243 243
244 public void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_ (NSError error, NSUInteger recoveryOptionIndex, id delegatee, 244 public void attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_ (NSError error, NSUInteger recoveryOptionIndex, id delegatee,
245 objc.SEL didRecoverSelector, void* contextInfo) 245 objc.SEL didRecoverSelector, void* contextInfo)
246 { 246 {
247 OS.objc_msgSend(this.id, OS.sel_attemptRecoveryFromError_1optionIndex_1delegate_1didRecoverSelector_1contextInfo_1, 247 OS.objc_msgSend(this.id_, OS.sel_attemptRecoveryFromError_1optionIndex_1delegate_1didRecoverSelector_1contextInfo_1,
248 error !is null ? error.id : null, recoveryOptionIndex, delegatee !is null ? delegatee.id : null, didRecoverSelector, contextInfo); 248 error !is null ? error.id_ : null, recoveryOptionIndex, delegatee !is null ? delegatee.id_ : null, didRecoverSelector, contextInfo);
249 } 249 }
250 250
251 public NSArray attributeKeys () 251 public NSArray attributeKeys ()
252 { 252 {
253 objc.id result = OS.objc_msgSend(this.id, OS.sel_attributeKeys); 253 objc.id result = OS.objc_msgSend(this.id_, OS.sel_attributeKeys);
254 return result !is null ? new NSArray(result) : null; 254 return result !is null ? new NSArray(result) : null;
255 } 255 }
256 256
257 public bool authenticateComponents (NSArray components, NSData signature) 257 public bool authenticateComponents (NSArray components, NSData signature)
258 { 258 {
259 return OS.objc_msgSend(this.id, OS.sel_authenticateComponents_1withData_1, components !is null ? components.id : null, 259 return OS.objc_msgSend(this.id_, OS.sel_authenticateComponents_1withData_1, components !is null ? components.id_ : null,
260 signature !is null ? signature.id : null) !is null; 260 signature !is null ? signature.id_ : null) !is null;
261 } 261 }
262 262
263 public NSData authenticationDataForComponents (NSArray components) 263 public NSData authenticationDataForComponents (NSArray components)
264 { 264 {
265 objc.id result = OS.objc_msgSend(this.id, OS.sel_authenticationDataForComponents_1, components !is null ? components.id : null); 265 objc.id result = OS.objc_msgSend(this.id_, OS.sel_authenticationDataForComponents_1, components !is null ? components.id_ : null);
266 return result !is null ? new NSData(result) : null; 266 return result !is null ? new NSData(result) : null;
267 } 267 }
268 268
269 public static bool automaticallyNotifiesObserversForKey (NSString key) 269 public static bool automaticallyNotifiesObserversForKey (NSString key)
270 { 270 {
271 return OS.objc_msgSend(OS.class_NSObject, OS.sel_automaticallyNotifiesObserversForKey_1, key !is null ? key.id : null) !is null; 271 return OS.objc_msgSend(OS.class_NSObject, OS.sel_automaticallyNotifiesObserversForKey_1, key !is null ? key.id_ : null) !is null;
272 } 272 }
273 273
274 public id autorelease () 274 public id autorelease ()
275 { 275 {
276 objc.id result = OS.objc_msgSend(this.id, OS.sel_autorelease); 276 objc.id result = OS.objc_msgSend(this.id_, OS.sel_autorelease);
277 return result !is null ? new id(result) : null; 277 return result !is null ? new id(result) : null;
278 } 278 }
279 279
280 public id awakeAfterUsingCoder (NSCoder aDecoder) 280 public id awakeAfterUsingCoder (NSCoder aDecoder)
281 { 281 {
282 objc.id result = OS.objc_msgSend(this.id, OS.sel_awakeAfterUsingCoder_1, aDecoder !is null ? aDecoder.id : null); 282 objc.id result = OS.objc_msgSend(this.id_, OS.sel_awakeAfterUsingCoder_1, aDecoder !is null ? aDecoder.id_ : null);
283 return result !is null ? new id(result) : null; 283 return result !is null ? new id(result) : null;
284 } 284 }
285 285
286 public void cancelAuthenticationChallenge (NSURLAuthenticationChallenge challenge) 286 public void cancelAuthenticationChallenge (NSURLAuthenticationChallenge challenge)
287 { 287 {
288 OS.objc_msgSend(this.id, OS.sel_cancelAuthenticationChallenge_1, challenge !is null ? challenge.id : null); 288 OS.objc_msgSend(this.id_, OS.sel_cancelAuthenticationChallenge_1, challenge !is null ? challenge.id_ : null);
289 } 289 }
290 290
291 public static void static_cancelPreviousPerformRequestsWithTarget_ (id aTarget) 291 public static void static_cancelPreviousPerformRequestsWithTarget_ (id aTarget)
292 { 292 {
293 OS.objc_msgSend(OS.class_NSObject, OS.sel_cancelPreviousPerformRequestsWithTarget_1, aTarget !is null ? aTarget.id : null); 293 OS.objc_msgSend(OS.class_NSObject, OS.sel_cancelPreviousPerformRequestsWithTarget_1, aTarget !is null ? aTarget.id_ : null);
294 } 294 }
295 295
296 public static void static_cancelPreviousPerformRequestsWithTarget_selector_object_ (id aTarget, objc.SEL aSelector, id anArgument) 296 public static void static_cancelPreviousPerformRequestsWithTarget_selector_object_ (id aTarget, objc.SEL aSelector, id anArgument)
297 { 297 {
298 OS.objc_msgSend(OS.class_NSObject, OS.sel_cancelPreviousPerformRequestsWithTarget_1selector_1object_1, aTarget !is null ? aTarget.id : null, 298 OS.objc_msgSend(OS.class_NSObject, OS.sel_cancelPreviousPerformRequestsWithTarget_1selector_1object_1, aTarget !is null ? aTarget.id_ : null,
299 aSelector, anArgument !is null ? anArgument.id : null); 299 aSelector, anArgument !is null ? anArgument.id_ : null);
300 } 300 }
301 301
302 public static objc.Class static_class () 302 public static objc.Class static_class ()
303 { 303 {
304 return cast(objc.Class)OS.objc_msgSend(OS.class_NSObject, OS.sel_class); 304 return cast(objc.Class)OS.objc_msgSend(OS.class_NSObject, OS.sel_class);
305 } 305 }
306 306
307 //public objc.Class class() { 307 //public objc.Class class() {
308 // return OS.objc_msgSend(this.id, OS.sel_class); 308 // return OS.objc_msgSend(this.id_, OS.sel_class);
309 //} 309 //}
310 310
311 public FourCharCode classCode () 311 public FourCharCode classCode ()
312 { 312 {
313 return OS.objc_msgSend(this.id, OS.sel_classCode); 313 return cast(FourCharCode) OS.objc_msgSend(this.id_, OS.sel_classCode);
314 } 314 }
315 315
316 public NSClassDescription classDescription () 316 public NSClassDescription classDescription ()
317 { 317 {
318 objc.id result = OS.objc_msgSend(this.id, OS.sel_classDescription); 318 objc.id result = OS.objc_msgSend(this.id_, OS.sel_classDescription);
319 return result !is null ? new NSClassDescription(result) : null; 319 return result !is null ? new NSClassDescription(result) : null;
320 } 320 }
321 321
322 public static NSArray classFallbacksForKeyedArchiver () 322 public static NSArray classFallbacksForKeyedArchiver ()
323 { 323 {
325 return result !is null ? new NSArray(result) : null; 325 return result !is null ? new NSArray(result) : null;
326 } 326 }
327 327
328 public objc.Class classForArchiver () 328 public objc.Class classForArchiver ()
329 { 329 {
330 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_classForArchiver); 330 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_classForArchiver);
331 } 331 }
332 332
333 public objc.Class classForCoder () 333 public objc.Class classForCoder ()
334 { 334 {
335 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_classForCoder); 335 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_classForCoder);
336 } 336 }
337 337
338 public objc.Class classForKeyedArchiver () 338 public objc.Class classForKeyedArchiver ()
339 { 339 {
340 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_classForKeyedArchiver); 340 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_classForKeyedArchiver);
341 } 341 }
342 342
343 public static objc.Class classForKeyedUnarchiver () 343 public static objc.Class classForKeyedUnarchiver ()
344 { 344 {
345 return cast(objc.Class) OS.objc_msgSend(OS.class_NSObject, OS.sel_classForKeyedUnarchiver); 345 return cast(objc.Class) OS.objc_msgSend(OS.class_NSObject, OS.sel_classForKeyedUnarchiver);
346 } 346 }
347 347
348 public objc.Class classForPortCoder () 348 public objc.Class classForPortCoder ()
349 { 349 {
350 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_classForPortCoder); 350 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_classForPortCoder);
351 } 351 }
352 352
353 public NSString className () 353 public NSString className ()
354 { 354 {
355 objc.id result = OS.objc_msgSend(this.id, OS.sel_className); 355 objc.id result = OS.objc_msgSend(this.id_, OS.sel_className);
356 return result !is null ? new NSString(result) : null; 356 return result !is null ? new NSString(result) : null;
357 } 357 }
358 358
359 public id coerceValue (id value, NSString key) 359 public id coerceValue (id value, NSString key)
360 { 360 {
361 objc.id result = OS.objc_msgSend(this.id, OS.sel_coerceValue_1forKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 361 objc.id result = OS.objc_msgSend(this.id_, OS.sel_coerceValue_1forKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
362 return result !is null ? new id(result) : null; 362 return result !is null ? new id(result) : null;
363 } 363 }
364 364
365 //public bool conformsToProtocol_(Protocol aProtocol) { 365 //public bool conformsToProtocol_(Protocol aProtocol) {
366 // return OS.objc_msgSend(this.id, OS.sel_conformsToProtocol_1, aProtocol !is null ? aProtocol.id : null) !is null; 366 // return OS.objc_msgSend(this.id_, OS.sel_conformsToProtocol_1, aProtocol !is null ? aProtocol.id_ : null) !is null;
367 //} 367 //}
368 // 368 //
369 //public static bool static_conformsToProtocol_(Protocol protocol) { 369 //public static bool static_conformsToProtocol_(Protocol protocol) {
370 // return OS.objc_msgSend(OS.class_NSObject, OS.sel_conformsToProtocol_1, protocol !is null ? protocol.id : null) !is null; 370 // return OS.objc_msgSend(OS.class_NSObject, OS.sel_conformsToProtocol_1, protocol !is null ? protocol.id_ : null) !is null;
371 //} 371 //}
372 372
373 public void connection_didCancelAuthenticationChallenge_ (NSURLConnection connection, NSURLAuthenticationChallenge challenge) 373 public void connection_didCancelAuthenticationChallenge_ (NSURLConnection connection, NSURLAuthenticationChallenge challenge)
374 { 374 {
375 OS.objc_msgSend(this.id, OS.sel_connection_1didCancelAuthenticationChallenge_1, connection !is null ? connection.id : null, 375 OS.objc_msgSend(this.id_, OS.sel_connection_1didCancelAuthenticationChallenge_1, connection !is null ? connection.id_ : null,
376 challenge !is null ? challenge.id : null); 376 challenge !is null ? challenge.id_ : null);
377 } 377 }
378 378
379 public void connection_didFailWithError_ (NSURLConnection connection, NSError error) 379 public void connection_didFailWithError_ (NSURLConnection connection, NSError error)
380 { 380 {
381 OS.objc_msgSend(this.id, OS.sel_connection_1didFailWithError_1, connection !is null ? connection.id : null, error !is null ? error.id : null); 381 OS.objc_msgSend(this.id_, OS.sel_connection_1didFailWithError_1, connection !is null ? connection.id_ : null, error !is null ? error.id_ : null);
382 } 382 }
383 383
384 public void connection_didReceiveAuthenticationChallenge_ (NSURLConnection connection, NSURLAuthenticationChallenge challenge) 384 public void connection_didReceiveAuthenticationChallenge_ (NSURLConnection connection, NSURLAuthenticationChallenge challenge)
385 { 385 {
386 OS.objc_msgSend(this.id, OS.sel_connection_1didReceiveAuthenticationChallenge_1, connection !is null ? connection.id : null, 386 OS.objc_msgSend(this.id_, OS.sel_connection_1didReceiveAuthenticationChallenge_1, connection !is null ? connection.id_ : null,
387 challenge !is null ? challenge.id : null); 387 challenge !is null ? challenge.id_ : null);
388 } 388 }
389 389
390 public void connection_didReceiveData_ (NSURLConnection connection, NSData data) 390 public void connection_didReceiveData_ (NSURLConnection connection, NSData data)
391 { 391 {
392 OS.objc_msgSend(this.id, OS.sel_connection_1didReceiveData_1, connection !is null ? connection.id : null, data !is null ? data.id : null); 392 OS.objc_msgSend(this.id_, OS.sel_connection_1didReceiveData_1, connection !is null ? connection.id_ : null, data !is null ? data.id_ : null);
393 } 393 }
394 394
395 public void connection_didReceiveResponse_ (NSURLConnection connection, NSURLResponse response) 395 public void connection_didReceiveResponse_ (NSURLConnection connection, NSURLResponse response)
396 { 396 {
397 OS.objc_msgSend(this.id, OS.sel_connection_1didReceiveResponse_1, connection !is null ? connection.id : null, 397 OS.objc_msgSend(this.id_, OS.sel_connection_1didReceiveResponse_1, connection !is null ? connection.id_ : null,
398 response !is null ? response.id : null); 398 response !is null ? response.id_ : null);
399 } 399 }
400 400
401 public bool connection_handleRequest_ (NSConnection connection, NSDistantObjectRequest doreq) 401 public bool connection_handleRequest_ (NSConnection connection, NSDistantObjectRequest doreq)
402 { 402 {
403 return OS.objc_msgSend(this.id, OS.sel_connection_1handleRequest_1, connection !is null ? connection.id : null, 403 return OS.objc_msgSend(this.id_, OS.sel_connection_1handleRequest_1, connection !is null ? connection.id_ : null,
404 doreq !is null ? doreq.id : null) !is null; 404 doreq !is null ? doreq.id_ : null) !is null;
405 } 405 }
406 406
407 public bool connection_shouldMakeNewConnection_ (NSConnection ancestor, NSConnection conn) 407 public bool connection_shouldMakeNewConnection_ (NSConnection ancestor, NSConnection conn)
408 { 408 {
409 return OS.objc_msgSend(this.id, OS.sel_connection_1shouldMakeNewConnection_1, ancestor !is null ? ancestor.id : null, 409 return OS.objc_msgSend(this.id_, OS.sel_connection_1shouldMakeNewConnection_1, ancestor !is null ? ancestor.id_ : null,
410 conn !is null ? conn.id : null) !is null; 410 conn !is null ? conn.id_ : null) !is null;
411 } 411 }
412 412
413 public NSCachedURLResponse connection_willCacheResponse_ (NSURLConnection connection, NSCachedURLResponse cachedResponse) 413 public NSCachedURLResponse connection_willCacheResponse_ (NSURLConnection connection, NSCachedURLResponse cachedResponse)
414 { 414 {
415 objc.id result = OS.objc_msgSend(this.id, OS.sel_connection_1willCacheResponse_1, connection !is null ? connection.id : null, 415 objc.id result = OS.objc_msgSend(this.id_, OS.sel_connection_1willCacheResponse_1, connection !is null ? connection.id_ : null,
416 cachedResponse !is null ? cachedResponse.id : null); 416 cachedResponse !is null ? cachedResponse.id_ : null);
417 return result !is null ? new NSCachedURLResponse(result) : null; 417 return result !is null ? new NSCachedURLResponse(result) : null;
418 } 418 }
419 419
420 public NSURLRequest connection_willSendRequest_redirectResponse_ (NSURLConnection connection, NSURLRequest request, NSURLResponse response) 420 public NSURLRequest connection_willSendRequest_redirectResponse_ (NSURLConnection connection, NSURLRequest request, NSURLResponse response)
421 { 421 {
422 objc.id result = OS.objc_msgSend(this.id, OS.sel_connection_1willSendRequest_1redirectResponse_1, connection !is null ? connection.id : null, 422 objc.id result = OS.objc_msgSend(this.id_, OS.sel_connection_1willSendRequest_1redirectResponse_1, connection !is null ? connection.id_ : null,
423 request !is null ? request.id : null, response !is null ? response.id : null); 423 request !is null ? request.id_ : null, response !is null ? response.id_ : null);
424 return result !is null ? new NSURLRequest(result) : null; 424 return result !is null ? new NSURLRequest(result) : null;
425 } 425 }
426 426
427 public void connectionDidFinishLoading (NSURLConnection connection) 427 public void connectionDidFinishLoading (NSURLConnection connection)
428 { 428 {
429 OS.objc_msgSend(this.id, OS.sel_connectionDidFinishLoading_1, connection !is null ? connection.id : null); 429 OS.objc_msgSend(this.id_, OS.sel_connectionDidFinishLoading_1, connection !is null ? connection.id_ : null);
430 } 430 }
431 431
432 public void continueWithoutCredentialForAuthenticationChallenge (NSURLAuthenticationChallenge challenge) 432 public void continueWithoutCredentialForAuthenticationChallenge (NSURLAuthenticationChallenge challenge)
433 { 433 {
434 OS.objc_msgSend(this.id, OS.sel_continueWithoutCredentialForAuthenticationChallenge_1, challenge !is null ? challenge.id : null); 434 OS.objc_msgSend(this.id_, OS.sel_continueWithoutCredentialForAuthenticationChallenge_1, challenge !is null ? challenge.id_ : null);
435 } 435 }
436 436
437 public id copy () 437 public id copy ()
438 { 438 {
439 objc.id result = OS.objc_msgSend(this.id, OS.sel_copy); 439 objc.id result = OS.objc_msgSend(this.id_, OS.sel_copy);
440 return result !is null ? new id(result) : null; 440 return result !is null ? new id(result) : null;
441 } 441 }
442 442
443 public id copyScriptingValue (id value, NSString key, NSDictionary properties) 443 public id copyScriptingValue (id value, NSString key, NSDictionary properties)
444 { 444 {
445 objc.id result = OS.objc_msgSend(this.id, OS.sel_copyScriptingValue_1forKey_1withProperties_1, value !is null ? value.id : null, 445 objc.id result = OS.objc_msgSend(this.id_, OS.sel_copyScriptingValue_1forKey_1withProperties_1, value !is null ? value.id_ : null,
446 key !is null ? key.id : null, properties !is null ? properties.id : null); 446 key !is null ? key.id_ : null, properties !is null ? properties.id_ : null);
447 return result !is null ? new id(result) : null; 447 return result !is null ? new id(result) : null;
448 } 448 }
449 449
450 public id copyWithZone_ (NSZone* zone) 450 public id copyWithZone_ (NSZone* zone)
451 { 451 {
452 objc.id result = OS.objc_msgSend(this.id, OS.sel_copyWithZone_1, zone); 452 objc.id result = OS.objc_msgSend(this.id_, OS.sel_copyWithZone_1, zone);
453 return result !is null ? new id(result) : null; 453 return result !is null ? new id(result) : null;
454 } 454 }
455 455
456 public static id static_copyWithZone_ (NSZone* zone) 456 public static id static_copyWithZone_ (NSZone* zone)
457 { 457 {
459 return result !is null ? new id(result) : null; 459 return result !is null ? new id(result) : null;
460 } 460 }
461 461
462 public NSUInteger countByEnumeratingWithState (NSFastEnumerationState* state, objc.id* stackbuf, NSUInteger len) 462 public NSUInteger countByEnumeratingWithState (NSFastEnumerationState* state, objc.id* stackbuf, NSUInteger len)
463 { 463 {
464 return OS.objc_msgSend(this.id, OS.sel_countByEnumeratingWithState_1objects_1count_1, state, stackbuf, len); 464 return cast(NSUInteger) OS.objc_msgSend(this.id_, OS.sel_countByEnumeratingWithState_1objects_1count_1, state, stackbuf, len);
465 } 465 }
466 466
467 public id createConversationForConnection (NSConnection conn) 467 public id createConversationForConnection (NSConnection conn)
468 { 468 {
469 objc.id result = OS.objc_msgSend(this.id, OS.sel_createConversationForConnection_1, conn !is null ? conn.id : null); 469 objc.id result = OS.objc_msgSend(this.id_, OS.sel_createConversationForConnection_1, conn !is null ? conn.id_ : null);
470 return result !is null ? new id(result) : null; 470 return result !is null ? new id(result) : null;
471 } 471 }
472 472
473 public void dealloc () 473 public void dealloc ()
474 { 474 {
475 OS.objc_msgSend(this.id, OS.sel_dealloc); 475 OS.objc_msgSend(this.id_, OS.sel_dealloc);
476 } 476 }
477 477
478 public NSString description () 478 public NSString description ()
479 { 479 {
480 objc.id result = OS.objc_msgSend(this.id, OS.sel_description); 480 objc.id result = OS.objc_msgSend(this.id_, OS.sel_description);
481 return result !is null ? new NSString(result) : null; 481 return result !is null ? new NSString(result) : null;
482 } 482 }
483 483
484 public static NSString static_description () 484 public static NSString static_description ()
485 { 485 {
487 return result !is null ? new NSString(result) : null; 487 return result !is null ? new NSString(result) : null;
488 } 488 }
489 489
490 public NSDictionary dictionaryWithValuesForKeys (NSArray keys) 490 public NSDictionary dictionaryWithValuesForKeys (NSArray keys)
491 { 491 {
492 objc.id result = OS.objc_msgSend(this.id, OS.sel_dictionaryWithValuesForKeys_1, keys !is null ? keys.id : null); 492 objc.id result = OS.objc_msgSend(this.id_, OS.sel_dictionaryWithValuesForKeys_1, keys !is null ? keys.id_ : null);
493 return result !is null ? new NSDictionary(result) : null; 493 return result !is null ? new NSDictionary(result) : null;
494 } 494 }
495 495
496 public void didChange (NSKeyValueChange changeKind, NSIndexSet indexes, NSString key) 496 public void didChange (NSKeyValueChange changeKind, NSIndexSet indexes, NSString key)
497 { 497 {
498 OS.objc_msgSend(this.id, OS.sel_didChange_1valuesAtIndexes_1forKey_1, changeKind, indexes !is null ? indexes.id : null, 498 OS.objc_msgSend(this.id_, OS.sel_didChange_1valuesAtIndexes_1forKey_1, changeKind, indexes !is null ? indexes.id_ : null,
499 key !is null ? key.id : null); 499 key !is null ? key.id_ : null);
500 } 500 }
501 501
502 public void didChangeValueForKey_ (NSString key) 502 public void didChangeValueForKey_ (NSString key)
503 { 503 {
504 OS.objc_msgSend(this.id, OS.sel_didChangeValueForKey_1, key !is null ? key.id : null); 504 OS.objc_msgSend(this.id_, OS.sel_didChangeValueForKey_1, key !is null ? key.id_ : null);
505 } 505 }
506 506
507 public void didChangeValueForKey_withSetMutation_usingObjects_ (NSString key, NSKeyValueSetMutationKind mutationKind, NSSet objects) 507 public void didChangeValueForKey_withSetMutation_usingObjects_ (NSString key, NSKeyValueSetMutationKind mutationKind, NSSet objects)
508 { 508 {
509 OS.objc_msgSend(this.id, OS.sel_didChangeValueForKey_1withSetMutation_1usingObjects_1, key !is null ? key.id : null, mutationKind, 509 OS.objc_msgSend(this.id_, OS.sel_didChangeValueForKey_1withSetMutation_1usingObjects_1, key !is null ? key.id_ : null, mutationKind,
510 objects !is null ? objects.id : null); 510 objects !is null ? objects.id_ : null);
511 } 511 }
512 512
513 public bool doesContain (id object) 513 public bool doesContain (id object)
514 { 514 {
515 return OS.objc_msgSend(this.id, OS.sel_doesContain_1, object !is null ? object.id : null) !is null; 515 return OS.objc_msgSend(this.id_, OS.sel_doesContain_1, object !is null ? object.id_ : null) !is null;
516 } 516 }
517 517
518 public void doesNotRecognizeSelector (objc.SEL aSelector) 518 public void doesNotRecognizeSelector (objc.SEL aSelector)
519 { 519 {
520 OS.objc_msgSend(this.id, OS.sel_doesNotRecognizeSelector_1, aSelector); 520 OS.objc_msgSend(this.id_, OS.sel_doesNotRecognizeSelector_1, aSelector);
521 } 521 }
522 522
523 public void download_decideDestinationWithSuggestedFilename_ (NSURLDownload download, NSString filename) 523 public void download_decideDestinationWithSuggestedFilename_ (NSURLDownload download, NSString filename)
524 { 524 {
525 OS.objc_msgSend(this.id, OS.sel_download_1decideDestinationWithSuggestedFilename_1, download !is null ? download.id : null, 525 OS.objc_msgSend(this.id_, OS.sel_download_1decideDestinationWithSuggestedFilename_1, download !is null ? download.id_ : null,
526 filename !is null ? filename.id : null); 526 filename !is null ? filename.id_ : null);
527 } 527 }
528 528
529 public void download_didCancelAuthenticationChallenge_ (NSURLDownload download, NSURLAuthenticationChallenge challenge) 529 public void download_didCancelAuthenticationChallenge_ (NSURLDownload download, NSURLAuthenticationChallenge challenge)
530 { 530 {
531 OS.objc_msgSend(this.id, OS.sel_download_1didCancelAuthenticationChallenge_1, download !is null ? download.id : null, 531 OS.objc_msgSend(this.id_, OS.sel_download_1didCancelAuthenticationChallenge_1, download !is null ? download.id_ : null,
532 challenge !is null ? challenge.id : null); 532 challenge !is null ? challenge.id_ : null);
533 } 533 }
534 534
535 public void download_didCreateDestination_ (NSURLDownload download, NSString path) 535 public void download_didCreateDestination_ (NSURLDownload download, NSString path)
536 { 536 {
537 OS.objc_msgSend(this.id, OS.sel_download_1didCreateDestination_1, download !is null ? download.id : null, path !is null ? path.id : null); 537 OS.objc_msgSend(this.id_, OS.sel_download_1didCreateDestination_1, download !is null ? download.id_ : null, path !is null ? path.id_ : null);
538 } 538 }
539 539
540 public void download_didFailWithError_ (NSURLDownload download, NSError error) 540 public void download_didFailWithError_ (NSURLDownload download, NSError error)
541 { 541 {
542 OS.objc_msgSend(this.id, OS.sel_download_1didFailWithError_1, download !is null ? download.id : null, error !is null ? error.id : null); 542 OS.objc_msgSend(this.id_, OS.sel_download_1didFailWithError_1, download !is null ? download.id_ : null, error !is null ? error.id_ : null);
543 } 543 }
544 544
545 public void download_didReceiveAuthenticationChallenge_ (NSURLDownload download, NSURLAuthenticationChallenge challenge) 545 public void download_didReceiveAuthenticationChallenge_ (NSURLDownload download, NSURLAuthenticationChallenge challenge)
546 { 546 {
547 OS.objc_msgSend(this.id, OS.sel_download_1didReceiveAuthenticationChallenge_1, download !is null ? download.id : null, 547 OS.objc_msgSend(this.id_, OS.sel_download_1didReceiveAuthenticationChallenge_1, download !is null ? download.id_ : null,
548 challenge !is null ? challenge.id : null); 548 challenge !is null ? challenge.id_ : null);
549 } 549 }
550 550
551 public void download_didReceiveDataOfLength_ (NSURLDownload download, NSUInteger length) 551 public void download_didReceiveDataOfLength_ (NSURLDownload download, NSUInteger length)
552 { 552 {
553 OS.objc_msgSend(this.id, OS.sel_download_1didReceiveDataOfLength_1, download !is null ? download.id : null, length); 553 OS.objc_msgSend(this.id_, OS.sel_download_1didReceiveDataOfLength_1, download !is null ? download.id_ : null, length);
554 } 554 }
555 555
556 public void download_didReceiveResponse_ (NSURLDownload download, NSURLResponse response) 556 public void download_didReceiveResponse_ (NSURLDownload download, NSURLResponse response)
557 { 557 {
558 OS.objc_msgSend(this.id, OS.sel_download_1didReceiveResponse_1, download !is null ? download.id : null, 558 OS.objc_msgSend(this.id_, OS.sel_download_1didReceiveResponse_1, download !is null ? download.id_ : null,
559 response !is null ? response.id : null); 559 response !is null ? response.id_ : null);
560 } 560 }
561 561
562 public bool download_shouldDecodeSourceDataOfMIMEType_ (NSURLDownload download, NSString encodingType) 562 public bool download_shouldDecodeSourceDataOfMIMEType_ (NSURLDownload download, NSString encodingType)
563 { 563 {
564 return OS.objc_msgSend(this.id, OS.sel_download_1shouldDecodeSourceDataOfMIMEType_1, download !is null ? download.id : null, 564 return OS.objc_msgSend(this.id_, OS.sel_download_1shouldDecodeSourceDataOfMIMEType_1, download !is null ? download.id_ : null,
565 encodingType !is null ? encodingType.id : null) !is null; 565 encodingType !is null ? encodingType.id_ : null) !is null;
566 } 566 }
567 567
568 public void download_willResumeWithResponse_fromByte_ (NSURLDownload download, NSURLResponse response, long startingByte) 568 public void download_willResumeWithResponse_fromByte_ (NSURLDownload download, NSURLResponse response, long startingByte)
569 { 569 {
570 OS.objc_msgSend(this.id, OS.sel_download_1willResumeWithResponse_1fromByte_1, download !is null ? download.id : null, 570 OS.objc_msgSend(this.id_, OS.sel_download_1willResumeWithResponse_1fromByte_1, download !is null ? download.id_ : null,
571 response !is null ? response.id : null, startingByte); 571 response !is null ? response.id_ : null, startingByte);
572 } 572 }
573 573
574 public NSURLRequest download_willSendRequest_redirectResponse_ (NSURLDownload download, NSURLRequest request, NSURLResponse redirectResponse) 574 public NSURLRequest download_willSendRequest_redirectResponse_ (NSURLDownload download, NSURLRequest request, NSURLResponse redirectResponse)
575 { 575 {
576 objc.id result = OS.objc_msgSend(this.id, OS.sel_download_1willSendRequest_1redirectResponse_1, download !is null ? download.id : null, 576 objc.id result = OS.objc_msgSend(this.id_, OS.sel_download_1willSendRequest_1redirectResponse_1, download !is null ? download.id_ : null,
577 request !is null ? request.id : null, redirectResponse !is null ? redirectResponse.id : null); 577 request !is null ? request.id_ : null, redirectResponse !is null ? redirectResponse.id_ : null);
578 return result !is null ? new NSURLRequest(result) : null; 578 return result !is null ? new NSURLRequest(result) : null;
579 } 579 }
580 580
581 public void downloadDidBegin (NSURLDownload download) 581 public void downloadDidBegin (NSURLDownload download)
582 { 582 {
583 OS.objc_msgSend(this.id, OS.sel_downloadDidBegin_1, download !is null ? download.id : null); 583 OS.objc_msgSend(this.id_, OS.sel_downloadDidBegin_1, download !is null ? download.id_ : null);
584 } 584 }
585 585
586 public void downloadDidFinish (NSURLDownload download) 586 public void downloadDidFinish (NSURLDownload download)
587 { 587 {
588 OS.objc_msgSend(this.id, OS.sel_downloadDidFinish_1, download !is null ? download.id : null); 588 OS.objc_msgSend(this.id_, OS.sel_downloadDidFinish_1, download !is null ? download.id_ : null);
589 } 589 }
590 590
591 public void encodeWithCoder (NSCoder aCoder) 591 public void encodeWithCoder (NSCoder aCoder)
592 { 592 {
593 OS.objc_msgSend(this.id, OS.sel_encodeWithCoder_1, aCoder !is null ? aCoder.id : null); 593 OS.objc_msgSend(this.id_, OS.sel_encodeWithCoder_1, aCoder !is null ? aCoder.id_ : null);
594 } 594 }
595 595
596 public NSDecimalNumber exceptionDuringOperation (objc.SEL operation, NSCalculationError error, NSDecimalNumber leftOperand, NSDecimalNumber rightOperand) 596 public NSDecimalNumber exceptionDuringOperation (objc.SEL operation, NSCalculationError error, NSDecimalNumber leftOperand, NSDecimalNumber rightOperand)
597 { 597 {
598 objc.id result = OS.objc_msgSend(this.id, OS.sel_exceptionDuringOperation_1error_1leftOperand_1rightOperand_1, operation, error, 598 objc.id result = OS.objc_msgSend(this.id_, OS.sel_exceptionDuringOperation_1error_1leftOperand_1rightOperand_1, operation, error,
599 leftOperand !is null ? leftOperand.id : null, rightOperand !is null ? rightOperand.id : null); 599 leftOperand !is null ? leftOperand.id_ : null, rightOperand !is null ? rightOperand.id_ : null);
600 return result !is null ? new NSDecimalNumber(result) : null; 600 return result !is null ? new NSDecimalNumber(result) : null;
601 } 601 }
602 602
603 public bool fileManager_shouldCopyItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath) 603 public bool fileManager_shouldCopyItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath)
604 { 604 {
605 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldCopyItemAtPath_1toPath_1, fileManager !is null ? fileManager.id : null, 605 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldCopyItemAtPath_1toPath_1, fileManager !is null ? fileManager.id_ : null,
606 srcPath !is null ? srcPath.id : null, dstPath !is null ? dstPath.id : null) !is null; 606 srcPath !is null ? srcPath.id_ : null, dstPath !is null ? dstPath.id_ : null) !is null;
607 } 607 }
608 608
609 public bool fileManager_shouldLinkItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath) 609 public bool fileManager_shouldLinkItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath)
610 { 610 {
611 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldLinkItemAtPath_1toPath_1, fileManager !is null ? fileManager.id : null, 611 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldLinkItemAtPath_1toPath_1, fileManager !is null ? fileManager.id_ : null,
612 srcPath !is null ? srcPath.id : null, dstPath !is null ? dstPath.id : null) !is null; 612 srcPath !is null ? srcPath.id_ : null, dstPath !is null ? dstPath.id_ : null) !is null;
613 } 613 }
614 614
615 public bool fileManager_shouldMoveItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath) 615 public bool fileManager_shouldMoveItemAtPath_toPath_ (NSFileManager fileManager, NSString srcPath, NSString dstPath)
616 { 616 {
617 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldMoveItemAtPath_1toPath_1, fileManager !is null ? fileManager.id : null, 617 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldMoveItemAtPath_1toPath_1, fileManager !is null ? fileManager.id_ : null,
618 srcPath !is null ? srcPath.id : null, dstPath !is null ? dstPath.id : null) !is null; 618 srcPath !is null ? srcPath.id_ : null, dstPath !is null ? dstPath.id_ : null) !is null;
619 } 619 }
620 620
621 public bool fileManager_shouldProceedAfterError_ (NSFileManager fm, NSDictionary errorInfo) 621 public bool fileManager_shouldProceedAfterError_ (NSFileManager fm, NSDictionary errorInfo)
622 { 622 {
623 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldProceedAfterError_1, fm !is null ? fm.id : null, 623 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldProceedAfterError_1, fm !is null ? fm.id_ : null,
624 errorInfo !is null ? errorInfo.id : null) !is null; 624 errorInfo !is null ? errorInfo.id_ : null) !is null;
625 } 625 }
626 626
627 public bool fileManager_shouldProceedAfterError_copyingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath, 627 public bool fileManager_shouldProceedAfterError_copyingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath,
628 NSString dstPath) 628 NSString dstPath)
629 { 629 {
630 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldProceedAfterError_1copyingItemAtPath_1toPath_1, 630 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldProceedAfterError_1copyingItemAtPath_1toPath_1,
631 fileManager !is null ? fileManager.id : null, error !is null ? error.id : null, srcPath !is null ? srcPath.id : null, 631 fileManager !is null ? fileManager.id_ : null, error !is null ? error.id_ : null, srcPath !is null ? srcPath.id_ : null,
632 dstPath !is null ? dstPath.id : null) !is null; 632 dstPath !is null ? dstPath.id_ : null) !is null;
633 } 633 }
634 634
635 public bool fileManager_shouldProceedAfterError_linkingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath, 635 public bool fileManager_shouldProceedAfterError_linkingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath,
636 NSString dstPath) 636 NSString dstPath)
637 { 637 {
638 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldProceedAfterError_1linkingItemAtPath_1toPath_1, 638 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldProceedAfterError_1linkingItemAtPath_1toPath_1,
639 fileManager !is null ? fileManager.id : null, error !is null ? error.id : null, srcPath !is null ? srcPath.id : null, 639 fileManager !is null ? fileManager.id_ : null, error !is null ? error.id_ : null, srcPath !is null ? srcPath.id_ : null,
640 dstPath !is null ? dstPath.id : null) !is null; 640 dstPath !is null ? dstPath.id_ : null) !is null;
641 } 641 }
642 642
643 public bool fileManager_shouldProceedAfterError_movingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath, 643 public bool fileManager_shouldProceedAfterError_movingItemAtPath_toPath_ (NSFileManager fileManager, NSError error, NSString srcPath,
644 NSString dstPath) 644 NSString dstPath)
645 { 645 {
646 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldProceedAfterError_1movingItemAtPath_1toPath_1, 646 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldProceedAfterError_1movingItemAtPath_1toPath_1,
647 fileManager !is null ? fileManager.id : null, error !is null ? error.id : null, srcPath !is null ? srcPath.id : null, 647 fileManager !is null ? fileManager.id_ : null, error !is null ? error.id_ : null, srcPath !is null ? srcPath.id_ : null,
648 dstPath !is null ? dstPath.id : null) !is null; 648 dstPath !is null ? dstPath.id_ : null) !is null;
649 } 649 }
650 650
651 public bool fileManager_shouldProceedAfterError_removingItemAtPath_ (NSFileManager fileManager, NSError error, NSString path) 651 public bool fileManager_shouldProceedAfterError_removingItemAtPath_ (NSFileManager fileManager, NSError error, NSString path)
652 { 652 {
653 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldProceedAfterError_1removingItemAtPath_1, 653 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldProceedAfterError_1removingItemAtPath_1,
654 fileManager !is null ? fileManager.id : null, error !is null ? error.id : null, path !is null ? path.id : null) !is null; 654 fileManager !is null ? fileManager.id_ : null, error !is null ? error.id_ : null, path !is null ? path.id_ : null) !is null;
655 } 655 }
656 656
657 public bool fileManager_shouldRemoveItemAtPath_ (NSFileManager fileManager, NSString path) 657 public bool fileManager_shouldRemoveItemAtPath_ (NSFileManager fileManager, NSString path)
658 { 658 {
659 return OS.objc_msgSend(this.id, OS.sel_fileManager_1shouldRemoveItemAtPath_1, fileManager !is null ? fileManager.id : null, 659 return OS.objc_msgSend(this.id_, OS.sel_fileManager_1shouldRemoveItemAtPath_1, fileManager !is null ? fileManager.id_ : null,
660 path !is null ? path.id : null) !is null; 660 path !is null ? path.id_ : null) !is null;
661 } 661 }
662 662
663 public void fileManager_willProcessPath_ (NSFileManager fm, NSString path) 663 public void fileManager_willProcessPath_ (NSFileManager fm, NSString path)
664 { 664 {
665 OS.objc_msgSend(this.id, OS.sel_fileManager_1willProcessPath_1, fm !is null ? fm.id : null, path !is null ? path.id : null); 665 OS.objc_msgSend(this.id_, OS.sel_fileManager_1willProcessPath_1, fm !is null ? fm.id_ : null, path !is null ? path.id_ : null);
666 } 666 }
667 667
668 public void finalizeXX () 668 public void finalizeXX ()
669 { 669 {
670 OS.objc_msgSend(this.id, OS.sel_finalize); 670 OS.objc_msgSend(this.id_, OS.sel_finalize);
671 } 671 }
672 672
673 public void forwardInvocation (NSInvocation anInvocation) 673 public void forwardInvocation (NSInvocation anInvocation)
674 { 674 {
675 OS.objc_msgSend(this.id, OS.sel_forwardInvocation_1, anInvocation !is null ? anInvocation.id : null); 675 OS.objc_msgSend(this.id_, OS.sel_forwardInvocation_1, anInvocation !is null ? anInvocation.id_ : null);
676 } 676 }
677 677
678 public void handleMachMessage (void* msg) 678 public void handleMachMessage (void* msg)
679 { 679 {
680 OS.objc_msgSend(this.id, OS.sel_handleMachMessage_1, msg); 680 OS.objc_msgSend(this.id_, OS.sel_handleMachMessage_1, msg);
681 } 681 }
682 682
683 public void handlePortMessage (NSPortMessage message) 683 public void handlePortMessage (NSPortMessage message)
684 { 684 {
685 OS.objc_msgSend(this.id, OS.sel_handlePortMessage_1, message !is null ? message.id : null); 685 OS.objc_msgSend(this.id_, OS.sel_handlePortMessage_1, message !is null ? message.id_ : null);
686 } 686 }
687 687
688 public id handleQueryWithUnboundKey (NSString key) 688 public id handleQueryWithUnboundKey (NSString key)
689 { 689 {
690 objc.id result = OS.objc_msgSend(this.id, OS.sel_handleQueryWithUnboundKey_1, key !is null ? key.id : null); 690 objc.id result = OS.objc_msgSend(this.id_, OS.sel_handleQueryWithUnboundKey_1, key !is null ? key.id_ : null);
691 return result !is null ? new id(result) : null; 691 return result !is null ? new id(result) : null;
692 } 692 }
693 693
694 public void handleTakeValue (id value, NSString key) 694 public void handleTakeValue (id value, NSString key)
695 { 695 {
696 OS.objc_msgSend(this.id, OS.sel_handleTakeValue_1forUnboundKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 696 OS.objc_msgSend(this.id_, OS.sel_handleTakeValue_1forUnboundKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
697 } 697 }
698 698
699 public NSUInteger hash () 699 public NSUInteger hash ()
700 { 700 {
701 return cast(NSUInteger) OS.objc_msgSend(this.id, OS.sel_hash); 701 return cast(NSUInteger) OS.objc_msgSend(this.id_, OS.sel_hash);
702 } 702 }
703 703
704 public NSArray indicesOfObjectsByEvaluatingObjectSpecifier (NSScriptObjectSpecifier specifier) 704 public NSArray indicesOfObjectsByEvaluatingObjectSpecifier (NSScriptObjectSpecifier specifier)
705 { 705 {
706 objc.id result = OS.objc_msgSend(this.id, OS.sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, specifier !is null ? specifier.id : null); 706 objc.id result = OS.objc_msgSend(this.id_, OS.sel_indicesOfObjectsByEvaluatingObjectSpecifier_1, specifier !is null ? specifier.id_ : null);
707 return result !is null ? new NSArray(result) : null; 707 return result !is null ? new NSArray(result) : null;
708 } 708 }
709 709
710 public NSObject init () 710 public NSObject init ()
711 { 711 {
712 objc.id result = OS.objc_msgSend(this.id, OS.sel_init); 712 objc.id result = OS.objc_msgSend(this.id_, OS.sel_init);
713 return result !is null ? this : null; 713 return result !is null ? this : null;
714 } 714 }
715 715
716 public NSObject initWithCoder (NSCoder aDecoder) 716 public NSObject initWithCoder (NSCoder aDecoder)
717 { 717 {
718 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithCoder_1, aDecoder !is null ? aDecoder.id : null); 718 objc.id result = OS.objc_msgSend(this.id_, OS.sel_initWithCoder_1, aDecoder !is null ? aDecoder.id_ : null);
719 return result !is null ? this : null; 719 return result !is null ? this : null;
720 } 720 }
721 721
722 public static void initialize () 722 public static void initialize ()
723 { 723 {
724 OS.objc_msgSend(OS.class_NSObject, OS.sel_initialize); 724 OS.objc_msgSend(OS.class_NSObject, OS.sel_initialize);
725 } 725 }
726 726
727 public void insertValue_atIndex_inPropertyWithKey_ (id value, NSUInteger index, NSString key) 727 public void insertValue_atIndex_inPropertyWithKey_ (id value, NSUInteger index, NSString key)
728 { 728 {
729 OS.objc_msgSend(this.id, OS.sel_insertValue_1atIndex_1inPropertyWithKey_1, value !is null ? value.id : null, index, 729 OS.objc_msgSend(this.id_, OS.sel_insertValue_1atIndex_1inPropertyWithKey_1, value !is null ? value.id_ : null, index,
730 key !is null ? key.id : null); 730 key !is null ? key.id_ : null);
731 } 731 }
732 732
733 public void insertValue_inPropertyWithKey_ (id value, NSString key) 733 public void insertValue_inPropertyWithKey_ (id value, NSString key)
734 { 734 {
735 OS.objc_msgSend(this.id, OS.sel_insertValue_1inPropertyWithKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 735 OS.objc_msgSend(this.id_, OS.sel_insertValue_1inPropertyWithKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
736 } 736 }
737 737
738 public static objc.IMP instanceMethodForSelector (objc.SEL aSelector) 738 public static objc.IMP instanceMethodForSelector (objc.SEL aSelector)
739 { 739 {
740 return cast(objc.IMP) OS.objc_msgSend(OS.class_NSObject, OS.sel_instanceMethodForSelector_1, aSelector); 740 return cast(objc.IMP) OS.objc_msgSend(OS.class_NSObject, OS.sel_instanceMethodForSelector_1, aSelector);
751 return OS.objc_msgSend(OS.class_NSObject, OS.sel_instancesRespondToSelector_1, aSelector) !is null; 751 return OS.objc_msgSend(OS.class_NSObject, OS.sel_instancesRespondToSelector_1, aSelector) !is null;
752 } 752 }
753 753
754 public NSString inverseForRelationshipKey (NSString relationshipKey) 754 public NSString inverseForRelationshipKey (NSString relationshipKey)
755 { 755 {
756 objc.id result = OS.objc_msgSend(this.id, OS.sel_inverseForRelationshipKey_1, relationshipKey !is null ? relationshipKey.id : null); 756 objc.id result = OS.objc_msgSend(this.id_, OS.sel_inverseForRelationshipKey_1, relationshipKey !is null ? relationshipKey.id_ : null);
757 return result !is null ? new NSString(result) : null; 757 return result !is null ? new NSString(result) : null;
758 } 758 }
759 759
760 public bool isCaseInsensitiveLike (NSString object) 760 public bool isCaseInsensitiveLike (NSString object)
761 { 761 {
762 return OS.objc_msgSend(this.id, OS.sel_isCaseInsensitiveLike_1, object !is null ? object.id : null) !is null; 762 return OS.objc_msgSend(this.id_, OS.sel_isCaseInsensitiveLike_1, object !is null ? object.id_ : null) !is null;
763 } 763 }
764 764
765 public bool isEqual (id object) 765 public bool isEqual (id object)
766 { 766 {
767 return OS.objc_msgSend(this.id, OS.sel_isEqual_1, object !is null ? object.id : null) !is null; 767 return OS.objc_msgSend(this.id_, OS.sel_isEqual_1, object !is null ? object.id_ : null) !is null;
768 } 768 }
769 769
770 public bool isEqualTo (id object) 770 public bool isEqualTo (id object)
771 { 771 {
772 return OS.objc_msgSend(this.id, OS.sel_isEqualTo_1, object !is null ? object.id : null) !is null; 772 return OS.objc_msgSend(this.id_, OS.sel_isEqualTo_1, object !is null ? object.id_ : null) !is null;
773 } 773 }
774 774
775 public bool isGreaterThan (id object) 775 public bool isGreaterThan (id object)
776 { 776 {
777 return OS.objc_msgSend(this.id, OS.sel_isGreaterThan_1, object !is null ? object.id : null) !is null; 777 return OS.objc_msgSend(this.id_, OS.sel_isGreaterThan_1, object !is null ? object.id_ : null) !is null;
778 } 778 }
779 779
780 public bool isGreaterThanOrEqualTo (id object) 780 public bool isGreaterThanOrEqualTo (id object)
781 { 781 {
782 return OS.objc_msgSend(this.id, OS.sel_isGreaterThanOrEqualTo_1, object !is null ? object.id : null) !is null; 782 return OS.objc_msgSend(this.id_, OS.sel_isGreaterThanOrEqualTo_1, object !is null ? object.id_ : null) !is null;
783 } 783 }
784 784
785 public bool isKindOfClass (objc.Class aClass) 785 public bool isKindOfClass (objc.Class aClass)
786 { 786 {
787 return OS.objc_msgSend(this.id, OS.sel_isKindOfClass_1, aClass) !is null; 787 return OS.objc_msgSend(this.id_, OS.sel_isKindOfClass_1, aClass) !is null;
788 } 788 }
789 789
790 public bool isLessThan (id object) 790 public bool isLessThan (id object)
791 { 791 {
792 return OS.objc_msgSend(this.id, OS.sel_isLessThan_1, object !is null ? object.id : null) !is null; 792 return OS.objc_msgSend(this.id_, OS.sel_isLessThan_1, object !is null ? object.id_ : null) !is null;
793 } 793 }
794 794
795 public bool isLessThanOrEqualTo (id object) 795 public bool isLessThanOrEqualTo (id object)
796 { 796 {
797 return OS.objc_msgSend(this.id, OS.sel_isLessThanOrEqualTo_1, object !is null ? object.id : null) !is null; 797 return OS.objc_msgSend(this.id_, OS.sel_isLessThanOrEqualTo_1, object !is null ? object.id_ : null) !is null;
798 } 798 }
799 799
800 public bool isLike (NSString object) 800 public bool isLike (NSString object)
801 { 801 {
802 return OS.objc_msgSend(this.id, OS.sel_isLike_1, object !is null ? object.id : null) !is null; 802 return OS.objc_msgSend(this.id_, OS.sel_isLike_1, object !is null ? object.id_ : null) !is null;
803 } 803 }
804 804
805 public bool isMemberOfClass (objc.Class aClass) 805 public bool isMemberOfClass (objc.Class aClass)
806 { 806 {
807 return OS.objc_msgSend(this.id, OS.sel_isMemberOfClass_1, aClass) !is null; 807 return OS.objc_msgSend(this.id_, OS.sel_isMemberOfClass_1, aClass) !is null;
808 } 808 }
809 809
810 public bool isNotEqualTo (id object) 810 public bool isNotEqualTo (id object)
811 { 811 {
812 return OS.objc_msgSend(this.id, OS.sel_isNotEqualTo_1, object !is null ? object.id : null) !is null; 812 return OS.objc_msgSend(this.id_, OS.sel_isNotEqualTo_1, object !is null ? object.id_ : null) !is null;
813 } 813 }
814 814
815 public bool isProxy () 815 public bool isProxy ()
816 { 816 {
817 return OS.objc_msgSend(this.id, OS.sel_isProxy) !is null; 817 return OS.objc_msgSend(this.id_, OS.sel_isProxy) !is null;
818 } 818 }
819 819
820 public static bool isSubclassOfClass (objc.Class aClass) 820 public static bool isSubclassOfClass (objc.Class aClass)
821 { 821 {
822 return OS.objc_msgSend(OS.class_NSObject, OS.sel_isSubclassOfClass_1, aClass) !is null; 822 return OS.objc_msgSend(OS.class_NSObject, OS.sel_isSubclassOfClass_1, aClass) !is null;
823 } 823 }
824 824
825 public static NSSet keyPathsForValuesAffectingValueForKey (NSString key) 825 public static NSSet keyPathsForValuesAffectingValueForKey (NSString key)
826 { 826 {
827 objc.id result = OS.objc_msgSend(OS.class_NSObject, OS.sel_keyPathsForValuesAffectingValueForKey_1, key !is null ? key.id : null); 827 objc.id result = OS.objc_msgSend(OS.class_NSObject, OS.sel_keyPathsForValuesAffectingValueForKey_1, key !is null ? key.id_ : null);
828 return result !is null ? new NSSet(result) : null; 828 return result !is null ? new NSSet(result) : null;
829 } 829 }
830 830
831 public static void load () 831 public static void load ()
832 { 832 {
833 OS.objc_msgSend(OS.class_NSObject, OS.sel_load); 833 OS.objc_msgSend(OS.class_NSObject, OS.sel_load);
834 } 834 }
835 835
836 public void lock () 836 public void lock ()
837 { 837 {
838 OS.objc_msgSend(this.id, OS.sel_lock); 838 OS.objc_msgSend(this.id_, OS.sel_lock);
839 } 839 }
840 840
841 public bool makeNewConnection (NSConnection conn, NSConnection ancestor) 841 public bool makeNewConnection (NSConnection conn, NSConnection ancestor)
842 { 842 {
843 return OS.objc_msgSend(this.id, OS.sel_makeNewConnection_1sender_1, conn !is null ? conn.id : null, ancestor !is null ? ancestor.id : null) !is null; 843 return OS.objc_msgSend(this.id_, OS.sel_makeNewConnection_1sender_1, conn !is null ? conn.id_ : null, ancestor !is null ? ancestor.id_ : null) !is null;
844 } 844 }
845 845
846 public id metadataQuery_replacementObjectForResultObject_ (NSMetadataQuery query, NSMetadataItem result) 846 public id metadataQuery_replacementObjectForResultObject_ (NSMetadataQuery query, NSMetadataItem result)
847 { 847 {
848 objc.id r = OS.objc_msgSend(this.id, OS.sel_metadataQuery_1replacementObjectForResultObject_1, query !is null ? query.id : null, 848 objc.id r = OS.objc_msgSend(this.id_, OS.sel_metadataQuery_1replacementObjectForResultObject_1, query !is null ? query.id_ : null,
849 result !is null ? result.id : null); 849 result !is null ? result.id_ : null);
850 return r !is null ? new id(r) : null; 850 return r !is null ? new id(r) : null;
851 } 851 }
852 852
853 public id metadataQuery_replacementValueForAttribute_value_ (NSMetadataQuery query, NSString attrName, id attrValue) 853 public id metadataQuery_replacementValueForAttribute_value_ (NSMetadataQuery query, NSString attrName, id attrValue)
854 { 854 {
855 objc.id result = OS.objc_msgSend(this.id, OS.sel_metadataQuery_1replacementValueForAttribute_1value_1, query !is null ? query.id : null, 855 objc.id result = OS.objc_msgSend(this.id_, OS.sel_metadataQuery_1replacementValueForAttribute_1value_1, query !is null ? query.id_ : null,
856 attrName !is null ? attrName.id : null, attrValue !is null ? attrValue.id : null); 856 attrName !is null ? attrName.id_ : null, attrValue !is null ? attrValue.id_ : null);
857 return result !is null ? new id(result) : null; 857 return result !is null ? new id(result) : null;
858 } 858 }
859 859
860 public objc.IMP methodForSelector (objc.SEL aSelector) 860 public objc.IMP methodForSelector (objc.SEL aSelector)
861 { 861 {
862 return OS.objc_msgSend(this.id, OS.sel_methodForSelector_1, aSelector); 862 return cast(objc.IMP) OS.objc_msgSend(this.id_, OS.sel_methodForSelector_1, aSelector);
863 } 863 }
864 864
865 public NSMethodSignature methodSignatureForSelector (objc.SEL aSelector) 865 public NSMethodSignature methodSignatureForSelector (objc.SEL aSelector)
866 { 866 {
867 objc.id result = OS.objc_msgSend(this.id, OS.sel_methodSignatureForSelector_1, aSelector); 867 objc.id result = OS.objc_msgSend(this.id_, OS.sel_methodSignatureForSelector_1, aSelector);
868 return result !is null ? new NSMethodSignature(result) : null; 868 return result !is null ? new NSMethodSignature(result) : null;
869 } 869 }
870 870
871 public NSMutableArray mutableArrayValueForKey (NSString key) 871 public NSMutableArray mutableArrayValueForKey (NSString key)
872 { 872 {
873 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableArrayValueForKey_1, key !is null ? key.id : null); 873 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableArrayValueForKey_1, key !is null ? key.id_ : null);
874 return result !is null ? new NSMutableArray(result) : null; 874 return result !is null ? new NSMutableArray(result) : null;
875 } 875 }
876 876
877 public NSMutableArray mutableArrayValueForKeyPath (NSString keyPath) 877 public NSMutableArray mutableArrayValueForKeyPath (NSString keyPath)
878 { 878 {
879 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableArrayValueForKeyPath_1, keyPath !is null ? keyPath.id : null); 879 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableArrayValueForKeyPath_1, keyPath !is null ? keyPath.id_ : null);
880 return result !is null ? new NSMutableArray(result) : null; 880 return result !is null ? new NSMutableArray(result) : null;
881 } 881 }
882 882
883 public id mutableCopy () 883 public id mutableCopy ()
884 { 884 {
885 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableCopy); 885 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableCopy);
886 return result !is null ? new id(result) : null; 886 return result !is null ? new id(result) : null;
887 } 887 }
888 888
889 public id mutableCopyWithZone_ (NSZone* zone) 889 public id mutableCopyWithZone_ (NSZone* zone)
890 { 890 {
891 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableCopyWithZone_1, zone); 891 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableCopyWithZone_1, zone);
892 return result !is null ? new id(result) : null; 892 return result !is null ? new id(result) : null;
893 } 893 }
894 894
895 public static id static_mutableCopyWithZone_ (NSZone* zone) 895 public static id static_mutableCopyWithZone_ (NSZone* zone)
896 { 896 {
898 return result !is null ? new id(result) : null; 898 return result !is null ? new id(result) : null;
899 } 899 }
900 900
901 public NSMutableSet mutableSetValueForKey (NSString key) 901 public NSMutableSet mutableSetValueForKey (NSString key)
902 { 902 {
903 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableSetValueForKey_1, key !is null ? key.id : null); 903 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableSetValueForKey_1, key !is null ? key.id_ : null);
904 return result !is null ? new NSMutableSet(result) : null; 904 return result !is null ? new NSMutableSet(result) : null;
905 } 905 }
906 906
907 public NSMutableSet mutableSetValueForKeyPath (NSString keyPath) 907 public NSMutableSet mutableSetValueForKeyPath (NSString keyPath)
908 { 908 {
909 objc.id result = OS.objc_msgSend(this.id, OS.sel_mutableSetValueForKeyPath_1, keyPath !is null ? keyPath.id : null); 909 objc.id result = OS.objc_msgSend(this.id_, OS.sel_mutableSetValueForKeyPath_1, keyPath !is null ? keyPath.id_ : null);
910 return result !is null ? new NSMutableSet(result) : null; 910 return result !is null ? new NSMutableSet(result) : null;
911 } 911 }
912 912
913 public void netService_didNotPublish_ (NSNetService sender, NSDictionary errorDict) 913 public void netService_didNotPublish_ (NSNetService sender, NSDictionary errorDict)
914 { 914 {
915 OS.objc_msgSend(this.id, OS.sel_netService_1didNotPublish_1, sender !is null ? sender.id : null, errorDict !is null ? errorDict.id : null); 915 OS.objc_msgSend(this.id_, OS.sel_netService_1didNotPublish_1, sender !is null ? sender.id_ : null, errorDict !is null ? errorDict.id_ : null);
916 } 916 }
917 917
918 public void netService_didNotResolve_ (NSNetService sender, NSDictionary errorDict) 918 public void netService_didNotResolve_ (NSNetService sender, NSDictionary errorDict)
919 { 919 {
920 OS.objc_msgSend(this.id, OS.sel_netService_1didNotResolve_1, sender !is null ? sender.id : null, errorDict !is null ? errorDict.id : null); 920 OS.objc_msgSend(this.id_, OS.sel_netService_1didNotResolve_1, sender !is null ? sender.id_ : null, errorDict !is null ? errorDict.id_ : null);
921 } 921 }
922 922
923 public void netService_didUpdateTXTRecordData_ (NSNetService sender, NSData data) 923 public void netService_didUpdateTXTRecordData_ (NSNetService sender, NSData data)
924 { 924 {
925 OS.objc_msgSend(this.id, OS.sel_netService_1didUpdateTXTRecordData_1, sender !is null ? sender.id : null, data !is null ? data.id : null); 925 OS.objc_msgSend(this.id_, OS.sel_netService_1didUpdateTXTRecordData_1, sender !is null ? sender.id_ : null, data !is null ? data.id_ : null);
926 } 926 }
927 927
928 public void netServiceBrowser_didFindDomain_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSString domainString, bool moreComing) 928 public void netServiceBrowser_didFindDomain_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSString domainString, bool moreComing)
929 { 929 {
930 OS.objc_msgSend(this.id, OS.sel_netServiceBrowser_1didFindDomain_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null, 930 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowser_1didFindDomain_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null,
931 domainString !is null ? domainString.id : null, moreComing); 931 domainString !is null ? domainString.id_ : null, moreComing);
932 } 932 }
933 933
934 public void netServiceBrowser_didFindService_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSNetService aNetService, bool moreComing) 934 public void netServiceBrowser_didFindService_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSNetService aNetService, bool moreComing)
935 { 935 {
936 OS.objc_msgSend(this.id, OS.sel_netServiceBrowser_1didFindService_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null, 936 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowser_1didFindService_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null,
937 aNetService !is null ? aNetService.id : null, moreComing); 937 aNetService !is null ? aNetService.id_ : null, moreComing);
938 } 938 }
939 939
940 public void netServiceBrowser_didNotSearch_ (NSNetServiceBrowser aNetServiceBrowser, NSDictionary errorDict) 940 public void netServiceBrowser_didNotSearch_ (NSNetServiceBrowser aNetServiceBrowser, NSDictionary errorDict)
941 { 941 {
942 OS.objc_msgSend(this.id, OS.sel_netServiceBrowser_1didNotSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null, 942 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowser_1didNotSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null,
943 errorDict !is null ? errorDict.id : null); 943 errorDict !is null ? errorDict.id_ : null);
944 } 944 }
945 945
946 public void netServiceBrowser_didRemoveDomain_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSString domainString, bool moreComing) 946 public void netServiceBrowser_didRemoveDomain_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSString domainString, bool moreComing)
947 { 947 {
948 OS.objc_msgSend(this.id, OS.sel_netServiceBrowser_1didRemoveDomain_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null, 948 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowser_1didRemoveDomain_1moreComing_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null,
949 domainString !is null ? domainString.id : null, moreComing); 949 domainString !is null ? domainString.id_ : null, moreComing);
950 } 950 }
951 951
952 public void netServiceBrowser_didRemoveService_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSNetService aNetService, bool moreComing) 952 public void netServiceBrowser_didRemoveService_moreComing_ (NSNetServiceBrowser aNetServiceBrowser, NSNetService aNetService, bool moreComing)
953 { 953 {
954 OS.objc_msgSend(this.id, OS.sel_netServiceBrowser_1didRemoveService_1moreComing_1, 954 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowser_1didRemoveService_1moreComing_1,
955 aNetServiceBrowser !is null ? aNetServiceBrowser.id : null, aNetService !is null ? aNetService.id : null, moreComing); 955 aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null, aNetService !is null ? aNetService.id_ : null, moreComing);
956 } 956 }
957 957
958 public void netServiceBrowserDidStopSearch (NSNetServiceBrowser aNetServiceBrowser) 958 public void netServiceBrowserDidStopSearch (NSNetServiceBrowser aNetServiceBrowser)
959 { 959 {
960 OS.objc_msgSend(this.id, OS.sel_netServiceBrowserDidStopSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null); 960 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowserDidStopSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null);
961 } 961 }
962 962
963 public void netServiceBrowserWillSearch (NSNetServiceBrowser aNetServiceBrowser) 963 public void netServiceBrowserWillSearch (NSNetServiceBrowser aNetServiceBrowser)
964 { 964 {
965 OS.objc_msgSend(this.id, OS.sel_netServiceBrowserWillSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id : null); 965 OS.objc_msgSend(this.id_, OS.sel_netServiceBrowserWillSearch_1, aNetServiceBrowser !is null ? aNetServiceBrowser.id_ : null);
966 } 966 }
967 967
968 public void netServiceDidPublish (NSNetService sender) 968 public void netServiceDidPublish (NSNetService sender)
969 { 969 {
970 OS.objc_msgSend(this.id, OS.sel_netServiceDidPublish_1, sender !is null ? sender.id : null); 970 OS.objc_msgSend(this.id_, OS.sel_netServiceDidPublish_1, sender !is null ? sender.id_ : null);
971 } 971 }
972 972
973 public void netServiceDidResolveAddress (NSNetService sender) 973 public void netServiceDidResolveAddress (NSNetService sender)
974 { 974 {
975 OS.objc_msgSend(this.id, OS.sel_netServiceDidResolveAddress_1, sender !is null ? sender.id : null); 975 OS.objc_msgSend(this.id_, OS.sel_netServiceDidResolveAddress_1, sender !is null ? sender.id_ : null);
976 } 976 }
977 977
978 public void netServiceDidStop (NSNetService sender) 978 public void netServiceDidStop (NSNetService sender)
979 { 979 {
980 OS.objc_msgSend(this.id, OS.sel_netServiceDidStop_1, sender !is null ? sender.id : null); 980 OS.objc_msgSend(this.id_, OS.sel_netServiceDidStop_1, sender !is null ? sender.id_ : null);
981 } 981 }
982 982
983 public void netServiceWillPublish (NSNetService sender) 983 public void netServiceWillPublish (NSNetService sender)
984 { 984 {
985 OS.objc_msgSend(this.id, OS.sel_netServiceWillPublish_1, sender !is null ? sender.id : null); 985 OS.objc_msgSend(this.id_, OS.sel_netServiceWillPublish_1, sender !is null ? sender.id_ : null);
986 } 986 }
987 987
988 public void netServiceWillResolve (NSNetService sender) 988 public void netServiceWillResolve (NSNetService sender)
989 { 989 {
990 OS.objc_msgSend(this.id, OS.sel_netServiceWillResolve_1, sender !is null ? sender.id : null); 990 OS.objc_msgSend(this.id_, OS.sel_netServiceWillResolve_1, sender !is null ? sender.id_ : null);
991 } 991 }
992 992
993 //public static id new() { 993 //public static id new() {
994 // objc.id result = OS.objc_msgSend(OS.class_NSObject, OS.sel_new); 994 // objc.id result = OS.objc_msgSend(OS.class_NSObject, OS.sel_new);
995 // return result !is null ? new id(result) : null; 995 // return result !is null ? new id(result) : null;
996 //} 996 //}
997 997
998 public id newScriptingObjectOfClass (objc.Class objectClass, NSString key, id contentsValue, NSDictionary properties) 998 public id newScriptingObjectOfClass (objc.Class objectClass, NSString key, id contentsValue, NSDictionary properties)
999 { 999 {
1000 objc.id result = OS.objc_msgSend(this.id, OS.sel_newScriptingObjectOfClass_1forValueForKey_1withContentsValue_1properties_1, objectClass, 1000 objc.id result = OS.objc_msgSend(this.id_, OS.sel_newScriptingObjectOfClass_1forValueForKey_1withContentsValue_1properties_1, objectClass,
1001 key !is null ? key.id : null, contentsValue !is null ? contentsValue.id : null, properties !is null ? properties.id : null); 1001 key !is null ? key.id_ : null, contentsValue !is null ? contentsValue.id_ : null, properties !is null ? properties.id_ : null);
1002 return result !is null ? new id(result) : null; 1002 return result !is null ? new id(result) : null;
1003 } 1003 }
1004 1004
1005 public NSScriptObjectSpecifier objectSpecifier () 1005 public NSScriptObjectSpecifier objectSpecifier ()
1006 { 1006 {
1007 objc.id result = OS.objc_msgSend(this.id, OS.sel_objectSpecifier); 1007 objc.id result = OS.objc_msgSend(this.id_, OS.sel_objectSpecifier);
1008 return result !is null ? new NSScriptObjectSpecifier(result) : null; 1008 return result !is null ? new NSScriptObjectSpecifier(result) : null;
1009 } 1009 }
1010 1010
1011 public void* observationInfo () 1011 public void* observationInfo ()
1012 { 1012 {
1013 return cast(void*) OS.objc_msgSend(this.id, OS.sel_observationInfo); 1013 return cast(void*) OS.objc_msgSend(this.id_, OS.sel_observationInfo);
1014 } 1014 }
1015 1015
1016 public void observeValueForKeyPath (NSString keyPath, id object, NSDictionary change, void* context) 1016 public void observeValueForKeyPath (NSString keyPath, id object, NSDictionary change, void* context)
1017 { 1017 {
1018 OS.objc_msgSend(this.id, OS.sel_observeValueForKeyPath_1ofObject_1change_1context_1, keyPath !is null ? keyPath.id : null, 1018 OS.objc_msgSend(this.id_, OS.sel_observeValueForKeyPath_1ofObject_1change_1context_1, keyPath !is null ? keyPath.id_ : null,
1019 object !is null ? object.id : null, change !is null ? change.id : null, context); 1019 object !is null ? object.id_ : null, change !is null ? change.id_ : null, context);
1020 } 1020 }
1021 1021
1022 public void parser_didEndElement_namespaceURI_qualifiedName_ (NSXMLParser parser, NSString elementName, NSString namespaceURI, NSString qName) 1022 public void parser_didEndElement_namespaceURI_qualifiedName_ (NSXMLParser parser, NSString elementName, NSString namespaceURI, NSString qName)
1023 { 1023 {
1024 OS.objc_msgSend(this.id, OS.sel_parser_1didEndElement_1namespaceURI_1qualifiedName_1, parser !is null ? parser.id : null, 1024 OS.objc_msgSend(this.id_, OS.sel_parser_1didEndElement_1namespaceURI_1qualifiedName_1, parser !is null ? parser.id_ : null,
1025 elementName !is null ? elementName.id : null, namespaceURI !is null ? namespaceURI.id : null, qName !is null ? qName.id : null); 1025 elementName !is null ? elementName.id_ : null, namespaceURI !is null ? namespaceURI.id_ : null, qName !is null ? qName.id_ : null);
1026 } 1026 }
1027 1027
1028 public void parser_didEndMappingPrefix_ (NSXMLParser parser, NSString prefix) 1028 public void parser_didEndMappingPrefix_ (NSXMLParser parser, NSString prefix)
1029 { 1029 {
1030 OS.objc_msgSend(this.id, OS.sel_parser_1didEndMappingPrefix_1, parser !is null ? parser.id : null, prefix !is null ? prefix.id : null); 1030 OS.objc_msgSend(this.id_, OS.sel_parser_1didEndMappingPrefix_1, parser !is null ? parser.id_ : null, prefix !is null ? prefix.id_ : null);
1031 } 1031 }
1032 1032
1033 public void parser_didStartElement_namespaceURI_qualifiedName_attributes_ (NSXMLParser parser, NSString elementName, NSString namespaceURI, 1033 public void parser_didStartElement_namespaceURI_qualifiedName_attributes_ (NSXMLParser parser, NSString elementName, NSString namespaceURI,
1034 NSString qName, NSDictionary attributeDict) 1034 NSString qName, NSDictionary attributeDict)
1035 { 1035 {
1036 OS.objc_msgSend(this.id, OS.sel_parser_1didStartElement_1namespaceURI_1qualifiedName_1attributes_1, parser !is null ? parser.id : null, 1036 OS.objc_msgSend(this.id_, OS.sel_parser_1didStartElement_1namespaceURI_1qualifiedName_1attributes_1, parser !is null ? parser.id_ : null,
1037 elementName !is null ? elementName.id : null, namespaceURI !is null ? namespaceURI.id : null, qName !is null ? qName.id : null, 1037 elementName !is null ? elementName.id_ : null, namespaceURI !is null ? namespaceURI.id_ : null, qName !is null ? qName.id_ : null,
1038 attributeDict !is null ? attributeDict.id : null); 1038 attributeDict !is null ? attributeDict.id_ : null);
1039 } 1039 }
1040 1040
1041 public void parser_didStartMappingPrefix_toURI_ (NSXMLParser parser, NSString prefix, NSString namespaceURI) 1041 public void parser_didStartMappingPrefix_toURI_ (NSXMLParser parser, NSString prefix, NSString namespaceURI)
1042 { 1042 {
1043 OS.objc_msgSend(this.id, OS.sel_parser_1didStartMappingPrefix_1toURI_1, parser !is null ? parser.id : null, 1043 OS.objc_msgSend(this.id_, OS.sel_parser_1didStartMappingPrefix_1toURI_1, parser !is null ? parser.id_ : null,
1044 prefix !is null ? prefix.id : null, namespaceURI !is null ? namespaceURI.id : null); 1044 prefix !is null ? prefix.id_ : null, namespaceURI !is null ? namespaceURI.id_ : null);
1045 } 1045 }
1046 1046
1047 public void parser_foundAttributeDeclarationWithName_forElement_type_defaultValue_ (NSXMLParser parser, NSString attributeName, 1047 public void parser_foundAttributeDeclarationWithName_forElement_type_defaultValue_ (NSXMLParser parser, NSString attributeName,
1048 NSString elementName, NSString type, NSString defaultValue) 1048 NSString elementName, NSString type, NSString defaultValue)
1049 { 1049 {
1050 OS.objc_msgSend(this.id, OS.sel_parser_1foundAttributeDeclarationWithName_1forElement_1type_1defaultValue_1, 1050 OS.objc_msgSend(this.id_, OS.sel_parser_1foundAttributeDeclarationWithName_1forElement_1type_1defaultValue_1,
1051 parser !is null ? parser.id : null, attributeName !is null ? attributeName.id : null, elementName !is null ? elementName.id : null, 1051 parser !is null ? parser.id_ : null, attributeName !is null ? attributeName.id_ : null, elementName !is null ? elementName.id_ : null,
1052 type !is null ? type.id : null, defaultValue !is null ? defaultValue.id : null); 1052 type !is null ? type.id_ : null, defaultValue !is null ? defaultValue.id_ : null);
1053 } 1053 }
1054 1054
1055 public void parser_foundCDATA_ (NSXMLParser parser, NSData CDATABlock) 1055 public void parser_foundCDATA_ (NSXMLParser parser, NSData CDATABlock)
1056 { 1056 {
1057 OS.objc_msgSend(this.id, OS.sel_parser_1foundCDATA_1, parser !is null ? parser.id : null, CDATABlock !is null ? CDATABlock.id : null); 1057 OS.objc_msgSend(this.id_, OS.sel_parser_1foundCDATA_1, parser !is null ? parser.id_ : null, CDATABlock !is null ? CDATABlock.id_ : null);
1058 } 1058 }
1059 1059
1060 public void parser_foundCharacters_ (NSXMLParser parser, NSString string) 1060 public void parser_foundCharacters_ (NSXMLParser parser, NSString string)
1061 { 1061 {
1062 OS.objc_msgSend(this.id, OS.sel_parser_1foundCharacters_1, parser !is null ? parser.id : null, string !is null ? string.id : null); 1062 OS.objc_msgSend(this.id_, OS.sel_parser_1foundCharacters_1, parser !is null ? parser.id_ : null, string !is null ? string.id_ : null);
1063 } 1063 }
1064 1064
1065 public void parser_foundComment_ (NSXMLParser parser, NSString comment) 1065 public void parser_foundComment_ (NSXMLParser parser, NSString comment)
1066 { 1066 {
1067 OS.objc_msgSend(this.id, OS.sel_parser_1foundComment_1, parser !is null ? parser.id : null, comment !is null ? comment.id : null); 1067 OS.objc_msgSend(this.id_, OS.sel_parser_1foundComment_1, parser !is null ? parser.id_ : null, comment !is null ? comment.id_ : null);
1068 } 1068 }
1069 1069
1070 public void parser_foundElementDeclarationWithName_model_ (NSXMLParser parser, NSString elementName, NSString model) 1070 public void parser_foundElementDeclarationWithName_model_ (NSXMLParser parser, NSString elementName, NSString model)
1071 { 1071 {
1072 OS.objc_msgSend(this.id, OS.sel_parser_1foundElementDeclarationWithName_1model_1, parser !is null ? parser.id : null, 1072 OS.objc_msgSend(this.id_, OS.sel_parser_1foundElementDeclarationWithName_1model_1, parser !is null ? parser.id_ : null,
1073 elementName !is null ? elementName.id : null, model !is null ? model.id : null); 1073 elementName !is null ? elementName.id_ : null, model !is null ? model.id_ : null);
1074 } 1074 }
1075 1075
1076 public void parser_foundExternalEntityDeclarationWithName_publicID_systemID_ (NSXMLParser parser, NSString name, NSString publicID, 1076 public void parser_foundExternalEntityDeclarationWithName_publicID_systemID_ (NSXMLParser parser, NSString name, NSString publicID,
1077 NSString systemID) 1077 NSString systemID)
1078 { 1078 {
1079 OS.objc_msgSend(this.id, OS.sel_parser_1foundExternalEntityDeclarationWithName_1publicID_1systemID_1, parser !is null ? parser.id : null, 1079 OS.objc_msgSend(this.id_, OS.sel_parser_1foundExternalEntityDeclarationWithName_1publicID_1systemID_1, parser !is null ? parser.id_ : null,
1080 name !is null ? name.id : null, publicID !is null ? publicID.id : null, systemID !is null ? systemID.id : null); 1080 name !is null ? name.id_ : null, publicID !is null ? publicID.id_ : null, systemID !is null ? systemID.id_ : null);
1081 } 1081 }
1082 1082
1083 public void parser_foundIgnorableWhitespace_ (NSXMLParser parser, NSString whitespaceString) 1083 public void parser_foundIgnorableWhitespace_ (NSXMLParser parser, NSString whitespaceString)
1084 { 1084 {
1085 OS.objc_msgSend(this.id, OS.sel_parser_1foundIgnorableWhitespace_1, parser !is null ? parser.id : null, 1085 OS.objc_msgSend(this.id_, OS.sel_parser_1foundIgnorableWhitespace_1, parser !is null ? parser.id_ : null,
1086 whitespaceString !is null ? whitespaceString.id : null); 1086 whitespaceString !is null ? whitespaceString.id_ : null);
1087 } 1087 }
1088 1088
1089 public void parser_foundInternalEntityDeclarationWithName_value_ (NSXMLParser parser, NSString name, NSString value) 1089 public void parser_foundInternalEntityDeclarationWithName_value_ (NSXMLParser parser, NSString name, NSString value)
1090 { 1090 {
1091 OS.objc_msgSend(this.id, OS.sel_parser_1foundInternalEntityDeclarationWithName_1value_1, parser !is null ? parser.id : null, 1091 OS.objc_msgSend(this.id_, OS.sel_parser_1foundInternalEntityDeclarationWithName_1value_1, parser !is null ? parser.id_ : null,
1092 name !is null ? name.id : null, value !is null ? value.id : null); 1092 name !is null ? name.id_ : null, value !is null ? value.id_ : null);
1093 } 1093 }
1094 1094
1095 public void parser_foundNotationDeclarationWithName_publicID_systemID_ (NSXMLParser parser, NSString name, NSString publicID, NSString systemID) 1095 public void parser_foundNotationDeclarationWithName_publicID_systemID_ (NSXMLParser parser, NSString name, NSString publicID, NSString systemID)
1096 { 1096 {
1097 OS.objc_msgSend(this.id, OS.sel_parser_1foundNotationDeclarationWithName_1publicID_1systemID_1, parser !is null ? parser.id : null, 1097 OS.objc_msgSend(this.id_, OS.sel_parser_1foundNotationDeclarationWithName_1publicID_1systemID_1, parser !is null ? parser.id_ : null,
1098 name !is null ? name.id : null, publicID !is null ? publicID.id : null, systemID !is null ? systemID.id : null); 1098 name !is null ? name.id_ : null, publicID !is null ? publicID.id_ : null, systemID !is null ? systemID.id_ : null);
1099 } 1099 }
1100 1100
1101 public void parser_foundProcessingInstructionWithTarget_data_ (NSXMLParser parser, NSString target, NSString data) 1101 public void parser_foundProcessingInstructionWithTarget_data_ (NSXMLParser parser, NSString target, NSString data)
1102 { 1102 {
1103 OS.objc_msgSend(this.id, OS.sel_parser_1foundProcessingInstructionWithTarget_1data_1, parser !is null ? parser.id : null, 1103 OS.objc_msgSend(this.id_, OS.sel_parser_1foundProcessingInstructionWithTarget_1data_1, parser !is null ? parser.id_ : null,
1104 target !is null ? target.id : null, data !is null ? data.id : null); 1104 target !is null ? target.id_ : null, data !is null ? data.id_ : null);
1105 } 1105 }
1106 1106
1107 public void parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName_ (NSXMLParser parser, NSString name, NSString publicID, 1107 public void parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName_ (NSXMLParser parser, NSString name, NSString publicID,
1108 NSString systemID, NSString notationName) 1108 NSString systemID, NSString notationName)
1109 { 1109 {
1110 OS.objc_msgSend(this.id, OS.sel_parser_1foundUnparsedEntityDeclarationWithName_1publicID_1systemID_1notationName_1, 1110 OS.objc_msgSend(this.id_, OS.sel_parser_1foundUnparsedEntityDeclarationWithName_1publicID_1systemID_1notationName_1,
1111 parser !is null ? parser.id : null, name !is null ? name.id : null, publicID !is null ? publicID.id : null, 1111 parser !is null ? parser.id_ : null, name !is null ? name.id_ : null, publicID !is null ? publicID.id_ : null,
1112 systemID !is null ? systemID.id : null, notationName !is null ? notationName.id : null); 1112 systemID !is null ? systemID.id_ : null, notationName !is null ? notationName.id_ : null);
1113 } 1113 }
1114 1114
1115 public void parser_parseErrorOccurred_ (NSXMLParser parser, NSError parseError) 1115 public void parser_parseErrorOccurred_ (NSXMLParser parser, NSError parseError)
1116 { 1116 {
1117 OS.objc_msgSend(this.id, OS.sel_parser_1parseErrorOccurred_1, parser !is null ? parser.id : null, parseError !is null ? parseError.id : null); 1117 OS.objc_msgSend(this.id_, OS.sel_parser_1parseErrorOccurred_1, parser !is null ? parser.id_ : null, parseError !is null ? parseError.id_ : null);
1118 } 1118 }
1119 1119
1120 public NSData parser_resolveExternalEntityName_systemID_ (NSXMLParser parser, NSString name, NSString systemID) 1120 public NSData parser_resolveExternalEntityName_systemID_ (NSXMLParser parser, NSString name, NSString systemID)
1121 { 1121 {
1122 objc.id result = OS.objc_msgSend(this.id, OS.sel_parser_1resolveExternalEntityName_1systemID_1, parser !is null ? parser.id : null, 1122 objc.id result = OS.objc_msgSend(this.id_, OS.sel_parser_1resolveExternalEntityName_1systemID_1, parser !is null ? parser.id_ : null,
1123 name !is null ? name.id : null, systemID !is null ? systemID.id : null); 1123 name !is null ? name.id_ : null, systemID !is null ? systemID.id_ : null);
1124 return result !is null ? new NSData(result) : null; 1124 return result !is null ? new NSData(result) : null;
1125 } 1125 }
1126 1126
1127 public void parser_validationErrorOccurred_ (NSXMLParser parser, NSError validationError) 1127 public void parser_validationErrorOccurred_ (NSXMLParser parser, NSError validationError)
1128 { 1128 {
1129 OS.objc_msgSend(this.id, OS.sel_parser_1validationErrorOccurred_1, parser !is null ? parser.id : null, 1129 OS.objc_msgSend(this.id_, OS.sel_parser_1validationErrorOccurred_1, parser !is null ? parser.id_ : null,
1130 validationError !is null ? validationError.id : null); 1130 validationError !is null ? validationError.id_ : null);
1131 } 1131 }
1132 1132
1133 public void parserDidEndDocument (NSXMLParser parser) 1133 public void parserDidEndDocument (NSXMLParser parser)
1134 { 1134 {
1135 OS.objc_msgSend(this.id, OS.sel_parserDidEndDocument_1, parser !is null ? parser.id : null); 1135 OS.objc_msgSend(this.id_, OS.sel_parserDidEndDocument_1, parser !is null ? parser.id_ : null);
1136 } 1136 }
1137 1137
1138 public void parserDidStartDocument (NSXMLParser parser) 1138 public void parserDidStartDocument (NSXMLParser parser)
1139 { 1139 {
1140 OS.objc_msgSend(this.id, OS.sel_parserDidStartDocument_1, parser !is null ? parser.id : null); 1140 OS.objc_msgSend(this.id_, OS.sel_parserDidStartDocument_1, parser !is null ? parser.id_ : null);
1141 } 1141 }
1142 1142
1143 public id performSelector_ (objc.SEL aSelector) 1143 public id performSelector_ (objc.SEL aSelector)
1144 { 1144 {
1145 objc.id result = OS.objc_msgSend(this.id, OS.sel_performSelector_1, aSelector); 1145 objc.id result = OS.objc_msgSend(this.id_, OS.sel_performSelector_1, aSelector);
1146 return result !is null ? new id(result) : null; 1146 return result !is null ? new id(result) : null;
1147 } 1147 }
1148 1148
1149 public void performSelector_onThread_withObject_waitUntilDone_ (objc.SEL aSelector, NSThread thr, id arg, bool wait) 1149 public void performSelector_onThread_withObject_waitUntilDone_ (objc.SEL aSelector, NSThread thr, id arg, bool wait)
1150 { 1150 {
1151 OS.objc_msgSend(this.id, OS.sel_performSelector_1onThread_1withObject_1waitUntilDone_1, aSelector, thr !is null ? thr.id : null, 1151 OS.objc_msgSend(this.id_, OS.sel_performSelector_1onThread_1withObject_1waitUntilDone_1, aSelector, thr !is null ? thr.id_ : null,
1152 arg !is null ? arg.id : null, wait); 1152 arg !is null ? arg.id_ : null, wait);
1153 } 1153 }
1154 1154
1155 public void performSelector_onThread_withObject_waitUntilDone_modes_ (objc.SEL aSelector, NSThread thr, id arg, bool wait, NSArray array) 1155 public void performSelector_onThread_withObject_waitUntilDone_modes_ (objc.SEL aSelector, NSThread thr, id arg, bool wait, NSArray array)
1156 { 1156 {
1157 OS.objc_msgSend(this.id, OS.sel_performSelector_1onThread_1withObject_1waitUntilDone_1modes_1, aSelector, thr !is null ? thr.id : null, 1157 OS.objc_msgSend(this.id_, OS.sel_performSelector_1onThread_1withObject_1waitUntilDone_1modes_1, aSelector, thr !is null ? thr.id_ : null,
1158 arg !is null ? arg.id : null, wait, array !is null ? array.id : null); 1158 arg !is null ? arg.id_ : null, wait, array !is null ? array.id_ : null);
1159 } 1159 }
1160 1160
1161 public id performSelector_withObject_ (objc.SEL aSelector, id object) 1161 public id performSelector_withObject_ (objc.SEL aSelector, id object)
1162 { 1162 {
1163 objc.id result = OS.objc_msgSend(this.id, OS.sel_performSelector_1withObject_1, aSelector, object !is null ? object.id : null); 1163 objc.id result = OS.objc_msgSend(this.id_, OS.sel_performSelector_1withObject_1, aSelector, object !is null ? object.id_ : null);
1164 return result !is null ? new id(result) : null; 1164 return result !is null ? new id(result) : null;
1165 } 1165 }
1166 1166
1167 public void performSelector_withObject_afterDelay_ (objc.SEL aSelector, id anArgument, NSTimeInterval delay) 1167 public void performSelector_withObject_afterDelay_ (objc.SEL aSelector, id anArgument, NSTimeInterval delay)
1168 { 1168 {
1169 OS.objc_msgSend(this.id, OS.sel_performSelector_1withObject_1afterDelay_1, aSelector, anArgument !is null ? anArgument.id : null, delay); 1169 OS.objc_msgSend(this.id_, OS.sel_performSelector_1withObject_1afterDelay_1, aSelector, anArgument !is null ? anArgument.id_ : null, delay);
1170 } 1170 }
1171 1171
1172 public void performSelector_withObject_afterDelay_inModes_ (objc.SEL aSelector, id anArgument, NSTimeInterval delay, NSArray modes) 1172 public void performSelector_withObject_afterDelay_inModes_ (objc.SEL aSelector, id anArgument, NSTimeInterval delay, NSArray modes)
1173 { 1173 {
1174 OS.objc_msgSend(this.id, OS.sel_performSelector_1withObject_1afterDelay_1inModes_1, aSelector, anArgument !is null ? anArgument.id : null, 1174 OS.objc_msgSend(this.id_, OS.sel_performSelector_1withObject_1afterDelay_1inModes_1, aSelector, anArgument !is null ? anArgument.id_ : null,
1175 delay, modes !is null ? modes.id : null); 1175 delay, modes !is null ? modes.id_ : null);
1176 } 1176 }
1177 1177
1178 public id performSelector_withObject_withObject_ (objc.SEL aSelector, id object1, id object2) 1178 public id performSelector_withObject_withObject_ (objc.SEL aSelector, id object1, id object2)
1179 { 1179 {
1180 objc.id result = OS.objc_msgSend(this.id, OS.sel_performSelector_1withObject_1withObject_1, aSelector, object1 !is null ? object1.id : null, 1180 objc.id result = OS.objc_msgSend(this.id_, OS.sel_performSelector_1withObject_1withObject_1, aSelector, object1 !is null ? object1.id_ : null,
1181 object2 !is null ? object2.id : null); 1181 object2 !is null ? object2.id_ : null);
1182 return result !is null ? new id(result) : null; 1182 return result !is null ? new id(result) : null;
1183 } 1183 }
1184 1184
1185 public void performSelectorInBackground (objc.SEL aSelector, id arg) 1185 public void performSelectorInBackground (objc.SEL aSelector, id arg)
1186 { 1186 {
1187 OS.objc_msgSend(this.id, OS.sel_performSelectorInBackground_1withObject_1, aSelector, arg !is null ? arg.id : null); 1187 OS.objc_msgSend(this.id_, OS.sel_performSelectorInBackground_1withObject_1, aSelector, arg !is null ? arg.id_ : null);
1188 } 1188 }
1189 1189
1190 public void performSelectorOnMainThread_withObject_waitUntilDone_ (objc.SEL aSelector, id arg, bool wait) 1190 public void performSelectorOnMainThread_withObject_waitUntilDone_ (objc.SEL aSelector, id arg, bool wait)
1191 { 1191 {
1192 OS.objc_msgSend(this.id, OS.sel_performSelectorOnMainThread_1withObject_1waitUntilDone_1, aSelector, arg !is null ? arg.id : null, wait); 1192 OS.objc_msgSend(this.id_, OS.sel_performSelectorOnMainThread_1withObject_1waitUntilDone_1, aSelector, arg !is null ? arg.id_ : null, wait);
1193 } 1193 }
1194 1194
1195 public void performSelectorOnMainThread_withObject_waitUntilDone_modes_ (objc.SEL aSelector, id arg, bool wait, NSArray array) 1195 public void performSelectorOnMainThread_withObject_waitUntilDone_modes_ (objc.SEL aSelector, id arg, bool wait, NSArray array)
1196 { 1196 {
1197 OS.objc_msgSend(this.id, OS.sel_performSelectorOnMainThread_1withObject_1waitUntilDone_1modes_1, aSelector, arg !is null ? arg.id : null, 1197 OS.objc_msgSend(this.id_, OS.sel_performSelectorOnMainThread_1withObject_1waitUntilDone_1modes_1, aSelector, arg !is null ? arg.id_ : null,
1198 wait, array !is null ? array.id : null); 1198 wait, array !is null ? array.id_ : null);
1199 } 1199 }
1200 1200
1201 public static void poseAsClass (objc.Class aClass) 1201 public static void poseAsClass (objc.Class aClass)
1202 { 1202 {
1203 OS.objc_msgSend(OS.class_NSObject, OS.sel_poseAsClass_1, aClass); 1203 OS.objc_msgSend(OS.class_NSObject, OS.sel_poseAsClass_1, aClass);
1204 } 1204 }
1205 1205
1206 public void release () 1206 public void release ()
1207 { 1207 {
1208 OS.objc_msgSend(this.id, OS.sel_release); 1208 OS.objc_msgSend(this.id_, OS.sel_release);
1209 } 1209 }
1210 1210
1211 public void removeObserver (NSObject observer, NSString keyPath) 1211 public void removeObserver (NSObject observer, NSString keyPath)
1212 { 1212 {
1213 OS.objc_msgSend(this.id, OS.sel_removeObserver_1forKeyPath_1, observer !is null ? observer.id : null, keyPath !is null ? keyPath.id : null); 1213 OS.objc_msgSend(this.id_, OS.sel_removeObserver_1forKeyPath_1, observer !is null ? observer.id_ : null, keyPath !is null ? keyPath.id_ : null);
1214 } 1214 }
1215 1215
1216 public void removeObserver (NSObject observer) 1216 public void removeObserver (NSObject observer)
1217 { 1217 {
1218 OS.objc_msgSend(this.id, OS.sel_removeObserver_1, observer !is null ? observer.id : null); 1218 OS.objc_msgSend(this.id_, OS.sel_removeObserver_1, observer !is null ? observer.id_ : null);
1219 } 1219 }
1220 1220
1221 public void removeValueAtIndex (NSUInteger index, NSString key) 1221 public void removeValueAtIndex (NSUInteger index, NSString key)
1222 { 1222 {
1223 OS.objc_msgSend(this.id, OS.sel_removeValueAtIndex_1fromPropertyWithKey_1, index, key !is null ? key.id : null); 1223 OS.objc_msgSend(this.id_, OS.sel_removeValueAtIndex_1fromPropertyWithKey_1, index, key !is null ? key.id_ : null);
1224 } 1224 }
1225 1225
1226 public void replaceValueAtIndex (NSUInteger index, NSString key, id value) 1226 public void replaceValueAtIndex (NSUInteger index, NSString key, id value)
1227 { 1227 {
1228 OS.objc_msgSend(this.id, OS.sel_replaceValueAtIndex_1inPropertyWithKey_1withValue_1, index, key !is null ? key.id : null, 1228 OS.objc_msgSend(this.id_, OS.sel_replaceValueAtIndex_1inPropertyWithKey_1withValue_1, index, key !is null ? key.id_ : null,
1229 value !is null ? value.id : null); 1229 value !is null ? value.id_ : null);
1230 } 1230 }
1231 1231
1232 public id replacementObjectForArchiver (NSArchiver archiver) 1232 public id replacementObjectForArchiver (NSArchiver archiver)
1233 { 1233 {
1234 objc.id result = OS.objc_msgSend(this.id, OS.sel_replacementObjectForArchiver_1, archiver !is null ? archiver.id : null); 1234 objc.id result = OS.objc_msgSend(this.id_, OS.sel_replacementObjectForArchiver_1, archiver !is null ? archiver.id_ : null);
1235 return result !is null ? new id(result) : null; 1235 return result !is null ? new id(result) : null;
1236 } 1236 }
1237 1237
1238 public id replacementObjectForCoder (NSCoder aCoder) 1238 public id replacementObjectForCoder (NSCoder aCoder)
1239 { 1239 {
1240 objc.id result = OS.objc_msgSend(this.id, OS.sel_replacementObjectForCoder_1, aCoder !is null ? aCoder.id : null); 1240 objc.id result = OS.objc_msgSend(this.id_, OS.sel_replacementObjectForCoder_1, aCoder !is null ? aCoder.id_ : null);
1241 return result !is null ? new id(result) : null; 1241 return result !is null ? new id(result) : null;
1242 } 1242 }
1243 1243
1244 public id replacementObjectForKeyedArchiver (NSKeyedArchiver archiver) 1244 public id replacementObjectForKeyedArchiver (NSKeyedArchiver archiver)
1245 { 1245 {
1246 objc.id result = OS.objc_msgSend(this.id, OS.sel_replacementObjectForKeyedArchiver_1, archiver !is null ? archiver.id : null); 1246 objc.id result = OS.objc_msgSend(this.id_, OS.sel_replacementObjectForKeyedArchiver_1, archiver !is null ? archiver.id_ : null);
1247 return result !is null ? new id(result) : null; 1247 return result !is null ? new id(result) : null;
1248 } 1248 }
1249 1249
1250 public id replacementObjectForPortCoder (NSPortCoder coder) 1250 public id replacementObjectForPortCoder (NSPortCoder coder)
1251 { 1251 {
1252 objc.id result = OS.objc_msgSend(this.id, OS.sel_replacementObjectForPortCoder_1, coder !is null ? coder.id : null); 1252 objc.id result = OS.objc_msgSend(this.id_, OS.sel_replacementObjectForPortCoder_1, coder !is null ? coder.id_ : null);
1253 return result !is null ? new id(result) : null; 1253 return result !is null ? new id(result) : null;
1254 } 1254 }
1255 1255
1256 public static bool resolveClassMethod (objc.SEL sel) 1256 public static bool resolveClassMethod (objc.SEL sel)
1257 { 1257 {
1263 return OS.objc_msgSend(OS.class_NSObject, OS.sel_resolveInstanceMethod_1, sel) !is null; 1263 return OS.objc_msgSend(OS.class_NSObject, OS.sel_resolveInstanceMethod_1, sel) !is null;
1264 } 1264 }
1265 1265
1266 public bool respondsToSelector (objc.SEL aSelector) 1266 public bool respondsToSelector (objc.SEL aSelector)
1267 { 1267 {
1268 return OS.objc_msgSend(this.id, OS.sel_respondsToSelector_1, aSelector) !is null; 1268 return OS.objc_msgSend(this.id_, OS.sel_respondsToSelector_1, aSelector) !is null;
1269 } 1269 }
1270 1270
1271 public id retain () 1271 public id retain ()
1272 { 1272 {
1273 objc.id result = OS.objc_msgSend(this.id, OS.sel_retain); 1273 objc.id result = OS.objc_msgSend(this.id_, OS.sel_retain);
1274 return result !is null ? new id(result) : null; 1274 return result !is null ? new id(result) : null;
1275 } 1275 }
1276 1276
1277 public NSUInteger retainCount () 1277 public NSUInteger retainCount ()
1278 { 1278 {
1279 return cast(NSUInteger) OS.objc_msgSend(this.id, OS.sel_retainCount); 1279 return cast(NSUInteger) OS.objc_msgSend(this.id_, OS.sel_retainCount);
1280 } 1280 }
1281 1281
1282 public NSRoundingMode roundingMode () 1282 public NSRoundingMode roundingMode ()
1283 { 1283 {
1284 return cast(NSRoundingMode) OS.objc_msgSend(this.id, OS.sel_roundingMode); 1284 return cast(NSRoundingMode) OS.objc_msgSend(this.id_, OS.sel_roundingMode);
1285 } 1285 }
1286 1286
1287 public short scale () 1287 public short scale ()
1288 { 1288 {
1289 return cast(short) OS.objc_msgSend(this.id, OS.sel_scale); 1289 return cast(short) OS.objc_msgSend(this.id_, OS.sel_scale);
1290 } 1290 }
1291 1291
1292 public bool scriptingBeginsWith (id object) 1292 public bool scriptingBeginsWith (id object)
1293 { 1293 {
1294 return OS.objc_msgSend(this.id, OS.sel_scriptingBeginsWith_1, object !is null ? object.id : null) !is null; 1294 return OS.objc_msgSend(this.id_, OS.sel_scriptingBeginsWith_1, object !is null ? object.id_ : null) !is null;
1295 } 1295 }
1296 1296
1297 public bool scriptingContains (id object) 1297 public bool scriptingContains (id object)
1298 { 1298 {
1299 return OS.objc_msgSend(this.id, OS.sel_scriptingContains_1, object !is null ? object.id : null) !is null; 1299 return OS.objc_msgSend(this.id_, OS.sel_scriptingContains_1, object !is null ? object.id_ : null) !is null;
1300 } 1300 }
1301 1301
1302 public bool scriptingEndsWith (id object) 1302 public bool scriptingEndsWith (id object)
1303 { 1303 {
1304 return OS.objc_msgSend(this.id, OS.sel_scriptingEndsWith_1, object !is null ? object.id : null) !is null; 1304 return OS.objc_msgSend(this.id_, OS.sel_scriptingEndsWith_1, object !is null ? object.id_ : null) !is null;
1305 } 1305 }
1306 1306
1307 public bool scriptingIsEqualTo (id object) 1307 public bool scriptingIsEqualTo (id object)
1308 { 1308 {
1309 return OS.objc_msgSend(this.id, OS.sel_scriptingIsEqualTo_1, object !is null ? object.id : null) !is null; 1309 return OS.objc_msgSend(this.id_, OS.sel_scriptingIsEqualTo_1, object !is null ? object.id_ : null) !is null;
1310 } 1310 }
1311 1311
1312 public bool scriptingIsGreaterThan (id object) 1312 public bool scriptingIsGreaterThan (id object)
1313 { 1313 {
1314 return OS.objc_msgSend(this.id, OS.sel_scriptingIsGreaterThan_1, object !is null ? object.id : null) !is null; 1314 return OS.objc_msgSend(this.id_, OS.sel_scriptingIsGreaterThan_1, object !is null ? object.id_ : null) !is null;
1315 } 1315 }
1316 1316
1317 public bool scriptingIsGreaterThanOrEqualTo (id object) 1317 public bool scriptingIsGreaterThanOrEqualTo (id object)
1318 { 1318 {
1319 return OS.objc_msgSend(this.id, OS.sel_scriptingIsGreaterThanOrEqualTo_1, object !is null ? object.id : null) !is null; 1319 return OS.objc_msgSend(this.id_, OS.sel_scriptingIsGreaterThanOrEqualTo_1, object !is null ? object.id_ : null) !is null;
1320 } 1320 }
1321 1321
1322 public bool scriptingIsLessThan (id object) 1322 public bool scriptingIsLessThan (id object)
1323 { 1323 {
1324 return OS.objc_msgSend(this.id, OS.sel_scriptingIsLessThan_1, object !is null ? object.id : null) !is null; 1324 return OS.objc_msgSend(this.id_, OS.sel_scriptingIsLessThan_1, object !is null ? object.id_ : null) !is null;
1325 } 1325 }
1326 1326
1327 public bool scriptingIsLessThanOrEqualTo (id object) 1327 public bool scriptingIsLessThanOrEqualTo (id object)
1328 { 1328 {
1329 return OS.objc_msgSend(this.id, OS.sel_scriptingIsLessThanOrEqualTo_1, object !is null ? object.id : null) !is null; 1329 return OS.objc_msgSend(this.id_, OS.sel_scriptingIsLessThanOrEqualTo_1, object !is null ? object.id_ : null) !is null;
1330 } 1330 }
1331 1331
1332 public NSDictionary scriptingProperties () 1332 public NSDictionary scriptingProperties ()
1333 { 1333 {
1334 objc.id result = OS.objc_msgSend(this.id, OS.sel_scriptingProperties); 1334 objc.id result = OS.objc_msgSend(this.id_, OS.sel_scriptingProperties);
1335 return result !is null ? new NSDictionary(result) : null; 1335 return result !is null ? new NSDictionary(result) : null;
1336 } 1336 }
1337 1337
1338 public id scriptingValueForSpecifier (NSScriptObjectSpecifier objectSpecifier) 1338 public id scriptingValueForSpecifier (NSScriptObjectSpecifier objectSpecifier)
1339 { 1339 {
1340 objc.id result = OS.objc_msgSend(this.id, OS.sel_scriptingValueForSpecifier_1, objectSpecifier !is null ? objectSpecifier.id : null); 1340 objc.id result = OS.objc_msgSend(this.id_, OS.sel_scriptingValueForSpecifier_1, objectSpecifier !is null ? objectSpecifier.id_ : null);
1341 return result !is null ? new id(result) : null; 1341 return result !is null ? new id(result) : null;
1342 } 1342 }
1343 1343
1344 public id self () 1344 public id self ()
1345 { 1345 {
1346 objc.id result = OS.objc_msgSend(this.id, OS.sel_self); 1346 objc.id result = OS.objc_msgSend(this.id_, OS.sel_self);
1347 return result !is null ? new id(result) : null; 1347 return result !is null ? new id(result) : null;
1348 } 1348 }
1349 1349
1350 public static void setKeys (NSArray keys, NSString dependentKey) 1350 public static void setKeys (NSArray keys, NSString dependentKey)
1351 { 1351 {
1352 OS.objc_msgSend(OS.class_NSObject, OS.sel_setKeys_1triggerChangeNotificationsForDependentKey_1, keys !is null ? keys.id : null, 1352 OS.objc_msgSend(OS.class_NSObject, OS.sel_setKeys_1triggerChangeNotificationsForDependentKey_1, keys !is null ? keys.id_ : null,
1353 dependentKey !is null ? dependentKey.id : null); 1353 dependentKey !is null ? dependentKey.id_ : null);
1354 } 1354 }
1355 1355
1356 public void setNilValueForKey (NSString key) 1356 public void setNilValueForKey (NSString key)
1357 { 1357 {
1358 OS.objc_msgSend(this.id, OS.sel_setNilValueForKey_1, key !is null ? key.id : null); 1358 OS.objc_msgSend(this.id_, OS.sel_setNilValueForKey_1, key !is null ? key.id_ : null);
1359 } 1359 }
1360 1360
1361 public void setObservationInfo (void* observationInfo) 1361 public void setObservationInfo (void* observationInfo)
1362 { 1362 {
1363 OS.objc_msgSend(this.id, OS.sel_setObservationInfo_1, observationInfo); 1363 OS.objc_msgSend(this.id_, OS.sel_setObservationInfo_1, observationInfo);
1364 } 1364 }
1365 1365
1366 public void setScriptingProperties (NSDictionary properties) 1366 public void setScriptingProperties (NSDictionary properties)
1367 { 1367 {
1368 OS.objc_msgSend(this.id, OS.sel_setScriptingProperties_1, properties !is null ? properties.id : null); 1368 OS.objc_msgSend(this.id_, OS.sel_setScriptingProperties_1, properties !is null ? properties.id_ : null);
1369 } 1369 }
1370 1370
1371 public void setValue_forKey_ (id value, NSString key) 1371 public void setValue_forKey_ (id value, NSString key)
1372 { 1372 {
1373 OS.objc_msgSend(this.id, OS.sel_setValue_1forKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 1373 OS.objc_msgSend(this.id_, OS.sel_setValue_1forKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
1374 } 1374 }
1375 1375
1376 public void setValue_forKeyPath_ (id value, NSString keyPath) 1376 public void setValue_forKeyPath_ (id value, NSString keyPath)
1377 { 1377 {
1378 OS.objc_msgSend(this.id, OS.sel_setValue_1forKeyPath_1, value !is null ? value.id : null, keyPath !is null ? keyPath.id : null); 1378 OS.objc_msgSend(this.id_, OS.sel_setValue_1forKeyPath_1, value !is null ? value.id_ : null, keyPath !is null ? keyPath.id_ : null);
1379 } 1379 }
1380 1380
1381 public void setValue_forUndefinedKey_ (id value, NSString key) 1381 public void setValue_forUndefinedKey_ (id value, NSString key)
1382 { 1382 {
1383 OS.objc_msgSend(this.id, OS.sel_setValue_1forUndefinedKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 1383 OS.objc_msgSend(this.id_, OS.sel_setValue_1forUndefinedKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
1384 } 1384 }
1385 1385
1386 public void setValuesForKeysWithDictionary (NSDictionary keyedValues) 1386 public void setValuesForKeysWithDictionary (NSDictionary keyedValues)
1387 { 1387 {
1388 OS.objc_msgSend(this.id, OS.sel_setValuesForKeysWithDictionary_1, keyedValues !is null ? keyedValues.id : null); 1388 OS.objc_msgSend(this.id_, OS.sel_setValuesForKeysWithDictionary_1, keyedValues !is null ? keyedValues.id_ : null);
1389 } 1389 }
1390 1390
1391 public static void setVersion (NSInteger aVersion) 1391 public static void setVersion (NSInteger aVersion)
1392 { 1392 {
1393 OS.objc_msgSend(OS.class_NSObject, OS.sel_setVersion_1, aVersion); 1393 OS.objc_msgSend(OS.class_NSObject, OS.sel_setVersion_1, aVersion);
1394 } 1394 }
1395 1395
1396 public NSRange spellServer_checkGrammarInString_language_details_ (NSSpellServer sender, NSString stringToCheck, NSString language, objc.id** details) 1396 public NSRange spellServer_checkGrammarInString_language_details_ (NSSpellServer sender, NSString stringToCheck, NSString language, objc.id** details)
1397 { 1397 {
1398 NSRange result; 1398 NSRange result;
1399 OS.objc_msgSend_stret(result, this.id, OS.sel_spellServer_1checkGrammarInString_1language_1details_1, sender !is null ? sender.id : null, 1399 OS.objc_msgSend_stret(&result, this.id_, OS.sel_spellServer_1checkGrammarInString_1language_1details_1, sender !is null ? sender.id_ : null,
1400 stringToCheck !is null ? stringToCheck.id : null, language !is null ? language.id : null, details); 1400 stringToCheck !is null ? stringToCheck.id_ : null, language !is null ? language.id_ : null, details);
1401 return result; 1401 return result;
1402 } 1402 }
1403 1403
1404 public void spellServer_didForgetWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language) 1404 public void spellServer_didForgetWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language)
1405 { 1405 {
1406 OS.objc_msgSend(this.id, OS.sel_spellServer_1didForgetWord_1inLanguage_1, sender !is null ? sender.id : null, word !is null ? word.id : null, 1406 OS.objc_msgSend(this.id_, OS.sel_spellServer_1didForgetWord_1inLanguage_1, sender !is null ? sender.id_ : null, word !is null ? word.id_ : null,
1407 language !is null ? language.id : null); 1407 language !is null ? language.id_ : null);
1408 } 1408 }
1409 1409
1410 public void spellServer_didLearnWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language) 1410 public void spellServer_didLearnWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language)
1411 { 1411 {
1412 OS.objc_msgSend(this.id, OS.sel_spellServer_1didLearnWord_1inLanguage_1, sender !is null ? sender.id : null, word !is null ? word.id : null, 1412 OS.objc_msgSend(this.id_, OS.sel_spellServer_1didLearnWord_1inLanguage_1, sender !is null ? sender.id_ : null, word !is null ? word.id_ : null,
1413 language !is null ? language.id : null); 1413 language !is null ? language.id_ : null);
1414 } 1414 }
1415 1415
1416 public NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_ (NSSpellServer sender, NSString stringToCheck, 1416 public NSRange spellServer_findMisspelledWordInString_language_wordCount_countOnly_ (NSSpellServer sender, NSString stringToCheck,
1417 NSString language, int* wordCount, bool countOnly) 1417 NSString language, int* wordCount, bool countOnly)
1418 { 1418 {
1419 NSRange result; 1419 NSRange result;
1420 OS.objc_msgSend_stret(result, this.id, OS.sel_spellServer_1findMisspelledWordInString_1language_1wordCount_1countOnly_1, 1420 OS.objc_msgSend_stret(&result, this.id_, OS.sel_spellServer_1findMisspelledWordInString_1language_1wordCount_1countOnly_1,
1421 sender !is null ? sender.id : null, stringToCheck !is null ? stringToCheck.id : null, language !is null ? language.id : null, 1421 sender !is null ? sender.id_ : null, stringToCheck !is null ? stringToCheck.id_ : null, language !is null ? language.id_ : null,
1422 wordCount, countOnly); 1422 wordCount, countOnly);
1423 return result; 1423 return result;
1424 } 1424 }
1425 1425
1426 public NSArray spellServer_suggestCompletionsForPartialWordRange_inString_language_ (NSSpellServer sender, NSRange range, NSString string, 1426 public NSArray spellServer_suggestCompletionsForPartialWordRange_inString_language_ (NSSpellServer sender, NSRange range, NSString string,
1427 NSString language) 1427 NSString language)
1428 { 1428 {
1429 objc.id result = OS.objc_msgSend(this.id, OS.sel_spellServer_1suggestCompletionsForPartialWordRange_1inString_1language_1, 1429 objc.id result = OS.objc_msgSend(this.id_, OS.sel_spellServer_1suggestCompletionsForPartialWordRange_1inString_1language_1,
1430 sender !is null ? sender.id : null, range, string !is null ? string.id : null, language !is null ? language.id : null); 1430 sender !is null ? sender.id_ : null, range, string !is null ? string.id_ : null, language !is null ? language.id_ : null);
1431 return result !is null ? new NSArray(result) : null; 1431 return result !is null ? new NSArray(result) : null;
1432 } 1432 }
1433 1433
1434 public NSArray spellServer_suggestGuessesForWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language) 1434 public NSArray spellServer_suggestGuessesForWord_inLanguage_ (NSSpellServer sender, NSString word, NSString language)
1435 { 1435 {
1436 objc.id result = OS.objc_msgSend(this.id, OS.sel_spellServer_1suggestGuessesForWord_1inLanguage_1, sender !is null ? sender.id : null, 1436 objc.id result = OS.objc_msgSend(this.id_, OS.sel_spellServer_1suggestGuessesForWord_1inLanguage_1, sender !is null ? sender.id_ : null,
1437 word !is null ? word.id : null, language !is null ? language.id : null); 1437 word !is null ? word.id_ : null, language !is null ? language.id_ : null);
1438 return result !is null ? new NSArray(result) : null; 1438 return result !is null ? new NSArray(result) : null;
1439 } 1439 }
1440 1440
1441 public id storedValueForKey (NSString key) 1441 public id storedValueForKey (NSString key)
1442 { 1442 {
1443 objc.id result = OS.objc_msgSend(this.id, OS.sel_storedValueForKey_1, key !is null ? key.id : null); 1443 objc.id result = OS.objc_msgSend(this.id_, OS.sel_storedValueForKey_1, key !is null ? key.id_ : null);
1444 return result !is null ? new id(result) : null; 1444 return result !is null ? new id(result) : null;
1445 } 1445 }
1446 1446
1447 public void stream (NSStream aStream, NSStreamEvent eventCode) 1447 public void stream (NSStream aStream, NSStreamEvent eventCode)
1448 { 1448 {
1449 OS.objc_msgSend(this.id, OS.sel_stream_1handleEvent_1, aStream !is null ? aStream.id : null, eventCode); 1449 OS.objc_msgSend(this.id_, OS.sel_stream_1handleEvent_1, aStream !is null ? aStream.id_ : null, eventCode);
1450 } 1450 }
1451 1451
1452 public static objc.Class static_superclass () 1452 public static objc.Class static_superclass ()
1453 { 1453 {
1454 return cast(objc.Class) OS.objc_msgSend(OS.class_NSObject, OS.sel_superclass); 1454 return cast(objc.Class) OS.objc_msgSend(OS.class_NSObject, OS.sel_superclass);
1455 } 1455 }
1456 1456
1457 public objc.Class superclass () 1457 public objc.Class superclass ()
1458 { 1458 {
1459 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_superclass); 1459 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_superclass);
1460 } 1460 }
1461 1461
1462 public void takeStoredValue (id value, NSString key) 1462 public void takeStoredValue (id value, NSString key)
1463 { 1463 {
1464 OS.objc_msgSend(this.id, OS.sel_takeStoredValue_1forKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 1464 OS.objc_msgSend(this.id_, OS.sel_takeStoredValue_1forKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
1465 } 1465 }
1466 1466
1467 public void takeValue_forKey_ (id value, NSString key) 1467 public void takeValue_forKey_ (id value, NSString key)
1468 { 1468 {
1469 OS.objc_msgSend(this.id, OS.sel_takeValue_1forKey_1, value !is null ? value.id : null, key !is null ? key.id : null); 1469 OS.objc_msgSend(this.id_, OS.sel_takeValue_1forKey_1, value !is null ? value.id_ : null, key !is null ? key.id_ : null);
1470 } 1470 }
1471 1471
1472 public void takeValue_forKeyPath_ (id value, NSString keyPath) 1472 public void takeValue_forKeyPath_ (id value, NSString keyPath)
1473 { 1473 {
1474 OS.objc_msgSend(this.id, OS.sel_takeValue_1forKeyPath_1, value !is null ? value.id : null, keyPath !is null ? keyPath.id : null); 1474 OS.objc_msgSend(this.id_, OS.sel_takeValue_1forKeyPath_1, value !is null ? value.id_ : null, keyPath !is null ? keyPath.id_ : null);
1475 } 1475 }
1476 1476
1477 public void takeValuesFromDictionary (NSDictionary properties) 1477 public void takeValuesFromDictionary (NSDictionary properties)
1478 { 1478 {
1479 OS.objc_msgSend(this.id, OS.sel_takeValuesFromDictionary_1, properties !is null ? properties.id : null); 1479 OS.objc_msgSend(this.id_, OS.sel_takeValuesFromDictionary_1, properties !is null ? properties.id_ : null);
1480 } 1480 }
1481 1481
1482 public NSArray toManyRelationshipKeys () 1482 public NSArray toManyRelationshipKeys ()
1483 { 1483 {
1484 objc.id result = OS.objc_msgSend(this.id, OS.sel_toManyRelationshipKeys); 1484 objc.id result = OS.objc_msgSend(this.id_, OS.sel_toManyRelationshipKeys);
1485 return result !is null ? new NSArray(result) : null; 1485 return result !is null ? new NSArray(result) : null;
1486 } 1486 }
1487 1487
1488 public NSArray toOneRelationshipKeys () 1488 public NSArray toOneRelationshipKeys ()
1489 { 1489 {
1490 objc.id result = OS.objc_msgSend(this.id, OS.sel_toOneRelationshipKeys); 1490 objc.id result = OS.objc_msgSend(this.id_, OS.sel_toOneRelationshipKeys);
1491 return result !is null ? new NSArray(result) : null; 1491 return result !is null ? new NSArray(result) : null;
1492 } 1492 }
1493 1493
1494 public void unableToSetNilForKey (NSString key) 1494 public void unableToSetNilForKey (NSString key)
1495 { 1495 {
1496 OS.objc_msgSend(this.id, OS.sel_unableToSetNilForKey_1, key !is null ? key.id : null); 1496 OS.objc_msgSend(this.id_, OS.sel_unableToSetNilForKey_1, key !is null ? key.id_ : null);
1497 } 1497 }
1498 1498
1499 public objc.Class unarchiver_cannotDecodeObjectOfClassName_originalClasses_ (NSKeyedUnarchiver unarchiver, NSString name, NSArray classNames) 1499 public objc.Class unarchiver_cannotDecodeObjectOfClassName_originalClasses_ (NSKeyedUnarchiver unarchiver, NSString name, NSArray classNames)
1500 { 1500 {
1501 return cast(objc.Class) OS.objc_msgSend(this.id, OS.sel_unarchiver_1cannotDecodeObjectOfClassName_1originalClasses_1, 1501 return cast(objc.Class) OS.objc_msgSend(this.id_, OS.sel_unarchiver_1cannotDecodeObjectOfClassName_1originalClasses_1,
1502 unarchiver !is null ? unarchiver.id : null, name !is null ? name.id : null, classNames !is null ? classNames.id : null); 1502 unarchiver !is null ? unarchiver.id_ : null, name !is null ? name.id_ : null, classNames !is null ? classNames.id_ : null);
1503 } 1503 }
1504 1504
1505 public id unarchiver_didDecodeObject_ (NSKeyedUnarchiver unarchiver, id object) 1505 public id unarchiver_didDecodeObject_ (NSKeyedUnarchiver unarchiver, id object)
1506 { 1506 {
1507 objc.id result = OS.objc_msgSend(this.id, OS.sel_unarchiver_1didDecodeObject_1, unarchiver !is null ? unarchiver.id : null, 1507 objc.id result = OS.objc_msgSend(this.id_, OS.sel_unarchiver_1didDecodeObject_1, unarchiver !is null ? unarchiver.id_ : null,
1508 object !is null ? object.id : null); 1508 object !is null ? object.id_ : null);
1509 return result !is null ? new id(result) : null; 1509 return result !is null ? new id(result) : null;
1510 } 1510 }
1511 1511
1512 public void unarchiver_willReplaceObject_withObject_ (NSKeyedUnarchiver unarchiver, id object, id newObject) 1512 public void unarchiver_willReplaceObject_withObject_ (NSKeyedUnarchiver unarchiver, id object, id newObject)
1513 { 1513 {
1514 OS.objc_msgSend(this.id, OS.sel_unarchiver_1willReplaceObject_1withObject_1, unarchiver !is null ? unarchiver.id : null, 1514 OS.objc_msgSend(this.id_, OS.sel_unarchiver_1willReplaceObject_1withObject_1, unarchiver !is null ? unarchiver.id_ : null,
1515 object !is null ? object.id : null, newObject !is null ? newObject.id : null); 1515 object !is null ? object.id_ : null, newObject !is null ? newObject.id_ : null);
1516 } 1516 }
1517 1517
1518 public void unarchiverDidFinish (NSKeyedUnarchiver unarchiver) 1518 public void unarchiverDidFinish (NSKeyedUnarchiver unarchiver)
1519 { 1519 {
1520 OS.objc_msgSend(this.id, OS.sel_unarchiverDidFinish_1, unarchiver !is null ? unarchiver.id : null); 1520 OS.objc_msgSend(this.id_, OS.sel_unarchiverDidFinish_1, unarchiver !is null ? unarchiver.id_ : null);
1521 } 1521 }
1522 1522
1523 public void unarchiverWillFinish (NSKeyedUnarchiver unarchiver) 1523 public void unarchiverWillFinish (NSKeyedUnarchiver unarchiver)
1524 { 1524 {
1525 OS.objc_msgSend(this.id, OS.sel_unarchiverWillFinish_1, unarchiver !is null ? unarchiver.id : null); 1525 OS.objc_msgSend(this.id_, OS.sel_unarchiverWillFinish_1, unarchiver !is null ? unarchiver.id_ : null);
1526 } 1526 }
1527 1527
1528 public void unlock () 1528 public void unlock ()
1529 { 1529 {
1530 OS.objc_msgSend(this.id, OS.sel_unlock); 1530 OS.objc_msgSend(this.id_, OS.sel_unlock);
1531 } 1531 }
1532 1532
1533 public void useCredential (NSURLCredential credential, NSURLAuthenticationChallenge challenge) 1533 public void useCredential (NSURLCredential credential, NSURLAuthenticationChallenge challenge)
1534 { 1534 {
1535 OS.objc_msgSend(this.id, OS.sel_useCredential_1forAuthenticationChallenge_1, credential !is null ? credential.id : null, 1535 OS.objc_msgSend(this.id_, OS.sel_useCredential_1forAuthenticationChallenge_1, credential !is null ? credential.id_ : null,
1536 challenge !is null ? challenge.id : null); 1536 challenge !is null ? challenge.id_ : null);
1537 } 1537 }
1538 1538
1539 public static bool useStoredAccessor () 1539 public static bool useStoredAccessor ()
1540 { 1540 {
1541 return OS.objc_msgSend(OS.class_NSObject, OS.sel_useStoredAccessor) !is null; 1541 return OS.objc_msgSend(OS.class_NSObject, OS.sel_useStoredAccessor) !is null;
1542 } 1542 }
1543 1543
1544 public bool validateValue_forKey_error_ (objc.id* ioValue, NSString inKey, objc.id** outError) 1544 public bool validateValue_forKey_error_ (objc.id* ioValue, NSString inKey, objc.id** outError)
1545 { 1545 {
1546 return OS.objc_msgSend(this.id, OS.sel_validateValue_1forKey_1error_1, ioValue, inKey !is null ? inKey.id : null, outError) !is null; 1546 return OS.objc_msgSend(this.id_, OS.sel_validateValue_1forKey_1error_1, ioValue, inKey !is null ? inKey.id_ : null, outError) !is null;
1547 } 1547 }
1548 1548
1549 public bool validateValue_forKeyPath_error_ (objc.id* ioValue, NSString inKeyPath, objc.id** outError) 1549 public bool validateValue_forKeyPath_error_ (objc.id* ioValue, NSString inKeyPath, objc.id** outError)
1550 { 1550 {
1551 return OS.objc_msgSend(this.id, OS.sel_validateValue_1forKeyPath_1error_1, ioValue, inKeyPath !is null ? inKeyPath.id : null, outError) !is null; 1551 return OS.objc_msgSend(this.id_, OS.sel_validateValue_1forKeyPath_1error_1, ioValue, inKeyPath !is null ? inKeyPath.id_ : null, outError) !is null;
1552 } 1552 }
1553 1553
1554 public id valueAtIndex (NSUInteger index, NSString key) 1554 public id valueAtIndex (NSUInteger index, NSString key)
1555 { 1555 {
1556 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueAtIndex_1inPropertyWithKey_1, index, key !is null ? key.id : null); 1556 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueAtIndex_1inPropertyWithKey_1, index, key !is null ? key.id_ : null);
1557 return result !is null ? new id(result) : null; 1557 return result !is null ? new id(result) : null;
1558 } 1558 }
1559 1559
1560 public id valueForKey (NSString key) 1560 public id valueForKey (NSString key)
1561 { 1561 {
1562 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueForKey_1, key !is null ? key.id : null); 1562 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueForKey_1, key !is null ? key.id_ : null);
1563 return result !is null ? new id(result) : null; 1563 return result !is null ? new id(result) : null;
1564 } 1564 }
1565 1565
1566 public id valueForKeyPath (NSString keyPath) 1566 public id valueForKeyPath (NSString keyPath)
1567 { 1567 {
1568 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueForKeyPath_1, keyPath !is null ? keyPath.id : null); 1568 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueForKeyPath_1, keyPath !is null ? keyPath.id_ : null);
1569 return result !is null ? new id(result) : null; 1569 return result !is null ? new id(result) : null;
1570 } 1570 }
1571 1571
1572 public id valueForUndefinedKey (NSString key) 1572 public id valueForUndefinedKey (NSString key)
1573 { 1573 {
1574 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueForUndefinedKey_1, key !is null ? key.id : null); 1574 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueForUndefinedKey_1, key !is null ? key.id_ : null);
1575 return result !is null ? new id(result) : null; 1575 return result !is null ? new id(result) : null;
1576 } 1576 }
1577 1577
1578 public id valueWithName (NSString name, NSString key) 1578 public id valueWithName (NSString name, NSString key)
1579 { 1579 {
1580 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueWithName_1inPropertyWithKey_1, name !is null ? name.id : null, 1580 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueWithName_1inPropertyWithKey_1, name !is null ? name.id_ : null,
1581 key !is null ? key.id : null); 1581 key !is null ? key.id_ : null);
1582 return result !is null ? new id(result) : null; 1582 return result !is null ? new id(result) : null;
1583 } 1583 }
1584 1584
1585 public id valueWithUniqueID (id uniqueID, NSString key) 1585 public id valueWithUniqueID (id uniqueID, NSString key)
1586 { 1586 {
1587 objc.id result = OS.objc_msgSend(this.id, OS.sel_valueWithUniqueID_1inPropertyWithKey_1, uniqueID !is null ? uniqueID.id : null, 1587 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valueWithUniqueID_1inPropertyWithKey_1, uniqueID !is null ? uniqueID.id_ : null,
1588 key !is null ? key.id : null); 1588 key !is null ? key.id_ : null);
1589 return result !is null ? new id(result) : null; 1589 return result !is null ? new id(result) : null;
1590 } 1590 }
1591 1591
1592 public NSDictionary valuesForKeys (NSArray keys) 1592 public NSDictionary valuesForKeys (NSArray keys)
1593 { 1593 {
1594 objc.id result = OS.objc_msgSend(this.id, OS.sel_valuesForKeys_1, keys !is null ? keys.id : null); 1594 objc.id result = OS.objc_msgSend(this.id_, OS.sel_valuesForKeys_1, keys !is null ? keys.id_ : null);
1595 return result !is null ? new NSDictionary(result) : null; 1595 return result !is null ? new NSDictionary(result) : null;
1596 } 1596 }
1597 1597
1598 public static NSInteger versionn () 1598 public static NSInteger versionn ()
1599 { 1599 {
1600 return cast(NSInteger) OS.objc_msgSend(OS.class_NSObject, OS.sel_version); 1600 return cast(NSInteger) OS.objc_msgSend(OS.class_NSObject, OS.sel_version);
1601 } 1601 }
1602 1602
1603 public void willChange (NSKeyValueChange changeKind, NSIndexSet indexes, NSString key) 1603 public void willChange (NSKeyValueChange changeKind, NSIndexSet indexes, NSString key)
1604 { 1604 {
1605 OS.objc_msgSend(this.id, OS.sel_willChange_1valuesAtIndexes_1forKey_1, changeKind, indexes !is null ? indexes.id : null, 1605 OS.objc_msgSend(this.id_, OS.sel_willChange_1valuesAtIndexes_1forKey_1, changeKind, indexes !is null ? indexes.id_ : null,
1606 key !is null ? key.id : null); 1606 key !is null ? key.id_ : null);
1607 } 1607 }
1608 1608
1609 public void willChangeValueForKey_ (NSString key) 1609 public void willChangeValueForKey_ (NSString key)
1610 { 1610 {
1611 OS.objc_msgSend(this.id, OS.sel_willChangeValueForKey_1, key !is null ? key.id : null); 1611 OS.objc_msgSend(this.id_, OS.sel_willChangeValueForKey_1, key !is null ? key.id_ : null);
1612 } 1612 }
1613 1613
1614 public void willChangeValueForKey_withSetMutation_usingObjects_ (NSString key, NSKeyValueSetMutationKind mutationKind, NSSet objects) 1614 public void willChangeValueForKey_withSetMutation_usingObjects_ (NSString key, NSKeyValueSetMutationKind mutationKind, NSSet objects)
1615 { 1615 {
1616 OS.objc_msgSend(this.id, OS.sel_willChangeValueForKey_1withSetMutation_1usingObjects_1, key !is null ? key.id : null, mutationKind, 1616 OS.objc_msgSend(this.id_, OS.sel_willChangeValueForKey_1withSetMutation_1usingObjects_1, key !is null ? key.id_ : null, mutationKind,
1617 objects !is null ? objects.id : null); 1617 objects !is null ? objects.id_ : null);
1618 } 1618 }
1619 1619
1620 public NSZone* zone () 1620 public NSZone* zone ()
1621 { 1621 {
1622 return cast(NSZone*) OS.objc_msgSend(this.id, OS.sel_zone); 1622 return cast(NSZone*) OS.objc_msgSend(this.id_, OS.sel_zone);
1623 } 1623 }
1624 1624
1625 } 1625 }