2121
2222#import < UIKit/UIKit.h>
2323
24+ #import < ParseUI/ParseUIConstants.h>
25+
26+ PFUI_ASSUME_NONNULL_BEGIN
27+
2428/* !
2529 `PFSignUpFields` bitmask specifies the sign up elements which are enabled in the view.
2630
@@ -72,7 +76,7 @@ typedef NS_OPTIONS(NSInteger, PFSignUpFields) {
7276
7377 @discussion Used to lay out elements correctly when the presenting view controller has translucent elements.
7478 */
75- @property (nonatomic , weak ) UIViewController *presentingViewController;
79+ @property (PFUI_NULLABLE_PROPERTY nonatomic , weak ) UIViewController *presentingViewController;
7680
7781// /--------------------------------------
7882// / @name Customizing the Logo
@@ -81,7 +85,7 @@ typedef NS_OPTIONS(NSInteger, PFSignUpFields) {
8185/* !
8286 @abstract The logo. By default, it is the Parse logo.
8387 */
84- @property (nonatomic , strong ) UIView *logo;
88+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong ) UIView *logo;
8589
8690// /--------------------------------------
8791// / @name Configure Username Behaviour
@@ -106,33 +110,35 @@ typedef NS_OPTIONS(NSInteger, PFSignUpFields) {
106110/* !
107111 @abstract The username text field.
108112 */
109- @property (nonatomic , strong , readonly ) PFTextField *usernameField;
113+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) PFTextField *usernameField;
110114
111115/* !
112116 @abstract The password text field.
113117 */
114- @property (nonatomic , strong , readonly ) PFTextField *passwordField;
118+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) PFTextField *passwordField;
115119
116120/* !
117121 @abstract The email text field. It is `nil` if the element is not enabled.
118122 */
119- @property (nonatomic , strong , readonly ) PFTextField *emailField;
123+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) PFTextField *emailField;
120124
121125/* !
122126 @abstract The additional text field. It is `nil` if the element is not enabled.
123127
124128 @discussion This field is intended to be customized.
125129 */
126- @property (nonatomic , strong , readonly ) PFTextField *additionalField;
130+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) PFTextField *additionalField;
127131
128132/* !
129133 @abstract The sign up button. It is `nil` if the element is not enabled.
130134 */
131- @property (nonatomic , strong , readonly ) UIButton *signUpButton;
135+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) UIButton *signUpButton;
132136
133137/* !
134138 @abstract The dismiss button. It is `nil` if the element is not enabled.
135139 */
136- @property (nonatomic , strong , readonly ) UIButton *dismissButton;
140+ @property (PFUI_NULLABLE_PROPERTY nonatomic , strong , readonly ) UIButton *dismissButton;
137141
138142@end
143+
144+ PFUI_ASSUME_NONNULL_END
0 commit comments