StackOverflow Questions for Tag: objective-c-nullability

kelin
kelin

Reputation: 11975

Pointer is missing a nullability type specifier

Score: 78

Views: 65320

Answers: 7

Read More
Cœur
Cœur

Reputation: 38667

Can we ensure nullability of `+ (nonnull instancetype)sharedInstance;`?

Score: 7

Views: 2962

Answers: 1

Read More
KBancho
KBancho

Reputation: 41

Clang nullability warnings and how to approach them

Score: 2

Views: 3702

Answers: 2

Read More
Heath Borders
Heath Borders

Reputation: 32117

How do I safely cast a `_Nullable` to a `_Nonnull` in Objective-C?

Score: 14

Views: 10991

Answers: 3

Read More
Mark A. Donohoe
Mark A. Donohoe

Reputation: 30378

When decorating ObjC code with nullability annotations, do you also have to do the definition, or just the declaration?

Score: 0

Views: 126

Answers: 1

Read More
user1114881
user1114881

Reputation: 751

why do other properties need nullability type specifier

Score: 1

Views: 103

Answers: 1

Read More
Mark A. Donohoe
Mark A. Donohoe

Reputation: 30378

Do nullability-related attributes in Objective-C normally used for Swift also apply to ObjC-ObjC calls?

Score: 0

Views: 39

Answers: 0

Read More
Legoless
Legoless

Reputation: 11112

Difference between nullable, __nullable and _Nullable in Objective-C

Score: 185

Views: 55673

Answers: 4

Read More
user10063119
user10063119

Reputation:

What does id _Nullable __autoreleasing * _Nonnull mean?

Score: 0

Views: 1006

Answers: 1

Read More
lal
lal

Reputation: 8140

Handle _Nonnull or Nullable with multi-level pointer type

Score: 4

Views: 1638

Answers: 1

Read More
Cœur
Cœur

Reputation: 38667

Conflicting documentation for `[UIView initWithFrame:]`: nullable or nonnull?

Score: 6

Views: 486

Answers: 2

Read More
Can Poyrazoğlu
Can Poyrazoğlu

Reputation: 34780

Prevent Xcode from creating NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END on new headers

Score: 4

Views: 1660

Answers: 2

Read More
Sam Shaikh
Sam Shaikh

Reputation: 1646

What is reason of Warning "Pointer is missing a nullability type specifier"?

Score: 6

Views: 7482

Answers: 2

Read More
jscs
jscs

Reputation: 64002

Marking plain -init to have a nullable return type without a warning

Score: 4

Views: 985

Answers: 1

Read More
Duncan C
Duncan C

Reputation: 131418

Are Objective-C function results nonnull by default?

Score: 4

Views: 593

Answers: 1

Read More
Rob Sanders
Rob Sanders

Reputation: 5347

Warning assigning to _Nullable from incompatible type _Nonnull, but changing modifier does nothing

Score: 1

Views: 1369

Answers: 2

Read More
Heath Borders
Heath Borders

Reputation: 32117

Nullability rules for C++ objects in Objective-C++

Score: 4

Views: 892

Answers: 2

Read More
fabb
fabb

Reputation: 11745

How to Make Compiler Assume `nullable` by Default

Score: 19

Views: 5371

Answers: 3

Read More
fabb
fabb

Reputation: 11745

CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION removed?

Score: 4

Views: 140

Answers: 1

Read More
iosdude
iosdude

Reputation: 1139

Are _Nullable and _Nonnull useful for anything other than Swift interop?

Score: 5

Views: 2137

Answers: 1

Read More
PreviousPage 1Next