I am using the new nullability value in Xcode 6.3
However, I encountered such a problem
[Object doSomethingWithNonNullParam:otherObject.nullableProperty];
What is the best way to solve this problem if I'm sure otherObject.nullablePropertynot nil?
otherObject.nullableProperty
nil
I think a cast is appropriate here?
[Object doSomethingWithNonNullParam:(OtherObject *_Nonnull) otherObject.nullableProperty];