i create nsmutableattributedstring in init method of view doing this:
self.name = [[nsmutableattributedstring alloc] initwithstring:@"gabe jacobs"]; how update string within without initing again? don't want have create new 1 every time. idea?
nsmutablestring *string = [nsmutablestring stringwithstring:@"first"]; [string replacecharactersinrange:nsmakerange(0, string.length) withstring:@"second"];
Comments
Post a Comment