I am making an application for anyone, and I need to make this NSTextView uneditable in an NSScrollView. Whatever I do, I can not do anything to work. For this there is no editable in the interface builder or the editing check box is not allowed, so I have to do this programmatically so far, I have to follow the code Have tried.
[TextView setEditable: NO]; [TextView SetAdit: Fail]]; [TextView.editable = NO]; [TextView.editable = FALSE]; [Edit text view; And I can not find anything to work if someone can help please, it will be appreciated! In addition, I am doing it below:
- (zero) Application Deficient Launching: (NSNetification *) A notification {} Any help Thank you!
Have you seen NSTextView on delegation methods? (Especially NSTextDelegate )
If you implement textShouldBeginEditing: and not, then it should not be edited.
:
Comments
Post a Comment