Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit 0cb446e

Browse files
author
Vikas Dadheech
committed
Change CGFloat occurrences to double
1 parent 747af44 commit 0cb446e

31 files changed

+143
-138
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict/>
5+
</plist>

MSGraphModels/MSGraphModels/Models/MSGraphDeviceGeoLocation.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
@interface MSGraphDeviceGeoLocation : MSObject
1111

1212
@property (nonnull, nonatomic, setter=setLastCollectedDateTime:, getter=lastCollectedDateTime) NSDate* lastCollectedDateTime;
13-
@property (nonatomic, setter=setLongitude:, getter=longitude) CGFloat longitude;
14-
@property (nonatomic, setter=setLatitude:, getter=latitude) CGFloat latitude;
15-
@property (nonatomic, setter=setAltitude:, getter=altitude) CGFloat altitude;
16-
@property (nonatomic, setter=setHorizontalAccuracy:, getter=horizontalAccuracy) CGFloat horizontalAccuracy;
17-
@property (nonatomic, setter=setVerticalAccuracy:, getter=verticalAccuracy) CGFloat verticalAccuracy;
18-
@property (nonatomic, setter=setHeading:, getter=heading) CGFloat heading;
19-
@property (nonatomic, setter=setSpeed:, getter=speed) CGFloat speed;
13+
@property (nonatomic, setter=setLongitude:, getter=longitude) double longitude;
14+
@property (nonatomic, setter=setLatitude:, getter=latitude) double latitude;
15+
@property (nonatomic, setter=setAltitude:, getter=altitude) double altitude;
16+
@property (nonatomic, setter=setHorizontalAccuracy:, getter=horizontalAccuracy) double horizontalAccuracy;
17+
@property (nonatomic, setter=setVerticalAccuracy:, getter=verticalAccuracy) double verticalAccuracy;
18+
@property (nonatomic, setter=setHeading:, getter=heading) double heading;
19+
@property (nonatomic, setter=setSpeed:, getter=speed) double speed;
2020

2121
@end

MSGraphModels/MSGraphModels/Models/MSGraphDeviceGeoLocation.m

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ @interface MSObject()
1515
@interface MSGraphDeviceGeoLocation()
1616
{
1717
NSDate* _lastCollectedDateTime;
18-
CGFloat _longitude;
19-
CGFloat _latitude;
20-
CGFloat _altitude;
21-
CGFloat _horizontalAccuracy;
22-
CGFloat _verticalAccuracy;
23-
CGFloat _heading;
24-
CGFloat _speed;
18+
double _longitude;
19+
double _latitude;
20+
double _altitude;
21+
double _horizontalAccuracy;
22+
double _verticalAccuracy;
23+
double _heading;
24+
double _speed;
2525
}
2626
@end
2727

@@ -41,85 +41,85 @@ - (void) setLastCollectedDateTime: (NSDate*) val
4141
self.dictionary[@"lastCollectedDateTime"] = val;
4242
}
4343

44-
- (CGFloat) longitude
44+
- (double) longitude
4545
{
4646
_longitude = [self.dictionary[@"longitude"] floatValue];
4747
return _longitude;
4848
}
4949

50-
- (void) setLongitude: (CGFloat) val
50+
- (void) setLongitude: (double) val
5151
{
5252
_longitude = val;
5353
self.dictionary[@"longitude"] = @(val);
5454
}
5555

56-
- (CGFloat) latitude
56+
- (double) latitude
5757
{
5858
_latitude = [self.dictionary[@"latitude"] floatValue];
5959
return _latitude;
6060
}
6161

62-
- (void) setLatitude: (CGFloat) val
62+
- (void) setLatitude: (double) val
6363
{
6464
_latitude = val;
6565
self.dictionary[@"latitude"] = @(val);
6666
}
6767

68-
- (CGFloat) altitude
68+
- (double) altitude
6969
{
7070
_altitude = [self.dictionary[@"altitude"] floatValue];
7171
return _altitude;
7272
}
7373

74-
- (void) setAltitude: (CGFloat) val
74+
- (void) setAltitude: (double) val
7575
{
7676
_altitude = val;
7777
self.dictionary[@"altitude"] = @(val);
7878
}
7979

