Skip to content

Releases: teufelaudio/UIExtensions

iOS 14 issues fix

08 Sep 19:52
e05ff17
Compare
Choose a tag to compare
v0.1.5

Apply paging offset fix only on Xcode 12 (#11)

Some iOS 14 fixes

27 Aug 13:46
2f6af25
Compare
Choose a tag to compare

In preparation for iOS 14, some SwiftUI components and wrappers may need to be updated. This is the first step toward that, with some small fixes.

ScrollableView: Bugfix

22 Jun 12:51
438334f
Compare
Choose a tag to compare

ContentSize calculation fix for the ScrollableView component.

PageView and PageControl

15 Jun 09:43
23a5436
Compare
Choose a tag to compare

Includes SwiftUI wrappers for UIPageViewController and UIPageControl, bindable from outside and using collection of Identifiable plus content view builder as data source.

Allow Animated Binding Changes

05 Jun 15:34
79f1044
Compare
Choose a tag to compare
Allow Dispatching of Actions to be animated (#6)

I finally implemented the default arguments for subscripts. They are a bit weird, as they can only be at the end, and the argument names are removed. I had to fiddle a bit to make this work. 

But I like it a lot now :)

This allows to create bindings like this:

```swift
// Dispatches `select(preset: $0)` from an `withAnimation` block
viewModel.binding[\.selectedPreset, .animated] { .select(preset: $0) }
// Same as above, but does not trigger animation
viewModel.binding[\.selectedPreset] { .select(preset: $0) }
// Does not allow to change the value, only getting.
viewModel.binding[\.selectedPreset]
```

UIExtensions v0.1.0

04 Jun 11:37
dcb9ffd
Compare
Choose a tag to compare

Hello world!