xamarin / binding-tools-for-swift

MIT License
157 stars 21 forks source link

remove nullable warnings #818

Closed stephen-hawley closed 7 months ago

stephen-hawley commented 7 months ago

Added postfix unary operators to dynamo. Changed all cases of calling GetNSObject and CSObjectForSwiftObject to have ! after the call.

Why not inject a null check and exception? Because if these calls return null you've got bigger problems on your hands and the runtime will throw and exception for you.