Releases: CosmicMind/Material
Releases · CosmicMind/Material
NSMutableAttributedString Extension
- issue-891: Fixed conflict with addAttributes method in the NSMutableAttributedString extension.
Swift 4
- issue-773: Added
Swift 4
support. - pr-873: Fixes PlaceholderLabel position when right-aligned - iOS 11.0
- issue-886: Fixed a memory leak within Motion's references to previous
UINavigationControllerDelegate
andUITabBarControllerDelegate
. - issue-861: Fixed
NavigationBar
beingnil
in some cases. - issue-845: Fixed ambiguity issues with all properties.
TextView & TextField
- issue-849: Fixed issue where
TextView.placeholderNormalColor
was not correctly displaying. RenamedTextView.placeholderNormalColor
toTextView.placeholderColor
. - issue-856: Fixed issue where
TextField.placeholderAnimation = .hidden
was not correctly being displayed when text was set to nil. - All default instances of
Color.grey.lighten3
have been switched toColor.grey.lighten2
.
TabsController
Pull Requests & Bug Fixes
- issue-857: Fixed an issue where setting the
statusBar
property for theToolbarController
was not updating the background color correctly. - issue-858: Fixed
Photos
sample project that was not updated to reflect the changes in theTabBar
. - pr-715: Added
isPlaceholderUppercasedWhenEditing
property toTextField
. - pr-721: Added
FABMenuItemTitleLabelPosition
which allows theFABMenu
to place itsFABBMenuItems
to either theleft
orright
position of theFABButton
. - pr-851: Added
placeholderHorizontalOffset
property toTextField
. - pr-847: Added
placeholderActiveScale
property toTextField
. - pr-848: Natural motion transition added to
TabsController
when view controllermotionModalTransitionType
is set to.auto
. Card
types default to adepthPreset
of.none
.- Added
shouldSelect
method toTabBarDelegate
. - Updated
TabsController
to useTabBarDelegate
rather than button handlers. - Updated
EdgeInsetsPreset
values to:
.square1: EdgeInsets(top: 4, left: 4, bottom: 4, right: 4)
.square2: EdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
.square3: EdgeInsets(top: 16, left: 16, bottom: 16, right: 16)
.square4: EdgeInsets(top: 20, left: 20, bottom: 20, right: 20)
.square5: EdgeInsets(top: 24, left: 24, bottom: 24, right: 24)
.square6: EdgeInsets(top: 28, left: 28, bottom: 28, right: 28)
.square7: EdgeInsets(top: 32, left: 32, bottom: 32, right: 32)
.square8: EdgeInsets(top: 36, left: 36, bottom: 36, right: 36)
.square9: EdgeInsets(top: 40, left: 40, bottom: 40, right: 40)
.square10: EdgeInsets(top: 44, left: 44, bottom: 44, right: 44)
.square11: EdgeInsets(top: 48, left: 48, bottom: 48, right: 48)
.square12: EdgeInsets(top: 52, left: 52, bottom: 52, right: 52)
.square13: EdgeInsets(top: 56, left: 56, bottom: 56, right: 56)
.square14: EdgeInsets(top: 60, left: 60, bottom: 60, right: 60)
.square15: EdgeInsets(top: 64, left: 64, bottom: 64, right: 64)
Toolbar & SearchBar Controllers
- Added
ToolbarAlignment
to allow placement of theToolbar
at the top or bottom of the view controller. - Added
SearchBarAlignment
to allow placement of theSearchBar
at the top or bottom of the view controller.
TabsController
- Renamed
TabBarController
toTabsController
to avoid name confusion with iOSUITabBarController
helper properties. - Updated layout with
TabsController
to properly adjust during orientation changes.
TabBar Regression
TabBarController
now subclassesTransitionController
to minimize code.- Fixed regression in
TabBarController
where line was incorrectly animation upon initial interaction.