Improve objc2::foundation
#67
Labels
A-framework
Affects the framework crates and the translator for them
enhancement
New feature or request
help wanted
Extra attention is needed
Milestone
Collection of ideas to improve
objc2-foundation
Add more iterator methods toMoved to Proper iteration over Foundation types #304INSArray
andINSMutableArray
NSArray::objects_in_range
(out of bounds?)AddThis is already available via.INSString::to_string
to avoid having to useautoreleasepool
Display
NSNumber
vs.NSValue
should work - done in ImproveNSValue
and addNSNumber
#226NSString
/NSData
and subclasses, so thatinitWithBytesNoCopy
can work?struct MyNSString<'a>(NSString, PhantomData<&'a >)
NSData
index with ranges /SliceIndex
?NSSize
validity: Rework Foundation geometry types #260Add these classes/structs that are used by
winit
:NSThread
NSString
NSAttributedString
NSAttributedMutableString
NSArray
NSProcessInfo
NSDictionary
NSData
NSFastEnumeration
NSNotificationCenter
NSTimeInterval
NSPoint
NSRect
NSSize
NSRange
An furthermore these that are available in
cocoa-foundation
:NSOperatingSystemVersion
NSProcessInfo
methodsNSEnumerationOptions
?NSDate
NSRunLoop
NSURL
NSBundle
NSData
base64 functionality?NSUserDefaults
And a few that makes sense to do:
NSSet
/NSMutableSet
- AddNSSet
andNSMutableSet
#245NSMutableDictionary
- AddNSMutableDictionary
#249And many more, since #264
The text was updated successfully, but these errors were encountered: