Member Since: Oct 03, 2012
Mac Specs: 2012 Mac Mini 2.5ghz OSX 10.8.2; Black Macbook (late 2006) OSX 10.6.8; iPhone 4; 3rd Gen iPod Touch
02-03-2013, 04:16 PM
I attempted to follow these instructions, but it still didn't work.
Here is a picture of the window that appears when I right-click the App Delegate in the Interface Builder:
My code in the AppDelegate looks like this:
property parent : class "NSObject"
property myTextField : missing value
set theText to myTextField's stringValue()
if theText is equal to "123" then
display dialog "Yay! This works!"
When I run the app, type '123' in the box and hit return, nothing happens. Am I doing something else wrong?