Skip to content

Tags: NativeScript/ios-metadata-generator

Tags

v6.0.2

Toggle v6.0.2's commit message
fix: Preserve headers' relative order when sorting

Swift headers can have interdependencies. Using an unstable
sort when moving them to the bottom of the umbrella header
could break these dependencies and cause metadata
generation errors.

v6.0.1

Toggle v6.0.1's commit message
fix: Place Swift headers at the bottom of the umbrella header

They define macros which may alter the way some iOS SDK methods
and properties are declared

refs NativeScript/ios-jsc#1153

v5.4.2

Toggle v5.4.2's commit message
fix: Place Swift headers at the bottom of the umbrella header

They define macros which may alter the way some iOS SDK methods
and properties are declared

refs NativeScript/ios-jsc#1153

v5.4.1

Toggle v5.4.1's commit message
fix: Convert unsigned 64-bit enum values to signed

This way most negative values will be correctly represented in JS and TS.
Still values between 2^53 and 2^63 will have their representation converted
to inexact `double`s because the MAX_SAFE_INTEGER is 2^53-1

refs NativeScript/ios-jsc#1150

v5.4.0

Toggle v5.4.0's commit message
fix: Stop randomizing modules' order of serialization

v5.3.1

Toggle v5.3.1's commit message
fix: Remove duplicate properties coming from categories

UIKit has some examples of such cases that need deduplication.
* `UIApplication(UIApplicationDeprecated)` category defines a couple of
properties which are duplicated in the UIApplication class. In this case
all of them are deprecated and only the class' members should be left in
the metadata
* `UIGestureRecognizer (UIGestureRecognizerProtected)` category redefines
the `state` property as `readwrite` for use by subclasses of `UIGestureRecognizer`.
In this case it's better to take the category's property as it is more generic and hasn't
got any deprecation or obsoletion attributes set. This way users will be able to use it
in a JS implemented subclass of `UIGestureRecognizer`.

v5.3.0

Toggle v5.3.0's commit message
fix: Remove duplicate properties coming from categories

UIKit has some examples of such cases that need deduplication.
* `UIApplication(UIApplicationDeprecated)` category defines a couple of
properties which are duplicated in the UIApplication class. In this case
all of them are deprecated and only the class' members should be left in
the metadata
* `UIGestureRecognizer (UIGestureRecognizerProtected)` category redefines
the `state` property as `readwrite` for use by subclasses of `UIGestureRecognizer`.
In this case it's better to take the category's property as it is more generic and hasn't
got any deprecation or obsoletion attributes set. This way users will be able to use it
in a JS implemented subclass of `UIGestureRecognizer`.

v5.2.1

Toggle v5.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #64 from NativeScript/tdermendzhiev/resolve-method…

…-collisions

feat: Rename methods with conflicting jsName-s

v5.2.0

Toggle v5.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #64 from NativeScript/tdermendzhiev/resolve-method…

…-collisions

feat: Rename methods with conflicting jsName-s

v5.1.1

Toggle v5.1.1's commit message
fix(typings): Accept Pointers and References for CString arguments

Native functions accepting `char *` arguments may need them not only
for receiving a string but also for returning one in a user provided buffer.

In order to not require TS developers to cast `interop.alloc`-ed
buffers in such calls we are starting to generate the typings so that
it's allowed.

See NativeScript/ios-jsc#1017 (comment) for an
example where such a cast was needed.