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

Commit f08b8f1

Browse files
committed
[ios, macos] Corrected method references in documentation
1 parent e2d91dc commit f08b8f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

platform/darwin/src/MGLShapeSource.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,17 @@ extern const MGLShapeSourceOption MGLShapeSourceOptionSimplificationTolerance;
118118
119119
If the receiver was initialized using `-initWithIdentifier:URL:options:`, this
120120
property is set to `nil`. This property is unavailable until the receiver is
121-
passed into `-[MGLStyle addSource]`.
121+
passed into `-[MGLStyle addSource:]`.
122122
*/
123-
@property (nonatomic, nullable) MGLShape *shape;
123+
@property (nonatomic, copy, nullable) MGLShape *shape;
124124

125125
/**
126126
The URL to the GeoJSON document that specifies the contents of the source.
127127
128-
If the receiver was initialized using
129-
`-initWithIdentifier:geoJSONData:options`, this property is set to `nil`.
128+
If the receiver was initialized using `-initWithIdentifier:shape:options:`,
129+
this property is set to `nil`.
130130
*/
131-
@property (nonatomic, nullable) NSURL *URL;
131+
@property (nonatomic, copy, nullable) NSURL *URL;
132132

133133
@end
134134

0 commit comments

Comments
 (0)