Skip to content

pullrequests Search Results · user:sindresorhus language:swift archived:false is:public language:Swift is:unmerged is:unmerged

Filter by

100 results  (259 ms)

100 results

insindresorhus (press backspace or delete to remove)

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 ...

I have often the need to tune AppKit objects being embedded into SwiftUI with NSViewRepresentable. This configuration property is a proposal for an optional parameter to directly access the RecorderCocoa ...

This adds a .keyboardShortcut(_ shortcut: KeyboardShortcuts.Name) helper function to assign a shortcut defined through this KeyboardShortcuts to a SwiftUI button. This provides a similar functionality ...

For Dato, you put Join Video Call , but overall, it s a better menu bar clock with a calendar and time zones !-- Thanks for submitting a pull request 🙌 If you re submitting a new action, please review ...

Summary This PR fixed: #79. I have added a usingCodable property to Defaults.Key. If users set usingCodable to false, so the serialization will not use Codable. Usage private enum Foo: Int, CaseIterable, ...

My current app design requires a smaller variant of the text field. Thus, I have implemented a proper support for controlSize(:) that (among others) reflects the font size to the controlSize parameter. ...