Skip to content
This repository was archived by the owner on Dec 13, 2017. It is now read-only.

Commit dfb0512

Browse files
committed
Documentation updates
1 parent 3413286 commit dfb0512

6 files changed

Lines changed: 21 additions & 21 deletions

File tree

Classes/HRColorPickerViewController.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ typedef enum {
6666
*/
6767
- (id)initWithColor:(UIColor*)defaultColor fullColor:(BOOL)fullColor saveStyle:(HCPCSaveStyle)saveStyle;
6868

69-
/** @deprecated use -save: instead of this . */
70-
- (void)saveColor:(id)sender;
69+
/**
70+
* @deprecated use -save: instead of this.
71+
*/
72+
- (void)saveColor:(id)sender __attribute__((deprecated));
7173

7274
- (void)save;
7375
- (void)save:(id)sender;

Classes/WPEditorField.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @brief Initializes the field with the specified HTML node id.
1919
*
2020
* @param nodeId The id of the html node this object will wrap. Cannot be nil.
21-
* @param webVieq The web view to use for all javascript calls. Cannot be nil.
21+
* @param webView The web view to use for all javascript calls. Cannot be nil.
2222
*
2323
* @returns The initialized object.
2424
*/
@@ -87,7 +87,7 @@
8787
/**
8888
* @brief Sets the placeholder color for this field.
8989
*
90-
* @param placeholderText The new placeholder color.
90+
* @param placeholderColor The new placeholder color.
9191
*/
9292
- (void)setPlaceholderColor:(UIColor *)placeholderColor;
9393

Classes/WPEditorView.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
* @brief Received when the user taps on a video in the editor.
125125
*
126126
* @param editorView The editor view.
127-
* @param videoId The id of image of the image that was tapped.
127+
* @param videoID The id of image of the image that was tapped.
128128
* @param url The url of the image that was tapped.
129129
*
130130
*/
@@ -156,7 +156,7 @@ stylesForCurrentSelection:(NSArray*)styles;
156156
* @brief Received when a video local url is replaced by the final remote url.
157157
*
158158
* @param editorView The editor view.
159-
* @param videoId The unique id of the video that had the local url replaced by remote url.
159+
* @param videoID The unique id of the video that had the local url replaced by remote url.
160160
*
161161
*/
162162
- (void)editorView:(WPEditorView*)editorView
@@ -166,7 +166,7 @@ stylesForCurrentSelection:(NSArray*)styles;
166166
* @brief Received when an image is pasted into the editor.
167167
*
168168
* @param editorView The editor view.
169-
* @param imageId The id of image of the image that was pasted.
169+
* @param image The image that was pasted.
170170
*
171171
*/
172172
- (void)editorView:(WPEditorView*)editorView

Classes/WPEditorView.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ - (void)handleVideoTappedCallback:(NSURL *)url
680680
/**
681681
* @brief Handles a video entered fullscreen callback
682682
*
683-
* @param url The url with all the callback information.
683+
* @param aURL The url with all the callback information.
684684
*/
685685
- (void)handleVideoFullScreenStartedCallback:(NSURL *)aURL
686686
{
@@ -717,7 +717,7 @@ - (UIView *)findFirstResponder:(UIView *)currentView
717717
/**
718718
* @brief Handles a video ended fullscreen callback.
719719
*
720-
* @param url The url with all the callback information.
720+
* @param aURL The url with all the callback information.
721721
*/
722722
- (void)handleVideoFullScreenEndedCallback:(NSURL *)aURL
723723
{

Classes/WPEditorViewController.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ WPEditorViewControllerMode;
3131
/**
3232
* @brief Received when the format bar enabled status has changed.
3333
* @param editorController The editor view.
34-
* @param enabled BOOL describing the new state of the format bar
34+
* @param isEnabled BOOL describing the new state of the format bar
3535
*/
3636
- (void)editorFormatBarStatusChanged:(WPEditorViewController *)editorController
3737
enabled:(BOOL)isEnabled;
@@ -41,7 +41,7 @@ WPEditorViewControllerMode;
4141
* @details The editor fields will be nil before this method is called. This is because editor
4242
* fields are created as part of the process of loading the HTML.
4343
*
44-
* @param editorView The editor view.
44+
* @param editorViewController The editor view controller.
4545
* @param field The new field.
4646
*/
4747
- (void)editorViewController:(WPEditorViewController*)editorViewController
@@ -50,7 +50,7 @@ WPEditorViewControllerMode;
5050
/**
5151
* @brief Received when the user taps on a image in the editor.
5252
*
53-
* @param editorView The editor view.
53+
* @param editorViewController The editor view controller.
5454
* @param imageId The id of image of the image that was tapped.
5555
* @param url The url of the image that was tapped.
5656
*
@@ -62,7 +62,7 @@ WPEditorViewControllerMode;
6262
/**
6363
* @brief Received when the user taps on a image in the editor.
6464
*
65-
* @param editorView The editor view.
65+
* @param editorViewController The editor view controller.
6666
* @param imageId The id of image of the image that was tapped.
6767
* @param url The url of the image that was tapped.
6868
* @param imageMeta The parsed meta data about the image.
@@ -75,7 +75,7 @@ WPEditorViewControllerMode;
7575
/**
7676
* @brief Received when the user taps on a image in the editor.
7777
*
78-
* @param editorView The editor view.
78+
* @param editorViewController The editor view controller.
7979
* @param videoID The id of the video that was tapped.
8080
* @param url The url of the video that was tapped.
8181
*
@@ -87,7 +87,7 @@ WPEditorViewControllerMode;
8787
/**
8888
* @brief Received when the local image url is replace by the final image in the editor.
8989
*
90-
* @param editorView The editor view.
90+
* @param editorViewController The editor view controller.
9191
* @param imageId The id of image of the image that was tapped.
9292
*/
9393
- (void)editorViewController:(WPEditorViewController*)editorViewController
@@ -96,7 +96,7 @@ WPEditorViewControllerMode;
9696
/**
9797
* @brief Received when the local video url is replace by the final video in the editor.
9898
*
99-
* @param editorView The editor view.
99+
* @param editorViewController The editor view controller.
100100
* @param videoID The id of video that was tapped.
101101
*/
102102
- (void)editorViewController:(WPEditorViewController*)editorViewController
@@ -106,7 +106,7 @@ WPEditorViewControllerMode;
106106
* @brief Received when an image is pasted into the editor.
107107
*
108108
* @param editorViewController The editor view controller.
109-
* @param imageId The id of image of the image that was pasted.
109+
* @param image The image that was pasted.
110110
*
111111
*/
112112
- (void)editorViewController:(WPEditorViewController*)editorViewController
@@ -115,7 +115,7 @@ WPEditorViewControllerMode;
115115
/**
116116
* @brief Received when the editor requests information about a videopress video.
117117
*
118-
* @param editorView The editor view.
118+
* @param editorViewController The editor view controller.
119119
* @param videoID The id of video that was tapped.
120120
*/
121121
- (void)editorViewController:(WPEditorViewController *)editorViewController
@@ -124,7 +124,7 @@ WPEditorViewControllerMode;
124124
/**
125125
* @brief Received when the editor removed an uploading media.
126126
*
127-
* @param editorView The editor view.
127+
* @param editorViewController The editor view controller.
128128
* @param mediaID The id of the media that was removed.
129129
*/
130130
- (void)editorViewController:(WPEditorViewController *)editorViewController

Classes/WPEditorViewController.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,8 +866,6 @@ - (void)updateImage:(NSString *)url alt:(NSString *)alt
866866

867867
/**
868868
* @brief Returns an URL from the general pasteboard.
869-
*
870-
* @param The URL or nil if no valid URL is found.
871869
*/
872870
- (NSURL*)urlFromPasteboard
873871
{

0 commit comments

Comments
 (0)