Closed
Bug 1191283
Opened 9 years ago
Closed 7 years ago
nsChildView.mm:5197:9: warning: 'insertText:' is deprecated: first deprecated in OS X 10.6
Categories
(Core :: Widget: Cocoa, defect, P5)
Core
Widget: Cocoa
Tracking
()
RESOLVED
DUPLICATE
of bug 1180564
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: xidorn, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: tpi:+)
0:08.15 Warning: -Wdeprecated-declarations in /Users/upsuper/Projects/mozilla-central/widget/cocoa/nsChildView.mm: 'insertText:' is deprecated: first deprecated in OS X 10.6 0:08.15 /Users/upsuper/Projects/mozilla-central/widget/cocoa/nsChildView.mm:5197:9: warning: 'insertText:' is deprecated: first deprecated in OS X 10.6 [-Wdeprecated-declarations] 0:08.15 [self insertText:@"\n"]; 0:08.15 ^ 0:08.15 /System/Library/Frameworks/AppKit.framework/Headers/NSInputManager.h:18:1: note: 'insertText:' has been explicitly marked deprecated here 0:08.15 - (void) insertText:(id)aString NS_DEPRECATED_MAC(10_0, 10_6); // instead of keyDown: aString can be NSString or NSAttributedString 0:08.15 ^
Comment 1•9 years ago
|
||
Yes, this has long been deprecated: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSTextInput_Protocol/index.html#//apple_ref/occ/intfm/NSTextInput/insertText: But Apple doesn't document any direct replacement. And the OS still uses it internally, and is very likely to continue to do so. At some point we should deal with this, I suppose. But the priority is very low.
Updated•8 years ago
|
Whiteboard: tpi:4
Updated•8 years ago
|
Priority: -- → P5
Whiteboard: tpi:4 → tpi:+
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•