Swiftmessages: Center PresentationStyle

Created on 19 Sep 2016  路  5Comments  路  Source: SwiftKickMobile/SwiftMessages

i found there is no Center PresentationStyle, based on what is considered?

enhancement

Most helpful comment

Anyone interested in centered messages, please check out 3.4.0-beta and post your feedback here. Here are the release notes:

  • Added .center presentation style with a physics-based dismissal gesture.
  • Added .custom(animator:) presentation style, where you provide an instance of the Animator protocol. The TopBottomAnimation and CenterAnimation animations both implement Animator and may be subclassed (configuration options will be added in a future release). You may use the PhysicsPanHandler class to incorporate a physics-based dismissal gesture into any custom animator.
  • Added .centered message view layout with elements centered and arranged vertically.
  • Added configureBackgroundView(width:) and configureBackgroundView(sideMargin:) convenience methods to MessageView.

All 5 comments

No plan to add this at the moment, but something I'm considering.

  • need center!

Anyone interested in centered messages, please check out 3.4.0-beta and post your feedback here. Here are the release notes:

  • Added .center presentation style with a physics-based dismissal gesture.
  • Added .custom(animator:) presentation style, where you provide an instance of the Animator protocol. The TopBottomAnimation and CenterAnimation animations both implement Animator and may be subclassed (configuration options will be added in a future release). You may use the PhysicsPanHandler class to incorporate a physics-based dismissal gesture into any custom animator.
  • Added .centered message view layout with elements centered and arranged vertically.
  • Added configureBackgroundView(width:) and configureBackgroundView(sideMargin:) convenience methods to MessageView.

@wtmoose wow! Thank you so much! I'll try it later

See 3.4.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

b992 picture b992  路  4Comments

airspeed picture airspeed  路  7Comments

CallMeSH picture CallMeSH  路  4Comments

chamitha picture chamitha  路  6Comments

mergesort picture mergesort  路  5Comments