CMPopTipView_Swift for iOS by Yichi Zhang

Download Source
by 0 people

(Click the stars to add your rating)

CMPopTipView rewritten in Swift. Custom UIView for iOS that pops up an animated "bubble" pointing at a button or other view. Useful for popup tips.

CMPopTipView is an iOS UIView subclass that displays a rounded rectangle "bubble", containing a text message, pointing at a specified button or view.

A CMPopTipView will automatically position itself within the view so that it is pointing at the specified button or view, positioning the "pointer" as necessary.

A CMPopTipView can be pointed at any UIView within the containing view. It can also be pointed at a UIBarButtonItem within either a UINavigationBar or a UIToolbar and it will automatically position itself to point at the target.

The background and text colors can be customised if the defaults are not suitable.

Two animation options are available for when a CMPopTipView is presented: "slide" and "pop".

A CMPopTipView can be dismissed by the user tapping on it. It can also be dismissed programatically.

CMPopTipView is rendered entirely by Core Graphics.

License:
MIT
Language:
Swift