Releases: ryanlintott/FrameUp
Releases · ryanlintott/FrameUp
v0.6.2
Bugfixes for SmartScrollView
- Content no longer changes id on device orientation change (this used to reset the state of everything inside)
SmartScrollView
will respond to most available size changes including device orientation changes and re-evaluate sizing correctly.HFlow
and otherFULayout
views should now work correctly insideSmartScrollView
without crashing.
v0.6.1
- Added support for watchOS and tvOS
- Fixed a bug with LayoutFromFULayout where child views were not given the overall size as the proposal and would sometimes be larger than available space.
v0.6.0
Updated for iOS 17, macOS 14, and visionOS (beta) and added AccessoryInlineImage
- Added
AccessoryInlineImage
to adjust any image or symbol so that it can render in the accessory inline widget. - Added
UIImage
extensionsscale()
andscaledToFit()
to adjust images for accessory inline widget. - Changed
WidgetSize
functionssizeForCurrentDevice
,sizeForiPhone
,sizeForiPad
, andsizeForWatch
to return nil if a specific size is not known for that widget. Previously they returned zero. - Added watch widget sizes to
WidgetSize
and updated iPhone and iPad widget sizes.
iOS 17
- Fixed
SmartScrollView
so thatscrollBounceBehavior
works as expected in iOS 17
visionOS
- Added support for visionOS
- Deprecated
FlippingView
,TwoSidedView
androtation3DEffect
(with back view) with perspective - Added
TwoSidedVisionOSViewModifier
androtation3DEffect
(with back view) to match new visionOS rotation modifier. This modifier is still buggy most likely due to visionOS betas changing
0.5.0
macOS support, FUViewThatFits, SwiftUI Layouts, FlippingView and more!
New Features:
- Added macOS support
FUViewThatFits
- similar to SwiftUI ViewThatFits but works in older os versions)FULayoutThatFits
- similar toFULayoutThatFits
but instead picks between different layouts with the same content (and it supports animation).HMasonry
andVMasonry
now support both vertical and horizontal alignments.- All
FULayout
parameters are now animatable - SwiftUI
Layout
versions ofFULayout
are now possible.HFlowLayout
,VFlowLayout
,HMasonryLayout
, andVMansonryLayout
added. - Any
FULayout
can quickly be made into a SwiftUILayout using the
LayoutFromFULayout` protocol. LayoutThatFits
will pick the firstLayout
that fits with the same content (and it supports animation).- Made
FULayoutColumn
andFULayoutRow
public so others can use them in their ownFULayout
- Replaced
Alignment
with newFUAlignment
inFULayout
views to allow support for the new.justified
alignment. TwoSidedViewModifier
added with a new.rotation3DEffect()
method that takes a closure for a view to show on the back side of the view.FlippingView
added. A two-sided view that can be flipped with taps or swipes.WidgetSize
updated for latest devices- Accessory widgets added to
WidgetSize
andWidgetDemoFrame
Changes:
TabMenuView
renamed toTabMenu
- Reorganized folders grouping similar elements
Removed:
- layout parameter removed from
HStackFULayout
,VStackFULayout
, andZStackFULayout
as SwiftUI Layout was not exactly equivalent.
Bugfixes
- Content offsets no longer use negative values for alignments. This ensures animations between alignments are handled correctly.
- Selecting tabs is much faster for
TabMenu
. Thereselect
option will only be slow if there is also adoubleTap
option. This is necessary to detect the difference between the two actions.
Full Changelog: 0.4.2...0.5.0
v0.4.0
New Features:
- Added FULayout protocol that can build layout views using either VariadicView or a built in .forEach function.
- Added custom layouts: HMasonry, VMasonry, VStackFULayout, HStackFULayout, and ZStackFULayout.
- Added a type-erasing AnyLayout.
- Added FlippingView and TwoSidedView.
- Added accessibility actions to TabMenuView actions for reselect and double tap.
Changes and fixes:
- HFlow and VFlow have changed from views to FULayout and now support various alignments.
- Removed VGridMasonry (use VMasonry FULayout instead)
- Changed .rotationMatchingOrientation view modifier to AutoRotatingView.
- Fixed bugs in SmartScrollView
- Changed SmartScrollView optionalScrolling and shrinkToFit defaults to true.
- Changed WidgetRelativeShape for iOS 16 so that it no longer makes adjustments on iPads as Apple had fixed the bug that required it.
- Added widget sizes to align with Apple's latest size specifications.
- Fixed TabMenuView onReselect and onDoubleTap to use NamedAction instead of just a closure so they can support accessibility actions.
- Fixed TabMenuView onReselect so it won't trigger alongside onDoubleTap.
- Changed TabMenuView onDoubleTap so it only works on the selected tab.
- Removed FixWidgetPreviewAlignmentBug as it is no longer an issue in Xcode.
v0.3.0
- Added rotationMatchingOrientation view modifier
- Added experimental VGridMasonry for Pinterest-style view arrangements.
v0.2.8
Added .relativePadding() extension to View.
v0.2.7
Bugfixes:
- Fixed crash due to example test
- Fixed availability issues on macOS
v0.2.6
Initial release.