80-
- (CGFloat) horizontalAccuracy
80+
- (double) horizontalAccuracy
8181
{
8282
_horizontalAccuracy = [self.dictionary[@"horizontalAccuracy"] floatValue];
8383
return _horizontalAccuracy;
8484
}
8585

86-
- (void) setHorizontalAccuracy: (CGFloat) val
86+
- (void) setHorizontalAccuracy: (double) val
8787
{
8888
_horizontalAccuracy = val;
8989
self.dictionary[@"horizontalAccuracy"] = @(val);
9090
}
9191

92-
- (CGFloat) verticalAccuracy
92+
- (double) verticalAccuracy
9393
{
9494
_verticalAccuracy = [self.dictionary[@"verticalAccuracy"] floatValue];
9595
return _verticalAccuracy;
9696
}
9797

98-
- (void) setVerticalAccuracy: (CGFloat) val
98+
- (void) setVerticalAccuracy: (double) val
9999
{
100100
_verticalAccuracy = val;
101101
self.dictionary[@"verticalAccuracy"] = @(val);
102102
}
103103

104-
- (CGFloat) heading
104+
- (double) heading
105105
{
106106
_heading = [self.dictionary[@"heading"] floatValue];
107107
return _heading;
108108
}
109109

110-
- (void) setHeading: (CGFloat) val
110+
- (void) setHeading: (double) val
111111
{
112112
_heading = val;
113113
self.dictionary[@"heading"] = @(val);
114114
}
115115

116-
- (CGFloat) speed
116+
- (double) speed
117117
{
118118
_speed = [self.dictionary[@"speed"] floatValue];
119119
return _speed;
120120
}
121121

