File tree 2 files changed +2
-2
lines changed
CordovaLib/Classes/Public
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ - (CDVPluginResult*)initWithStatus:(CDVCommandStatus)statusOrdinal message:(id)t
103
103
{
104
104
self = [super init ];
105
105
if (self) {
106
- status = [ NSNumber numberWithInt: statusOrdinal] ;
106
+ status = @( statusOrdinal) ;
107
107
message = theMessage;
108
108
keepCallback = [NSNumber numberWithBool: NO ];
109
109
}
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ - (UIInterfaceOrientationMask)supportedInterfaceOrientations
472
472
473
473
- (BOOL )supportsOrientation : (UIInterfaceOrientation)orientation
474
474
{
475
- return [self .supportedOrientations containsObject: [ NSNumber numberWithInt: orientation] ];
475
+ return [self .supportedOrientations containsObject: @( orientation) ];
476
476
}
477
477
478
478
- (UIView*)newCordovaViewWithFrame : (CGRect )bounds
You can’t perform that action at this time.
0 commit comments