2019-09-08a few seconds read (About 45 words)How to use NSStepper in AppkitIssue #409 123456789101112131415let stepper = NSStepper()let textField = NSTextField(wrappingLabelWithString: "\(myLocalCount)")stepper.integerValue = myLocalCountstepper.minValue = 5stepper.maxValue = 24stepper.valueWraps = falsestepper.target = selfstepper.action = #selector(onStepperChange(_:))@objc func onStepperChange(_ sender: NSStepper) { myLocalCount = sender.integerValue textField.stringValue = "\(sender.integerValue)"}#swiftmacOS