@nativescript/core 9.0.0-next-10-06-2025-18277360121 → 9.0.0-next-10-09-2025-18367604937

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/package.json +1 -1
  2. package/platforms/android/widgets-release.aar +0 -0
  3. package/platforms/ios/TNSWidgets.xcframework/Info.plist +102 -0
  4. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  5. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  6. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Info.plist +0 -0
  7. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  8. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  9. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  10. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  11. package/platforms/ios/TNSWidgets.xcframework/ios-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  12. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  13. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  14. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  15. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  16. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  17. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  18. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  19. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  20. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  21. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Modules/module.modulemap +6 -0
  22. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  23. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  24. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Resources/Info.plist +52 -0
  25. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSCCrypto.h +60 -0
  26. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSData+Async.h +24 -0
  27. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSFileHandle+Async.h +22 -0
  28. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/NSString+Async.h +25 -0
  29. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSLabel.h +16 -0
  30. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSProcess.h +29 -0
  31. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/TNSWidgets.h +25 -0
  32. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIImage+TNSBlocks.h +26 -0
  33. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Headers/UIView+PassThroughParent.h +17 -0
  34. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Modules/module.modulemap +6 -0
  35. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/NSObject+Swizzling.h +17 -0
  36. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/PrivateHeaders/UIView+PropertyBag.h +18 -0
  37. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/Resources/Info.plist +52 -0
  38. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/A/TNSWidgets +0 -0
  39. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSCCrypto.h +60 -0
  40. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSData+Async.h +24 -0
  41. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSFileHandle+Async.h +22 -0
  42. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/NSString+Async.h +25 -0
  43. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSLabel.h +16 -0
  44. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSProcess.h +29 -0
  45. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/TNSWidgets.h +25 -0
  46. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIImage+TNSBlocks.h +26 -0
  47. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Headers/UIView+PassThroughParent.h +17 -0
  48. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Modules/module.modulemap +6 -0
  49. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/NSObject+Swizzling.h +17 -0
  50. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/PrivateHeaders/UIView+PropertyBag.h +18 -0
  51. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/Resources/Info.plist +52 -0
  52. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/TNSWidgets.framework/Versions/Current/TNSWidgets +0 -0
  53. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  54. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  55. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  56. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-maccatalyst/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  57. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  58. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  59. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  60. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  61. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  62. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  63. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  64. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  65. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  66. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  67. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  68. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  69. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  70. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  71. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  72. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  73. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  74. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  75. package/platforms/ios/TNSWidgets.xcframework/ios-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  76. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  77. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  78. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  79. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  80. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  81. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  82. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  83. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  84. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  85. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Info.plist +0 -0
  86. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/Modules/module.modulemap +6 -0
  87. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  88. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  89. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/TNSWidgets.framework/TNSWidgets +0 -0
  90. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  91. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  92. package/platforms/ios/TNSWidgets.xcframework/xros-arm64/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  93. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSCCrypto.h +60 -0
  94. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSData+Async.h +24 -0
  95. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSFileHandle+Async.h +22 -0
  96. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/NSString+Async.h +25 -0
  97. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSLabel.h +16 -0
  98. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSProcess.h +29 -0
  99. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/TNSWidgets.h +25 -0
  100. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIImage+TNSBlocks.h +26 -0
  101. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Headers/UIView+PassThroughParent.h +17 -0
  102. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Info.plist +0 -0
  103. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/Modules/module.modulemap +6 -0
  104. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/NSObject+Swizzling.h +17 -0
  105. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/PrivateHeaders/UIView+PropertyBag.h +18 -0
  106. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/TNSWidgets +0 -0
  107. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/TNSWidgets.framework/_CodeSignature/CodeResources +223 -0
  108. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Info.plist +20 -0
  109. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/DWARF/TNSWidgets +0 -0
  110. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/aarch64/TNSWidgets.yml +82 -0
  111. package/platforms/ios/TNSWidgets.xcframework/xros-arm64_x86_64-simulator/dSYMs/TNSWidgets.framework.dSYM/Contents/Resources/Relocations/x86_64/TNSWidgets.yml +82 -0
  112. package/platforms/ios/src/module.modulemap +0 -5
  113. package/ui/button/index.d.ts +1 -1
  114. package/ui/slider/index.d.ts +1 -1
  115. package/platforms/android/include.gradle +0 -51
  116. package/platforms/android/java/org/nativescript/Process.java +0 -59
  117. package/platforms/android/java/org/nativescript/widgets/AbsoluteLayout.java +0 -88
  118. package/platforms/android/java/org/nativescript/widgets/AnimatorHelper.java +0 -61
  119. package/platforms/android/java/org/nativescript/widgets/Async.java +0 -1356
  120. package/platforms/android/java/org/nativescript/widgets/BorderDrawable.java +0 -936
  121. package/platforms/android/java/org/nativescript/widgets/BottomNavigationBar.java +0 -308
  122. package/platforms/android/java/org/nativescript/widgets/BoxShadowDrawable.java +0 -175
  123. package/platforms/android/java/org/nativescript/widgets/CSSValue.java +0 -34
  124. package/platforms/android/java/org/nativescript/widgets/CommonLayoutParams.java +0 -456
  125. package/platforms/android/java/org/nativescript/widgets/ContentLayout.java +0 -85
  126. package/platforms/android/java/org/nativescript/widgets/CustomTransition.java +0 -135
  127. package/platforms/android/java/org/nativescript/widgets/CustomTypefaceSpan.java +0 -44
  128. package/platforms/android/java/org/nativescript/widgets/Dock.java +0 -15
  129. package/platforms/android/java/org/nativescript/widgets/DockLayout.java +0 -185
  130. package/platforms/android/java/org/nativescript/widgets/FileHelper.java +0 -815
  131. package/platforms/android/java/org/nativescript/widgets/FlexLine.java +0 -177
  132. package/platforms/android/java/org/nativescript/widgets/FlexboxLayout.java +0 -2769
  133. package/platforms/android/java/org/nativescript/widgets/FragmentBase.java +0 -14
  134. package/platforms/android/java/org/nativescript/widgets/GridLayout.java +0 -1172
  135. package/platforms/android/java/org/nativescript/widgets/GridUnitType.java +0 -10
  136. package/platforms/android/java/org/nativescript/widgets/HorizontalScrollView.java +0 -256
  137. package/platforms/android/java/org/nativescript/widgets/ImageView.java +0 -423
  138. package/platforms/android/java/org/nativescript/widgets/ItemSpec.java +0 -56
  139. package/platforms/android/java/org/nativescript/widgets/LayoutBase.java +0 -98
  140. package/platforms/android/java/org/nativescript/widgets/LinearGradientDefinition.java +0 -46
  141. package/platforms/android/java/org/nativescript/widgets/Orientation.java +0 -9
  142. package/platforms/android/java/org/nativescript/widgets/OriginPoint.java +0 -74
  143. package/platforms/android/java/org/nativescript/widgets/ScrollSavedState.java +0 -63
  144. package/platforms/android/java/org/nativescript/widgets/SegmentedBarColorDrawable.java +0 -27
  145. package/platforms/android/java/org/nativescript/widgets/StackLayout.java +0 -231
  146. package/platforms/android/java/org/nativescript/widgets/StyleableTextView.java +0 -50
  147. package/platforms/android/java/org/nativescript/widgets/TabIconRenderingMode.java +0 -6
  148. package/platforms/android/java/org/nativescript/widgets/TabItemSpec.java +0 -15
  149. package/platforms/android/java/org/nativescript/widgets/TabLayout.java +0 -451
  150. package/platforms/android/java/org/nativescript/widgets/TabStrip.java +0 -294
  151. package/platforms/android/java/org/nativescript/widgets/TabViewPager.java +0 -64
  152. package/platforms/android/java/org/nativescript/widgets/TabsBar.java +0 -443
  153. package/platforms/android/java/org/nativescript/widgets/Utils.java +0 -546
  154. package/platforms/android/java/org/nativescript/widgets/VerticalScrollView.java +0 -258
  155. package/platforms/android/java/org/nativescript/widgets/ViewHelper.java +0 -564
  156. package/platforms/android/java/org/nativescript/widgets/WrapLayout.java +0 -252
  157. package/platforms/android/java/org/nativescript/widgets/image/AsyncTask.java +0 -679
  158. package/platforms/android/java/org/nativescript/widgets/image/BitmapOwner.java +0 -17
  159. package/platforms/android/java/org/nativescript/widgets/image/Cache.java +0 -471
  160. package/platforms/android/java/org/nativescript/widgets/image/DiskLruCache.java +0 -970
  161. package/platforms/android/java/org/nativescript/widgets/image/Fetcher.java +0 -747
  162. package/platforms/android/java/org/nativescript/widgets/image/Utils.java +0 -58
  163. package/platforms/android/java/org/nativescript/widgets/image/Worker.java +0 -571
  164. package/platforms/ios/src/TNSWidgets/Info.plist +0 -26
  165. package/platforms/ios/src/TNSWidgets/NSData+Async.m +0 -42
  166. package/platforms/ios/src/TNSWidgets/NSFileHandle+Async.m +0 -82
  167. package/platforms/ios/src/TNSWidgets/NSObject+Swizzling.m +0 -68
  168. package/platforms/ios/src/TNSWidgets/NSString+Async.m +0 -51
  169. package/platforms/ios/src/TNSWidgets/TNSLabel.m +0 -42
  170. package/platforms/ios/src/TNSWidgets/UIImage+TNSBlocks.m +0 -77
  171. package/platforms/ios/src/TNSWidgets/UIView+PassThroughParent.m +0 -53
  172. package/platforms/ios/src/TNSWidgets/UIView+PropertyBag.m +0 -72
  173. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/NSData+Async.h +0 -0
  174. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/NSFileHandle+Async.h +0 -0
  175. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/NSString+Async.h +0 -0
  176. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/TNSLabel.h +0 -0
  177. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/TNSWidgets.h +0 -0
  178. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/UIImage+TNSBlocks.h +0 -0
  179. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/Headers}/UIView+PassThroughParent.h +0 -0
  180. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders}/NSObject+Swizzling.h +0 -0
  181. /package/platforms/ios/{src/TNSWidgets → TNSWidgets.xcframework/ios-arm64/TNSWidgets.framework/PrivateHeaders}/UIView+PropertyBag.h +0 -0
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildMachineOSBuild</key>
6
+ <string>23F79</string>
7
+ <key>CFBundleDevelopmentRegion</key>
8
+ <string>en</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>TNSWidgets</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>org.nativescript.TNSWidgets</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>TNSWidgets</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>FMWK</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleSupportedPlatforms</key>
24
+ <array>
25
+ <string>MacOSX</string>
26
+ </array>
27
+ <key>CFBundleVersion</key>
28
+ <string>1</string>
29
+ <key>DTCompiler</key>
30
+ <string>com.apple.compilers.llvm.clang.1_0</string>
31
+ <key>DTPlatformBuild</key>
32
+ <string></string>
33
+ <key>DTPlatformName</key>
34
+ <string>macosx</string>
35
+ <key>DTPlatformVersion</key>
36
+ <string>14.5</string>
37
+ <key>DTSDKBuild</key>
38
+ <string>23F73</string>
39
+ <key>DTSDKName</key>
40
+ <string>macosx14.5</string>
41
+ <key>DTXcode</key>
42
+ <string>1540</string>
43
+ <key>DTXcodeBuild</key>
44
+ <string>15F31d</string>
45
+ <key>LSMinimumSystemVersion</key>
46
+ <string>10.15</string>
47
+ <key>UIDeviceFamily</key>
48
+ <array>
49
+ <integer>2</integer>
50
+ </array>
51
+ </dict>
52
+ </plist>
@@ -0,0 +1,60 @@
1
+ //
2
+ // NSCCrypto.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Osei Fortune on 03/07/2024.
6
+ // Copyright © 2024 NativeScript. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import <CommonCrypto/CommonCrypto.h>
11
+ #import <Security/Security.h>
12
+ #import <Security/SecItem.h>
13
+ #ifndef NSCCrypto_h
14
+ #define NSCCrypto_h
15
+
16
+ typedef enum : NSUInteger {
17
+ kNSCCryptoRSASSA_PKCS1_v1_5,
18
+ kNSCCryptoRSA_PSS,
19
+ kNSCCryptoRSA_OAEP,
20
+ } NSCCryptoRsaHashedKeyGenParamsName;
21
+
22
+
23
+ typedef enum : NSUInteger {
24
+ kNSCCryptoHashSHA1,
25
+ kNSCCryptoHashSHA256,
26
+ kNSCCryptoHashSHA384,
27
+ kNSCCryptoHashSHA512
28
+ } NSCCryptoHash;
29
+
30
+
31
+ typedef enum : NSUInteger {
32
+ kNSCCryptoDecrypt,
33
+ kNSCCryptoEncrypt,
34
+ kNSCCryptoSign,
35
+ kNSCCryptoVerify,
36
+ kNSCCryptoDeriveKey,
37
+ kNSCCryptoDeriveBits,
38
+ kNSCCryptoWrapKey,
39
+ kNSCCryptoUnwrapKey,
40
+ } NSCCryptoKeyUsages;
41
+
42
+
43
+
44
+ @interface NSCCryptoKeyPair : NSObject
45
+ @property (nonatomic, nonnull) SecKeyRef privateKey;
46
+ @property (nonatomic, nonnull) SecKeyRef publicKey;
47
+ -(nonnull id)initWithPrivateKey:(nonnull SecKeyRef)privKey andPublicKey:(nonnull SecKeyRef)pubKey;
48
+ @end
49
+
50
+ @interface NSCCrypto:NSObject
51
+ + (nonnull NSString*)randomUUID;
52
+ + (nullable NSString*)getRandomValues:(nonnull void*)buffer length:(unsigned int)length;
53
+ + (nullable NSData*)digest:(nonnull void*)data length:(unsigned int)length mode:(int)mode;
54
+ + (nullable NSData *)generateKeyHmac:(int)hash length:(int)length;
55
+ + (nullable NSCCryptoKeyPair*)generateKeyRsa:(NSCCryptoRsaHashedKeyGenParamsName)name modulusLength:(unsigned int)modulusLength publicExponent:(nullable void*)exponent size:(unsigned int)size hash:(NSCCryptoHash)hash extractable:(BOOL)extractable keyUsages:(nonnull NSArray*) usages;
56
+ + (nullable NSData *)encryptRsa:(BOOL)isPrivate key:(nonnull NSCCryptoKeyPair *)key hash:(NSCCryptoHash)hash data:(nonnull void*)data size:(unsigned int) size;
57
+
58
+ + (nullable NSData *)decryptRsa:(BOOL)isPrivate key:(nonnull NSCCryptoKeyPair *)key hash:(NSCCryptoHash)hash data:(nonnull void*)data size:(unsigned int) size;
59
+ @end
60
+ #endif /* NSCCrypto_h */
@@ -0,0 +1,24 @@
1
+ //
2
+ // NSData+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Peter Staev on 7.08.19.
6
+ // Copyright © 2019 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSData (Async)
14
+
15
+ + (void)dataWithContentsOfFile:(nonnull NSString*)path
16
+ completion:(void (^) (NSData*))callback;
17
+
18
+ - (void)writeToFile:(nonnull NSString*) path
19
+ atomically:(BOOL)atomically
20
+ completion:(void (^) (void))callback;
21
+
22
+ @end
23
+
24
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,22 @@
1
+ //
2
+ // NSFileHandle+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Osei Fortune on 03/05/2023.
6
+ // Copyright © 2023 NativeScript. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSFileHandle (Async)
14
+
15
+ - (void)appendData:(nonnull NSData*) data
16
+ completion:(void (^) (NSError*))callback;
17
+
18
+ + (void)fileHandleWith:(NSString *)path data:(NSData *)data completion:(void (^)(NSFileHandle*,NSError*))callback;
19
+
20
+ @end
21
+
22
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,25 @@
1
+ //
2
+ // NSString+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Peter Staev on 5.08.19.
6
+ // Copyright © 2019 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSString (Async)
14
+
15
+ + (void)stringWithContentsOfFile:(nonnull NSString*)path
16
+ encoding:(NSStringEncoding)enc
17
+ completion:(void (^) (NSString*, NSError*))callback;
18
+
19
+ - (void)writeToFile:(nonnull NSString*) path
20
+ atomically:(BOOL)atomically
21
+ encoding:(NSStringEncoding)enc
22
+ completion:(void (^) (NSError*))callback;
23
+ @end
24
+
25
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,16 @@
1
+ //
2
+ // TNSLabel.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Hristo Hristov on 6/9/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface TNSLabel : UILabel
12
+
13
+ @property(nonatomic) UIEdgeInsets padding;
14
+ @property(nonatomic) UIEdgeInsets borderThickness;
15
+
16
+ @end
@@ -0,0 +1,29 @@
1
+ //
2
+ // TNSProcess.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Panayot Cankov on 15/05/2017.
6
+ // Copyright © 2017 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #ifndef TNSProcess_h
10
+ #define TNSProcess_h
11
+
12
+ #import <Foundation/Foundation.h>
13
+
14
+ /**
15
+ * Get the milliseconds since the process started.
16
+ */
17
+ double __tns_uptime(void);
18
+
19
+ /**
20
+ * Provides access to NSLog. The runtime implementation of console.log is filtered in release.
21
+ * We rarely need to log in release but in cases such as when logging app startup times in release,
22
+ * this will be convenient shortcut to NSLog, NSLog is not exposed.
23
+ *
24
+ * Please note the {N} CLI may be filtering app output, prefixing the message with "CONSOLE LOG"
25
+ * will make the logs visible in "tns run ios --release" builds.
26
+ */
27
+ void __nslog(NSString* message);
28
+
29
+ #endif /* TNSProcess_h */
@@ -0,0 +1,25 @@
1
+ //
2
+ // TNSWidgets.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Panayot Cankov on 4/27/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ //! Project version number for TNSWidgets.
12
+ FOUNDATION_EXPORT double TNSWidgetsVersionNumber;
13
+
14
+ //! Project version string for TNSWidgets.
15
+ FOUNDATION_EXPORT const unsigned char TNSWidgetsVersionString[];
16
+
17
+ // In this header, you should import all the public headers of your framework using statements like #import <TNSWidgets/PublicHeader.h>
18
+
19
+ #import "UIImage+TNSBlocks.h"
20
+ #import "UIView+PassThroughParent.h"
21
+ #import "TNSLabel.h"
22
+ #import "TNSProcess.h"
23
+ #import "NSString+Async.h"
24
+ #import "NSData+Async.h"
25
+ #import "NSFileHandle+Async.h"
@@ -0,0 +1,26 @@
1
+ //
2
+ // UIImage+UIImage_Async.h
3
+ // TKImageAsync
4
+ //
5
+ // Created by Panayot Cankov on 4/18/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ @interface UIImage (TNSBlocks)
10
+
11
+ /**
12
+ * Similar to imageNamed: however it runs on a separate queue so the UI thread is not blocked.
13
+ * It also draws the UIImage in a small thumb to force decoding potentially avoiding UI hicckups when displayed.
14
+ */
15
+ + (void) tns_safeDecodeImageNamed: (NSString*) name completion: (void (^) (UIImage*))callback;
16
+
17
+ /**
18
+ * Same as imageNamed, however calls to this method are sinchronized to be thread safe in iOS8 along with calls to tns_safeImageNamed and tns_safeDecodeImageNamed:completion:
19
+ * imageNamed is thread safe in iOS 9 and later so in later versions this methods simply fallbacks to imageNamed:
20
+ */
21
+ + (UIImage*) tns_safeImageNamed: (NSString*) name;
22
+
23
+ + (void) tns_decodeImageWithData: (NSData*) data completion: (void (^) (UIImage*))callback;
24
+ + (void) tns_decodeImageWidthContentsOfFile: (NSString*) file completion: (void (^) (UIImage*))callback;
25
+
26
+ @end
@@ -0,0 +1,17 @@
1
+ //
2
+ // UIView+PassThroughParent.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Manol Donev on 21.08.18.
6
+ // Copyright © 2018 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+
12
+ @interface UIView (PassThroughParent)
13
+
14
+ - (BOOL) passThroughParent;
15
+ - (void) setPassThroughParent:(BOOL) passThroughParent;
16
+
17
+ @end
@@ -0,0 +1,6 @@
1
+ framework module TNSWidgets {
2
+ umbrella header "TNSWidgets.h"
3
+ export *
4
+
5
+ module * { export * }
6
+ }
@@ -0,0 +1,17 @@
1
+ //
2
+ // NSObject+Swizzling.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Manol Donev on 21.08.18.
6
+ // Copyright © 2018 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import <objc/runtime.h>
11
+
12
+
13
+ @interface NSObject (Swizzling)
14
+
15
+ + (void)swizzleInstanceMethodWithOriginalSelector:(SEL)originalSelector fromClass:(Class)classContainigOriginalSel withSwizzlingSelector:(SEL)swizzlingSelector;
16
+
17
+ @end
@@ -0,0 +1,18 @@
1
+ //
2
+ // UIView+PropertyBag.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Manol Donev on 21.08.18.
6
+ // Copyright © 2018 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import <UIKit/UIKit.h>
11
+
12
+
13
+ @interface UIView (PropertyBag)
14
+
15
+ - (id) propertyValueForKey:(NSString*) key;
16
+ - (void) setPropertyValue:(id) value forKey:(NSString*) key;
17
+
18
+ @end
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildMachineOSBuild</key>
6
+ <string>23F79</string>
7
+ <key>CFBundleDevelopmentRegion</key>
8
+ <string>en</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>TNSWidgets</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>org.nativescript.TNSWidgets</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>TNSWidgets</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>FMWK</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleSupportedPlatforms</key>
24
+ <array>
25
+ <string>MacOSX</string>
26
+ </array>
27
+ <key>CFBundleVersion</key>
28
+ <string>1</string>
29
+ <key>DTCompiler</key>
30
+ <string>com.apple.compilers.llvm.clang.1_0</string>
31
+ <key>DTPlatformBuild</key>
32
+ <string></string>
33
+ <key>DTPlatformName</key>
34
+ <string>macosx</string>
35
+ <key>DTPlatformVersion</key>
36
+ <string>14.5</string>
37
+ <key>DTSDKBuild</key>
38
+ <string>23F73</string>
39
+ <key>DTSDKName</key>
40
+ <string>macosx14.5</string>
41
+ <key>DTXcode</key>
42
+ <string>1540</string>
43
+ <key>DTXcodeBuild</key>
44
+ <string>15F31d</string>
45
+ <key>LSMinimumSystemVersion</key>
46
+ <string>10.15</string>
47
+ <key>UIDeviceFamily</key>
48
+ <array>
49
+ <integer>2</integer>
50
+ </array>
51
+ </dict>
52
+ </plist>
@@ -0,0 +1,60 @@
1
+ //
2
+ // NSCCrypto.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Osei Fortune on 03/07/2024.
6
+ // Copyright © 2024 NativeScript. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+ #import <CommonCrypto/CommonCrypto.h>
11
+ #import <Security/Security.h>
12
+ #import <Security/SecItem.h>
13
+ #ifndef NSCCrypto_h
14
+ #define NSCCrypto_h
15
+
16
+ typedef enum : NSUInteger {
17
+ kNSCCryptoRSASSA_PKCS1_v1_5,
18
+ kNSCCryptoRSA_PSS,
19
+ kNSCCryptoRSA_OAEP,
20
+ } NSCCryptoRsaHashedKeyGenParamsName;
21
+
22
+
23
+ typedef enum : NSUInteger {
24
+ kNSCCryptoHashSHA1,
25
+ kNSCCryptoHashSHA256,
26
+ kNSCCryptoHashSHA384,
27
+ kNSCCryptoHashSHA512
28
+ } NSCCryptoHash;
29
+
30
+
31
+ typedef enum : NSUInteger {
32
+ kNSCCryptoDecrypt,
33
+ kNSCCryptoEncrypt,
34
+ kNSCCryptoSign,
35
+ kNSCCryptoVerify,
36
+ kNSCCryptoDeriveKey,
37
+ kNSCCryptoDeriveBits,
38
+ kNSCCryptoWrapKey,
39
+ kNSCCryptoUnwrapKey,
40
+ } NSCCryptoKeyUsages;
41
+
42
+
43
+
44
+ @interface NSCCryptoKeyPair : NSObject
45
+ @property (nonatomic, nonnull) SecKeyRef privateKey;
46
+ @property (nonatomic, nonnull) SecKeyRef publicKey;
47
+ -(nonnull id)initWithPrivateKey:(nonnull SecKeyRef)privKey andPublicKey:(nonnull SecKeyRef)pubKey;
48
+ @end
49
+
50
+ @interface NSCCrypto:NSObject
51
+ + (nonnull NSString*)randomUUID;
52
+ + (nullable NSString*)getRandomValues:(nonnull void*)buffer length:(unsigned int)length;
53
+ + (nullable NSData*)digest:(nonnull void*)data length:(unsigned int)length mode:(int)mode;
54
+ + (nullable NSData *)generateKeyHmac:(int)hash length:(int)length;
55
+ + (nullable NSCCryptoKeyPair*)generateKeyRsa:(NSCCryptoRsaHashedKeyGenParamsName)name modulusLength:(unsigned int)modulusLength publicExponent:(nullable void*)exponent size:(unsigned int)size hash:(NSCCryptoHash)hash extractable:(BOOL)extractable keyUsages:(nonnull NSArray*) usages;
56
+ + (nullable NSData *)encryptRsa:(BOOL)isPrivate key:(nonnull NSCCryptoKeyPair *)key hash:(NSCCryptoHash)hash data:(nonnull void*)data size:(unsigned int) size;
57
+
58
+ + (nullable NSData *)decryptRsa:(BOOL)isPrivate key:(nonnull NSCCryptoKeyPair *)key hash:(NSCCryptoHash)hash data:(nonnull void*)data size:(unsigned int) size;
59
+ @end
60
+ #endif /* NSCCrypto_h */
@@ -0,0 +1,24 @@
1
+ //
2
+ // NSData+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Peter Staev on 7.08.19.
6
+ // Copyright © 2019 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSData (Async)
14
+
15
+ + (void)dataWithContentsOfFile:(nonnull NSString*)path
16
+ completion:(void (^) (NSData*))callback;
17
+
18
+ - (void)writeToFile:(nonnull NSString*) path
19
+ atomically:(BOOL)atomically
20
+ completion:(void (^) (void))callback;
21
+
22
+ @end
23
+
24
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,22 @@
1
+ //
2
+ // NSFileHandle+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Osei Fortune on 03/05/2023.
6
+ // Copyright © 2023 NativeScript. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSFileHandle (Async)
14
+
15
+ - (void)appendData:(nonnull NSData*) data
16
+ completion:(void (^) (NSError*))callback;
17
+
18
+ + (void)fileHandleWith:(NSString *)path data:(NSData *)data completion:(void (^)(NSFileHandle*,NSError*))callback;
19
+
20
+ @end
21
+
22
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,25 @@
1
+ //
2
+ // NSString+Async.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Peter Staev on 5.08.19.
6
+ // Copyright © 2019 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <Foundation/Foundation.h>
10
+
11
+ NS_ASSUME_NONNULL_BEGIN
12
+
13
+ @interface NSString (Async)
14
+
15
+ + (void)stringWithContentsOfFile:(nonnull NSString*)path
16
+ encoding:(NSStringEncoding)enc
17
+ completion:(void (^) (NSString*, NSError*))callback;
18
+
19
+ - (void)writeToFile:(nonnull NSString*) path
20
+ atomically:(BOOL)atomically
21
+ encoding:(NSStringEncoding)enc
22
+ completion:(void (^) (NSError*))callback;
23
+ @end
24
+
25
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,16 @@
1
+ //
2
+ // TNSLabel.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Hristo Hristov on 6/9/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ @interface TNSLabel : UILabel
12
+
13
+ @property(nonatomic) UIEdgeInsets padding;
14
+ @property(nonatomic) UIEdgeInsets borderThickness;
15
+
16
+ @end
@@ -0,0 +1,29 @@
1
+ //
2
+ // TNSProcess.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Panayot Cankov on 15/05/2017.
6
+ // Copyright © 2017 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #ifndef TNSProcess_h
10
+ #define TNSProcess_h
11
+
12
+ #import <Foundation/Foundation.h>
13
+
14
+ /**
15
+ * Get the milliseconds since the process started.
16
+ */
17
+ double __tns_uptime(void);
18
+
19
+ /**
20
+ * Provides access to NSLog. The runtime implementation of console.log is filtered in release.
21
+ * We rarely need to log in release but in cases such as when logging app startup times in release,
22
+ * this will be convenient shortcut to NSLog, NSLog is not exposed.
23
+ *
24
+ * Please note the {N} CLI may be filtering app output, prefixing the message with "CONSOLE LOG"
25
+ * will make the logs visible in "tns run ios --release" builds.
26
+ */
27
+ void __nslog(NSString* message);
28
+
29
+ #endif /* TNSProcess_h */
@@ -0,0 +1,25 @@
1
+ //
2
+ // TNSWidgets.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Panayot Cankov on 4/27/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+ //! Project version number for TNSWidgets.
12
+ FOUNDATION_EXPORT double TNSWidgetsVersionNumber;
13
+
14
+ //! Project version string for TNSWidgets.
15
+ FOUNDATION_EXPORT const unsigned char TNSWidgetsVersionString[];
16
+
17
+ // In this header, you should import all the public headers of your framework using statements like #import <TNSWidgets/PublicHeader.h>
18
+
19
+ #import "UIImage+TNSBlocks.h"
20
+ #import "UIView+PassThroughParent.h"
21
+ #import "TNSLabel.h"
22
+ #import "TNSProcess.h"
23
+ #import "NSString+Async.h"
24
+ #import "NSData+Async.h"
25
+ #import "NSFileHandle+Async.h"
@@ -0,0 +1,26 @@
1
+ //
2
+ // UIImage+UIImage_Async.h
3
+ // TKImageAsync
4
+ //
5
+ // Created by Panayot Cankov on 4/18/16.
6
+ // Copyright © 2016 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ @interface UIImage (TNSBlocks)
10
+
11
+ /**
12
+ * Similar to imageNamed: however it runs on a separate queue so the UI thread is not blocked.
13
+ * It also draws the UIImage in a small thumb to force decoding potentially avoiding UI hicckups when displayed.
14
+ */
15
+ + (void) tns_safeDecodeImageNamed: (NSString*) name completion: (void (^) (UIImage*))callback;
16
+
17
+ /**
18
+ * Same as imageNamed, however calls to this method are sinchronized to be thread safe in iOS8 along with calls to tns_safeImageNamed and tns_safeDecodeImageNamed:completion:
19
+ * imageNamed is thread safe in iOS 9 and later so in later versions this methods simply fallbacks to imageNamed:
20
+ */
21
+ + (UIImage*) tns_safeImageNamed: (NSString*) name;
22
+
23
+ + (void) tns_decodeImageWithData: (NSData*) data completion: (void (^) (UIImage*))callback;
24
+ + (void) tns_decodeImageWidthContentsOfFile: (NSString*) file completion: (void (^) (UIImage*))callback;
25
+
26
+ @end
@@ -0,0 +1,17 @@
1
+ //
2
+ // UIView+PassThroughParent.h
3
+ // TNSWidgets
4
+ //
5
+ // Created by Manol Donev on 21.08.18.
6
+ // Copyright © 2018 Telerik A D. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+
11
+
12
+ @interface UIView (PassThroughParent)
13
+
14
+ - (BOOL) passThroughParent;
15
+ - (void) setPassThroughParent:(BOOL) passThroughParent;
16
+
17
+ @end
@@ -0,0 +1,6 @@
1
+ framework module TNSWidgets {
2
+ umbrella header "TNSWidgets.h"
3
+ export *
4
+
5
+ module * { export * }
6
+ }