Reputation: 4518
How do you change the title of an NSWindow
instance? I have one window in a NIB; how can this be accomplished?
Upvotes: 0
Views: 646
Reputation: 29764
This code belongs in a controller class. In Interface Builder (or Xcode, depending on the version you're running), hook up the button you want to an IBAction that calls -setTitle:
on your NSWindow
instance.
Upvotes: 1