2016-08-05 155 views
0

我一直堅持了很多天,我找不到解決方案和ApplescriptObjC的文檔看起來很低在線,我想要做的是從文本中複製文本現場使用ApplescriptObjC在Xcode 4.6這裏我的代碼和我的綁定標籤:ApplescriptObjC - 在標籤上顯示文本字段文本

,我收到此錯誤

2016-08-05 16:10:32.114 BoxEye[12604:303] *** -[AppDelegate selectSource:]: Can’t make «class ocid» id «data optr00000000C04AF40901000000» into type string. (error -1700) 

property parent : class "NSObject" 
property myLabel : missing value 
property textFeild: missing value 


on selectSource_(sender) 

     myLabel's setStringValue_(textFeild) 

end selectSource_ 

here is my interface my bindings

回答

1

我會嘗試做

myLabel's setStringValue_((textfield's stringValue()) as text)