- Notifications
You must be signed in to change notification settings - Fork0
Releases: gershnik/objc-helpers
Releases · gershnik/objc-helpers
3.1
Added
BlockUtil.handCoDispatch.hare now supported on Linux. SeeLinux notes for more details
Assets3
Uh oh!
There was an error while loading.Please reload this page.
3.0
Changed
BlockUtil.h:makeBlockfunctionality is completely reworked. New functionality:- Wrap any callables including mutable lambdas or any other callable that provides non-const
operator(). - If the callable is movable it will be moved into the block, not copied. It will also be moved if the block is "copied to heap"
by ObjectiveC runtime orBlock_copyin plain C++. - It is possible to use move-only callables.
- All of this is accomplished with NO dynamic memory allocation
- Wrap any callables including mutable lambdas or any other callable that provides non-const
NSStringCharAccessnow conforms completely tostd::ranges::random_access_rangeBoxUtil.h: boxing now detects comparability and enablescompare:not just via presence of operator<=>but also when only operators<,==,<=etc. are present.BoxUtil.h: generated ObjectiveC box classes now have names unique to each shared library/main executable, preventing collisions if multiple modules use boxing.
Added
NSStringUtil.h: addedmakeNSString,makeCFStringandmakeStdStringconversion functions between C++ character ranges and ObjectiveC strings.
SeeREADME for more details
Assets3
Uh oh!
There was an error while loading.Please reload this page.
2.3
Added
BoxUtil.hheader for generic boxing and unboxing of any C++ object to/from an ObjectiveC oneXCTestUtil.hheader for XCTest macros to compare C++ objects while producing useful descriptions in case of failure.
SeeREADME for more details
Assets3
Uh oh!
There was an error while loading.Please reload this page.
2.2
Changed
- Performance optimizations for CoDispatch
Assets3
Uh oh!
There was an error while loading.Please reload this page.
2.1
Added
- all variants of
resumeOnandresumeOnMainQueuenow acceptwhenargument to request that the resumption happens no earlier than the specified time. When used withco_await resumeOn(currentQueue, when)this allows the caller to sleep asynchronously without blocking its queue.
Assets3
Uh oh!
There was an error while loading.Please reload this page.
2.0
Added
- CoDispatch.h: A collection of classes and functions that allows you to writeasynchronous C++ coroutines and generators that execute on GCD dispatch queues. Detailed guide is availablehere
- Ability to subtract
NSStringCharAccess::iterators - Ability to get starting index of
NSStringCharAccess::iteratorinside its string - Extensive unit tests for all functionality
Fixed
- Crash in
NSNumberEqualwhen second argument isnullptr NSStringCharAccess::empty()returning opposite result- Compiler warnings in pedantic mode
Assets3
Uh oh!
There was an error while loading.Please reload this page.