class NSMutableAttributedString

Public Instance Methods

<<(attributedstring) click to toggle source
# File lib/cocoa/sugarcube-attributedstring/nsattributedstring.rb, line 146
def <<(attributedstring)
  self.appendAttributedString(attributedstring.nsattributedstring)
end
with_attributes(attributes) click to toggle source
# File lib/cocoa/sugarcube-attributedstring/nsattributedstring.rb, line 141
def with_attributes(attributes)
  self.addAttributes(attributes, range:[0, self.length])
  self
end