2015-11-17 34 views

回答

1

你不必投字典,只是聲明你的字典作爲變量與var然後通過它作爲inout參數使用&

var thedata:[String:AnyObject] = ... 
self.addToolTipRect(frame, owner: self, userData: &thedata) 
相關問題