You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They have an ObjectType trait, which allows abstracting over the retain/release methods. I can see the appeal, but it fundamentally won't really work with our crate structure, and I think it's also more user-friendly if CoreFoundation-like types get their own rc::Id-like type.
I believe I've grabbed the most important stuff by now, if not, then the full migration of that crate should highlight if objc2/icrate is lacking something.
There are some things that could be useful for making declare_class! static some day
Also for this, it is possible for fields to be Default, since they implement the special CXX constructor.
Perhaps use their exception.rs assembly code approach to allow handling exceptions without invoking clang. I have written that as a doc comment on the try_catch method we're exposing in objc_sys.
I'm going to close this, the points are tracked elsewhere, except for the remaining objr, whose work I never got explicit permission to copy to this project under a different license.
Related projects to draw inspiration from:
fruity
: I'd like to contribute nvzqz/fruity#13ObjectType
trait, which allows abstracting over theretain
/release
methods. I can see the appeal, but it fundamentally won't really work with our crate structure, and I think it's also more user-friendly ifCoreFoundation
-like types get their ownrc::Id
-like type.CoreFoundation
-like types, we could yet take some inspiration there.~ Moved to Add support forCoreFoundation
-like libraries #556.Object
, which I've found to be overkill for almost all applicationsobjc
module is similar to ourruntime
StaticWritten a note in our code about it,NSNumber
s andNSNull
objc-rs
(not on crates.io)cacao
objc2
/icrate
is lacking something.objrs
declare_class!
static some dayDefault
, since they implement the special CXX constructor.Perhaps use their. I have written that as a doc comment on theexception.rs
assembly code approach to allow handling exceptions without invokingclang
try_catch
method we're exposing inobjc_sys
.cocoa
/core-foundation
/core-graphics
rustkit
header-translator
? But irrelevant now.uikit-sys
objr
: Praise! (Also, let's collaborate!) drewcrawford/objr#1blocksr
async
support, which I've moved toasync
support #279.rust-macios
: Useobjc2
martial-plains/rust-macios#63apple-sys
: Let's collaborate onobjc2
! youknowone/apple-sys#9objc-derive
swift-rs
cidre
. Moved to Collaborate with / grab ideas fromcidre
#557.Related projects in other languages:
@objc
attributeobjp
ffigen
objc
darwin
,objc
derelict
Linking to other runtimes was done in #19
And other initiatives:
The text was updated successfully, but these errors were encountered: