J'ai un NSTextView que je dois insérer un saut de ligne dans le code ressemble à ceci:.NSTextView Insérer saut de ligne
NSString *myString = @"test" [myTextView insertText:myString]; /**** INSERT LINE BREAK HERE ****/ [[myTextView textStorage] insertAttributedString:MY_ATTRIBUTED_STRING atIndex:myString.length];
Quelqu'un a une idée de comment faire cela?