amplitude / amplitude/Amplitude-iOS

Add nullability marks for better Swift compatibility

オープン
#196 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Objective-C
スター
328
フォーク
194
PR マージ指標
30日以内にマージされた PR はありません

説明

It's better to mark properties and parameters nullability in your Objective-C SDK. Please, look at [the article](https://developer.apple.com/documentation/swift/objective-c_and_c_code_customization/designating_nullability_in_objective-c_apis), or at the [other one](https://developer.apple.com/swift/blog/?id=25) where it's explained.

A quick example — I don't know am I allowed to pass `nil` as `value` of `AMPIdentify().set("key", value: isNilValueAllowedHere)`

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。