122-
- (void) setSpeed: (CGFloat) val
122+
- (void) setSpeed: (double) val
123123
{
124124
_speed = val;
125125
self.dictionary[@"speed"] = @(val);

MSGraphModels/MSGraphModels/Models/MSGraphGeoCoordinates.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
@interface MSGraphGeoCoordinates : MSObject
1111

12-
@property (nonatomic, setter=setAltitude:, getter=altitude) CGFloat altitude;
13-
@property (nonatomic, setter=setLatitude:, getter=latitude) CGFloat latitude;
14-
@property (nonatomic, setter=setLongitude:, getter=longitude) CGFloat longitude;
12+
@property (nonatomic, setter=setAltitude:, getter=altitude) double altitude;
13+
@property (nonatomic, setter=setLatitude:, getter=latitude) double latitude;
14+
@property (nonatomic, setter=setLongitude:, getter=longitude) double longitude;
1515

1616
@end

MSGraphModels/MSGraphModels/Models/MSGraphGeoCoordinates.m

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,45 +14,45 @@ @interface MSObject()
1414

1515
@interface MSGraphGeoCoordinates()
1616
{
17-
CGFloat _altitude;
18-
CGFloat _latitude;
19-
CGFloat _longitude;
17+
double _altitude;
18+
double _latitude;
19+
double _longitude;
2020
}
2121
@end
2222

2323
@implementation MSGraphGeoCoordinates
2424

25-
- (CGFloat) altitude
25+
- (double) altitude
2626
{
2727
_altitude = [self.dictionary[@"altitude"] floatValue];
2828
return _altitude;
2929
}
3030

31-
- (void) setAltitude: (CGFloat) val
31+
- (void) setAltitude: (double) val
3232
{
3333
_altitude = val;
3434
self.dictionary[@"altitude"] = @(val);
3535
}
3636

37-
- (CGFloat) latitude
37+
- (double) latitude
3838
{
3939
_latitude = [self.dictionary[@"latitude"] floatValue];
4040
return _latitude;
4141
}
4242

43-
- (void) setLatitude: (CGFloat) val
43+
- (void) setLatitude: (double) val
4444
{
4545
_latitude = val;
4646
self.dictionary[@"latitude"] = @(val);
4747
}
4848

49-
- (CGFloat) longitude
49+
- (double) longitude
5050
{
5151
_longitude = [self.dictionary[@"longitude"] floatValue];
5252
return _longitude;
5353
}
5454

55-
- (void) setLongitude: (CGFloat) val
55+
- (void) setLongitude: (double) val
5656
{
5757
_longitude = val;
5858
self.dictionary[@"longitude"] = @(val);

MSGraphModels/MSGraphModels/Models/MSGraphMeetingTimeSuggestion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@interface MSGraphMeetingTimeSuggestion : MSObject
1313

1414
@property (nullable, nonatomic, setter=setMeetingTimeSlot:, getter=meetingTimeSlot) MSGraphTimeSlot* meetingTimeSlot;
15-
@property (nonatomic, setter=setConfidence:, getter=confidence) CGFloat confidence;
15+
@property (nonatomic, setter=setConfidence:, getter=confidence) double confidence;
1616
@property (nullable, nonatomic, setter=setOrganizerAvailability:, getter=organizerAvailability) MSGraphFreeBusyStatus* organizerAvailability;
1717
@property (nullable, nonatomic, setter=setAttendeeAvailability:, getter=attendeeAvailability) NSArray* attendeeAvailability;
1818
@property (nullable, nonatomic, setter=setLocations:, getter=locations) NSArray* locations;

MSGraphModels/MSGraphModels/Models/MSGraphMeetingTimeSuggestion.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ @interface MSObject()
1515
@interface MSGraphMeetingTimeSuggestion()
1616
{
1717
MSGraphTimeSlot* _meetingTimeSlot;
18-
CGFloat _confidence;
18+
double _confidence;
1919
MSGraphFreeBusyStatus* _organizerAvailability;
2020
NSArray* _attendeeAvailability;
2121
NSArray* _locations;
@@ -39,13 +39,13 @@ - (void) setMeetingTimeSlot: (MSGraphTimeSlot*) val
3939
self.dictionary[@"meetingTimeSlot"] = val;
4040
}
4141

42-
- (CGFloat) confidence
42+
- (double) confidence
4343
{
4444
_confidence = [self.dictionary[@"confidence"] floatValue];
4545
return _confidence;
4646
}
4747

48-
- (void) setConfidence: (CGFloat) val
48+
- (void) setConfidence: (double) val
4949
{
5050
_confidence = val;
5151
self.dictionary[@"confidence"] = @(val);

MSGraphModels/MSGraphModels/Models/MSGraphNumberColumn.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
@property (nullable, nonatomic, setter=setDecimalPlaces:, getter=decimalPlaces) NSString* decimalPlaces;
1313
@property (nullable, nonatomic, setter=setDisplayAs:, getter=displayAs) NSString* displayAs;
14-
@property (nonatomic, setter=setMaximum:, getter=maximum) CGFloat maximum;
15-
@property (nonatomic, setter=setMinimum:, getter=minimum) CGFloat minimum;
14+
@property (nonatomic, setter=setMaximum:, getter=maximum) double maximum;
15+
@property (nonatomic, setter=setMinimum:, getter=minimum) double minimum;
1616

1717
@end

MSGraphModels/MSGraphModels/Models/MSGraphNumberColumn.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ @interface MSGraphNumberColumn()
1616
{
1717
NSString* _decimalPlaces;
1818
NSString* _displayAs;
19-
CGFloat _maximum;
20-
CGFloat _minimum;
19+
double _maximum;
20+
double _minimum;
2121
}
2222
@end
2323

@@ -51,25 +51,25 @@ - (void) setDisplayAs: (NSString*) val
5151
self.dictionary[@"displayAs"] = val;
5252
}
5353

54-
- (CGFloat) maximum
54+
- (double) maximum
5555
{
5656
_maximum = [self.dictionary[@"maximum"] floatValue];
5757
return _maximum;
5858
}
5959

60-
- (void) setMaximum: (CGFloat) val
60+
- (void) setMaximum: (double) val
6161
{
6262
_maximum = val;
6363
self.dictionary[@"maximum"] = @(val);
6464
}
6565

66-
- (CGFloat) minimum
66+
- (double) minimum
6767
{
6868
_minimum = [self.dictionary[@"minimum"] floatValue];
6969
return _minimum;
7070
}
7171

72-
- (void) setMinimum: (CGFloat) val
72+
- (void) setMinimum: (double) val
7373
{
7474
_minimum = val;
7575
self.dictionary[@"minimum"] = @(val);

MSGraphModels/MSGraphModels/Models/MSGraphOmaSettingFloatingPoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
@interface MSGraphOmaSettingFloatingPoint : MSGraphOmaSetting
1111

12-
@property (nonatomic, setter=setValue:, getter=value) CGFloat value;
12+
@property (nonatomic, setter=setValue:, getter=value) double value;
1313

1414
@end

0 commit comments

Comments
 (0)