Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Matter of fact: Tuesday, September 2nd

Interestings

– (instancetype)init attribute((unavailable("use initWithFoo:bar: instead")));

Don't just throw runtime exceptions when disabling NSObject's init because you're using a designated initializer instead. Be friendly to your fellow software developers and mark the original init method as unavailable with the following compiler attribute:

  • (instancetype)init attribute((unavailable("use initWithFoo:bar: instead")));

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *