GhostPrompt 0.0.5

GhostPrompt 0.0.5

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2018
SPMSupports SPM

Maintained by Divyansh Singh.


Downloads

Total28
Week0
Month0

Installs

Apps6
powered by Segment

GitHub

Stars0
Watchers1
Forks1
Issues0
Contributors1
Pull Requests0

Code

Files1
LOCLines of Code 69



GhostPrompt

Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Min Version : iOS 8.3

Usage

Using GhostPrompt in code

let prompt = GhostPrompt(height: 55, ParentView: self.view)
prompt.showMessage(Message: "Boooo")

Customizable Properties

  • Change the height of the prompt bar

    promptHeight

  • Change the prompts the background Color

    bgColor

  • Change the text color of the prompt

    textColor

  • View where to present the prompt

    view

  • Direction from where to show appearing

    appearingDirection

  • Duration of the visibility of the prompt

    animationTime

Key Points

Currently alert is shown just at the bottom of the view. Highly suggested to pass 'self.view' view to prompt

Installation

You want to add pod 'GhostPrompt', '~> 0.0' similar to the following to your Podfile:

target 'MyApp' do pod 'GhostPrompt', '~> 0.0' end Then run a pod install inside your terminal, or from CocoaPods.app.

Alternatively to give it a test run, run the command:

pod try GhostPrompt

GhostPrompt is available through CocoaPods. To install it, simply add the following line to your Podfile:

Result

GhostPrompt

Author

Divyansh Singh, [email protected]

License

GhostPrompt is available under the MIT license. See the LICENSE file for more info.