Skip to content

Version 1.1.0

Latest
Compare
Choose a tag to compare
@o-nnerb o-nnerb released this 21 Aug 21:23
· 16 commits to master since this release

New features

We are excited to announce some cool features added to the UICreator framework.

Property

This property wrapper is a dynamic variable that returns a Relay when accessed using the $ symbol. It allows to track some values of the UIView and UIAccessibility so the app can behave different depending on the value of the object. To setup Property, it is needed to call in some view inside the body getter the function dynamicProperty(_:).

UICMenu

Available for iOS 13, Apple added to UIKit the context menus for all apps. UICreator allows that implementation using the function .contextMenu(_:) for iOS only.

UICApp

Available for Swift 5.3, UICApp is a new way to build apps without the UIApplicationDelegate.

Relay

  • Added a constant behavior for Relays by calling the static property .constant(_:).
  • Implemented the flatMap operator.

Presentations

  • Now you can present views dynamically inside the body hierarchy with the .present(_:, content:) method.
  • Push views dynamically using the UICNavigationLink(_:, destination:, content:).

General Improvements

  • Fixed an error on RenderManager when the ViewCreator isn't assign to the UIView.
  • Fixed a fatal error when the Relay tries to set a value where the source Value isn't available anymore.
  • Some ViewCreators were acessing the UIView using force cast operator, in this release that problem was solved.
  • Added more operators in some views.