iOS SDK: UIAlertAction accepts nullable title
UIAlertAction’s init method takes a String? for “title” in Swift, but the documentation states “This parameter must not be nil”
https://openradar.appspot.com/22869504

#dc#dc comics#batman#bruce wayne#dick grayson#dc fanart#dc universe#tim drake#batfam#batfamily


seen from China
seen from United Kingdom
seen from United States

seen from Netherlands

seen from Singapore
seen from Türkiye
seen from United States
seen from Russia
seen from Russia
seen from India

seen from Australia

seen from India

seen from United States
seen from Türkiye
seen from United States
seen from United States
seen from Singapore

seen from Netherlands

seen from United Kingdom

seen from United States
iOS SDK: UIAlertAction accepts nullable title
UIAlertAction’s init method takes a String? for “title” in Swift, but the documentation states “This parameter must not be nil”
https://openradar.appspot.com/22869504
UIAlertAction initializer takes optional string when it should be non-optional
Summary: The UIAlertAction documentation states that the title parameter in its initializer "must not be nil". However, this parameter is marked as optional when it could be marked as non-optional to enforce this requirement at compile time.
Steps to Reproduce: Pass nil title to UIAlertAction initializer Application Crashes with no compiler error despite requirement of non-nil titles.
Expected Results: UIAlertAction initializer's title parameter should not be optional to enforce this requirement.
Actual Results: UIAlertAction initializer allows title to be nil, causing a crash.
https://openradar.appspot.com/22609978