Objective-C has the best null handling of any object-oriented language. Here’s how it works: If you try to call a member function on a nil pointer, it is treated as a no-op. If the function returns a pointer, nil is substituted for the return value. If it returns a number, you get zero. Since there…