開発中
- Swift5
comming soon
$ open NDTweetBtnExample/NDTweetBtnExample.xcworkspace
import NDTweetBtn
let btn = NDTweetBtn(frame: CGRect(x: 300, y: 700, width: 60, height: 60))
let action1 = NDTweetBtnAction(
image: UIImage(systemName: "flame")!,
handler: { (NDTweetBtnAction) -> Void in
print("flame")
}
)
btn.addAction(action: action1)
view.addSubview(btn)
Under the MIT.