Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: gershnik/objc-helpers

3.1

09 Aug 03:28

Choose a tag to compare

Added

  • BlockUtil.h andCoDispatch.h are now supported on Linux. SeeLinux notes for more details
Assets3
Loading

3.0

18 Jan 05:56

Choose a tag to compare

Changed

  • BlockUtil.h:makeBlock functionality is completely reworked. New functionality:
    • Wrap any callables including mutable lambdas or any other callable that provides non-constoperator().
    • 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_copy in plain C++.
    • It is possible to use move-only callables.
    • All of this is accomplished with NO dynamic memory allocation
  • NSStringCharAccess now conforms completely tostd::ranges::random_access_range
  • BoxUtil.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,makeCFString andmakeStdString conversion functions between C++ character ranges and ObjectiveC strings.

SeeREADME for more details

Loading

2.3

09 Jan 08:06

Choose a tag to compare

Added

  • BoxUtil.h header for generic boxing and unboxing of any C++ object to/from an ObjectiveC one
  • XCTestUtil.h header for XCTest macros to compare C++ objects while producing useful descriptions in case of failure.

SeeREADME for more details

Loading

2.2

23 Dec 01:58

Choose a tag to compare

Changed

  • Performance optimizations for CoDispatch
Loading

2.1

17 Dec 06:23

Choose a tag to compare

Added

  • all variants ofresumeOn andresumeOnMainQueue now acceptwhen argument 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.
Loading

2.0

13 Dec 12:25

Choose a tag to compare

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 subtractNSStringCharAccess::iterators
  • Ability to get starting index ofNSStringCharAccess::iterator inside its string
  • Extensive unit tests for all functionality

Fixed

  • Crash inNSNumberEqual when second argument isnullptr
  • NSStringCharAccess::empty() returning opposite result
  • Compiler warnings in pedantic mode
Loading

[8]ページ先頭

©2009-2025 Movatter.jp