Monthly Archives: October 2017

NSTextField validation

Swift Language

Swift You want to sanitize user input before it gets into your model. Input validation can be brute force – you validate and set each field, or you can use Cocoa Bindings which will do both “automatically”. Introduction Using Bindings Error protocols Final thoughts Summary Resources Introduction Table of Contents I’ll start by setting up […]

Posted in Cocoa, Swift | Tagged , | Leave a comment