通过CocoaPods 安装
pod'XCUserGuideView'
使用方法
let tempguide:XCUserGuideView=XCUserGuideView(frame:self.view.bounds)
let item1:XCUserGuideSharp Item=XCUserGuideSharpItem()
item1.frame=(button1?.frame)!
item1.title="Look up FF or ff in Wiktionary, the free dictionary"
item1.direction=.up
item1.sharp=.Circle
item1.guideView=button1
tempguide.show(rootView:self.view,item: item1,completion:nil)