Mads Marquart

Results 256 issues of Mads Marquart

The order that application handler methods are called in relation to each other is somewhat badly documented, and difficult to know for sure if correct. To remedy this, I've implemented...

B - bug
S - platform parity

Xcode 16 is still in beta, opening this PR to track the update. TODO: - [ ] Fix errors while running `header-translator`. - [ ] Wait for GitHub Actions to...

enhancement
A-framework

`Id` is a leftover from `objc_id`, but that name doesn't actually convey any meaning to an outsider, and has only weak relevance to the concept in Objective-C (it somewhat matches...

documentation
enhancement
A-objc2

Convert things like: ```rust #[method_id(initWithObjects:count:)] pub unsafe fn initWithObjects_count( this: Allocated, objects: *mut NonNull, cnt: NSUInteger, ) -> Id; #[method_id(colorWithColorSpace:components:count:)] pub unsafe fn colorWithColorSpace_components_count( space: &NSColorSpace, components: NonNull, number_of_components: NSInteger,...

enhancement
A-framework

Given things like: ```objective-c #define MTLCounterDontSample ((NSUInteger)-1) #define NSFoundationVersionNumber10_0 397.40 ``` Emit: ```rust const MTLCounterDontSample: NSUInteger = NSUInteger::MAX; const NSFoundationVersionNumber10_0: c_double = 397.40; ``` Difficult because we have no way...

enhancement
A-framework

Some protocols like `UIApplicationDelegate` are not registered with the runtime until the compiler has seen a `@protocol(UIApplicationDelegate)`, or the protocol is implemented by a concrete class ([details](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ObjectiveC/Chapters/ocProtocols.html#//apple_ref/doc/uid/TP30001163-CH15-TPXREF149)). This leads to...

bug
A-objc2