More often than I'd have hoped I seem to come across method/property definitions in Apple's documentation that are vague at best and meaningless, to me, at worst. For example, take the following method description from NSNumberFormatter Class Reference
:
setPartialStringValidationEnabled:
Sets whether partial string validation is enabled for the receiver.
- (void)setPartialStringValidationEnabled:(BOOL)b
Parameters
b YES if partial string validation is enabled, otherwise NO.
So, let's just assume that the shoddy educational system I went through and any previous projects I've worked on didn't cover "partial string validation" in Cocoa and I would like to dig into it some more to see what this property is all about. Where does one look (aside from Google)? I hate to pester forums for something I should be able to look up easily myself.
I have come across situations like this enough times now that I think I may be approaching Apple's docs incorrectly. Any suggestions? Tips/tricks? 3rd party resources?
With powerful developer tools like Swift and Xcode, every business can build amazing apps. Swift is a powerful, open source language that includes modern features developers love. And Xcode includes everything you need to create, build, and debug apps on iPhone, iPad, Mac, Apple Watch, and Apple TV.
The Apple Developer Program annual fee is 99 USD and the Apple Developer Enterprise Program annual fee is 299 USD, in local currency where available. Prices may vary by region and are listed in local currency during the enrollment process.
As long as you don't have a Mac but still need to use macOS to write iOS apps, virtualization software is the simplest solution. Installed on your Windows PC, a virtual machine (VirtualBox, VMware, etc.) will provide you with the access to macOS, this way making it possible for you to develop iOS apps on Windows.
Partial string validation is explained in NSFormatter class.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With