@@ -304,10 +304,9 @@ class.NSColorSampler.methods."showSamplerWithSelectionHandler:".unsafe = true
304304# Rust's minimum supported macOS version, so that's fine.
305305class.NSOutlineView.methods."setStronglyReferencesItems:".unsafe = true
306306
307- # TODO(breaking): These crash, should probably be skipped (and marked
308- # `NS_UNAVAILABLE` in the header).
309- class.NSStatusBar.methods.new.unsafe = true
310- class.NSStatusBar.methods.init.unsafe = true
307+ # These crash, should probably be marked `NS_UNAVAILABLE` in the header.
308+ class.NSStatusBar.methods.new.skipped = true
309+ class.NSStatusBar.methods.init.skipped = true
311310
312311# Incorrectly overwritten, breaks type-safety.
313312class.NSTableView.methods.dataSource.unsafe = true
@@ -326,8 +325,7 @@ class.NSTextContentStorage.methods."setDelegate:".unsafe = true
326325class.NSTextContentManager.methods."setDelegate:".unsafe = true
327326class.NSSavePanel.methods.delegate.unsafe = true
328327class.NSSavePanel.methods."setDelegate:".unsafe = true
329- # TODO(breaking): Mark this unsafe (or allow delegate protocols to break type-safety).
330- class.NSWindow.methods.delegate.unsafe = false
331- class.NSWindow.methods."setDelegate:".unsafe = false
328+ class.NSWindow.methods.delegate.unsafe = true
329+ class.NSWindow.methods."setDelegate:".unsafe = true
332330class.NSComboButton.methods."setMenu:".unsafe = true
333331class.NSResponder.methods."setMenu:".unsafe = true
0 commit comments