Welcome to the documentation for Dodo!
Installation
To install Dodo, simply add the following line to your project’s `Podfile`:
pod 'Dodo'
Then run the following command:
pod install
Usage
Import Dodo in the relevant `UIViewController` where you want to display the Dodo messages:
import Dodo
You can now use the following methods to display different types of messages:
Success Messages
To display a success message, use the following code:
view.dodo.success("Your success message here!")
Error Messages
To display an error message, use the following code:
view.dodo.error("Your error message here!")
Info Messages
To display an info message, use the following code:
view.dodo.info("Your info message here!")
Warning Messages
To display a warning message, use the following code:
view.dodo.warning("Your warning message here!")
Customization
You can customize the appearance and behavior of the Dodo messages by modifying the properties of the `DodoSettings` struct:
var settings = DodoSettings.sharedInstance
settings.animationType = .slideVertically
settings.barTintColor = .blue
settings.textColor = .white
// ...
For a complete list of customization options, please refer to the Dodo GitHub repository.
Conclusion
Dodo provides an easy and flexible way to display different types of messages in your iOS app. With its simple integration and customization options, you can enhance user experience by providing informative and visually appealing messages. Happy coding!