title: Cannot call value of non-function type 'AnyObject!?" Swift
body: <p>I'm trying to fix this error but no see solution.
  In other codes that works! No sense!</p>
  
  <p>Support Class ScrolledString: print string in a view that is scrolled.</p>
  
  <pre><code>class ScrolledString: NSView{
  var text: NSString = "";
  
  init(frame frameRect: NSRect, string:NSString){
      self.text = string
      super.init(frame: frameRect)
  }
  
  required init?(coder: NSCoder) {
      self.text = ""
      super.init(coder:coder)
  }
  
  override func drawRect(dirtyRect: NSRect) {
      let font = NSFont(name: "Helvetica", size: 40.0)
      let attrs : [String: AnyObject] = [
          NSFontAttributeName: font!,
          NSForegroundColorAttributeName: NSColor.whiteColor()
      ]
      text.drawInRect(self.frame, withAttributes: attrs)
  }
  </code></pre>
  
  <p>Than in mainView I'm trying to add a ScrollView</p>
  
  <pre><code>let scrollStringContainer = NSScrollView(frame: NSRect(x: myRect.width*4/9, y: 0, width: myRect.width*8/9, height: myRect.height))
  let view = NSView()
  view.addSubview(ScrolledString(frame: scrollStringContainer.frame, string: self.name))
  scrollStringContainer.documentView(view)
  </code></pre>
  
  <p>Last line return error "<em>Cannot call value of nun-function type 'AnyObject'</em>". I'm simply trying to add a view to scrollView</p>