objc2 icon indicating copy to clipboard operation
objc2 copied to clipboard

Bindings to Apple's frameworks in Rust

Results 136 objc2 issues
Sort by recently updated
recently updated
newest added

My work on fixing upstream issues, or at least opening new issues in this repo to track them. ## `objc` issues: - [x] https://github.com/SSheldon/rust-objc/issues/6 - Tracked in https://github.com/madsmtm/objc2/pull/73 - [x]...

bug
documentation
enhancement

Part of https://github.com/madsmtm/objc2/issues/30. The desire is to allow using `Box`, `Id` and `WeakId` (and at some point `Arc`, `Rc` and the corresponding `Weak`) inside instance variables. This is accomplished using...

enhancement
A-objc2

Some classes have a lot of simple properties; it may be interesting to have an easier way of accessing these? Examples: - [`UIColor`](https://developer.apple.com/documentation/uikit/uicolor?language=objc) has a lot of class properties that...

enhancement
help wanted
A-objc2

Some types like `NSErrorUserInfoKey` are really just a list of certain `NSString`s that may be valid where it is used. It would be nice to have a better way of...

enhancement
A-icrate

~Blocked on at least https://github.com/madsmtm/objc2/pull/21.~ Fundamentally cannot be made safe, since you're calling into unknown Objective-C classes. Not even sure `add_ivar` is sound (since Objective-C could be using the same...

enhancement

When using `declare_class!` it should be possible to create statics that are initialized with the correct offset after `ClassType::class` has run; this would allow accessing instance variables with exactly the...

enhancement
help wanted
A-objc2

Pulled out from https://github.com/madsmtm/objc2/issues/30. It could be interesting to allow deregistering dynamically declared classes! Idea: ```rust struct ClassBuilder { ... } impl ClassBuilder { fn add_method(...) fn add_property(...) // ......

A-objc2

Unsure about how to handle this. The need arose because `MTLBuffer` is a protocol, not an actual class (it can't be instantiated by itself), but is useful to handle it...

A-objc2

I'd also like to remove the copyright notice from the MIT license (see https://github.com/rust-lang/rust/commit/2a8807e889a43c6b89eb6f2736907afa87ae592f). Upstream issues: - https://github.com/SSheldon/rust-objc-foundation/issues/5 - https://github.com/SSheldon/rust-objc-id/issues/3 - https://github.com/SSheldon/rust-objc-exception/issues/2 Will probably need permission from (won't tag most...

enhancement
help wanted

Collection of ideas to improve `objc2-foundation` - [ ] Add more iterator methods to `INSArray` and `INSMutableArray` (see also https://github.com/madsmtm/objc2/issues/29#issuecomment-913185651) - [ ] Safety of `NSArray::objects_in_range` (out of bounds?) -...

enhancement
help wanted
A-objc2::foundation