pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:Swift is:unmerged language:CSS
Filter by
148 results
insindresorhus (press backspace or delete to remove)Fixes issue #33 (assuming it didn t cover the used by menu item case)
Introduction
Hi. Thanks for the awesome Defaults framework!
This PR add a new property wrapper @PublishedDefault, that is used exclusively for ObservableObject.
@PublishedDefault will trigger objectWillChange ...
I guess that was the intent - allow the outside control whether handlers are called or not.
Summary
Xcode 14 has the macOS 12.3 SDK, where this standard library does not support primary associated types.
Reference: https://forums.swift.org/t/xcode-14-rc-cannot-specialize-protocol-type/60171/22 ...
Hi @sindresorhus This PR is a first draft for issue #3 Validate text fields
I first tried a border color for the hex text field but it interfered with blue border when the text field is focused.
Instead ...
This maintains the minimumWidth by overriding sizeThatFits(:) instead of using Auto Layout. It appears that one of the
implicit constraints disabled by self.translatesAutoresizingMaskIntoConstraints is ...
Also adds an isEnabled calculated property to Shortcut, and the appropriate .shortcutIsEnabled(_ : ) function to
KeyboardShortcuts.
Makes var isTakenBySystem public so it can be used for default shortcuts ...