Trouble with NSTextField in Swift using xcode 6.1 (OSX) -


i started swift not objective c. can teach me how , set nstextfield in swift using xcode 6.1 under osx?

you , set value of nstextfield stringvalue property. instance, if have @iboutlet in app:

@iboutlet weak var textfield: nstextfield! 

getting value:

println("textfield \(textfield.stringvalue)") 

setting value:

textfield.stringvalue = "this string" 

Comments

  1. Top Automation Testing Selenium, API Testing, JMeter, Appium, Protractor, Cucumber Video Courses on Udemy With Coupon Code

    Coupon Code -> W2A9DOLLARS

    https://stqatools.com/top-automation-testing-selenium-api-testing-jmeter-appium-protractor-cucumber-video-courses-on-udemy-with-coupon-code/

    ReplyDelete

Post a Comment

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -