easily you can use wordCard.
- showing wordCard easily.
initialize
popCard = PopCard(
word: "eat", text: "cause to deteriorate due to the action of water, air, or an acid",
lang: "en"
)
show Up Card
popCard.showView()
Hide Card
popCard.dawinView()
Protocol -when using PreserveButton, you can use this Protocol
public protocol popCardProtcol{
func wordPreserve(_ word:String,text:String)
}
and set delegate.
popCard.delegate = self
- iOS 11.0 or later
- Xcode 9.0 - Swift4
Just add to your Cartfile:
github "kcwebapply/PopCard"
Please file issues or submit pull requests for anything you’d like to see! We're waiting! :)
PopCard.swift is released under the MIT license. Go read the LICENSE file for more information.