I just started learning Swift and created a little OSX-App, in which I want to use a
@IBOutlet var ScrollViewOutlet : NSScrollView
var attributedString = NSMutableAttributedString(string: myText)
seems that the earlier betas of xcode had some issues with this kind of outlets (as you can see here swiftwtf.tumblr.com/post/88387419568/nstextview), however, since xcode 6 beta 6 its working.
i noticed that you can't change the content of the NSScrollView or NSTextView directly, so i did the following, setting only the string in textStorage
textFieldOutlet.textStorage.mutableString.setString("your string here")
... and it worked fine.