Skip to content

Commit

Permalink
Fixed documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
odrobnik committed Jan 6, 2014
1 parent 2b41571 commit 6eb257e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions Core/Source/DTCoreTextFontDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

/**
Convenience method for creates a font descriptor from a Core Text font
@param ctFont The Core Text font
@returns An initialized font descriptor
*/
+ (DTCoreTextFontDescriptor *)fontDescriptorForCTFont:(CTFontRef)ctFont;
Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTCoreTextGlyphRun.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@param run The Core Text glyph run to wrap
@param layoutLine The layout line that this glyph run belongs to
@param offset The offset from the left line origin to place the glyph run at
@retuns An initialized DTCoreTextGlyphRun
@returns An initialized DTCoreTextGlyphRun
*/
- (id)initWithRun:(CTRunRef)run layoutLine:(DTCoreTextLayoutLine *)layoutLine offset:(CGFloat)offset;

Expand Down
1 change: 0 additions & 1 deletion Core/Source/DTCoreTextLayoutFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ typedef NS_ENUM(NSUInteger, DTCoreTextLayoutFrameDrawingOptions)
@param context A graphics context to draw into
@param drawImages Whether images should be drawn together with the text. If you specify `NO` then space is left blank where images would go and you have to add your own views to display these images.
@param drawLinks Whether hyperlinks should be drawn together with the text. If you specify `NO` then space is left blank where links would go and you have to add your own views to display these images.
@param drawImages Whether hyperlinks should be drawn together with the text. If you specify `NO` then space is left blank where links would go and you have to add your own views to display these links.
*/
- (void)drawInContext:(CGContextRef)context drawImages:(BOOL)drawImages drawLinks:(BOOL)drawLinks __attribute__((deprecated("use -[DTCoreTextLayoutFrame drawInContext:options:] instead")));

Expand Down
2 changes: 1 addition & 1 deletion Core/Source/DTTextAttachment.m
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ + (Class)registeredClassForTagName:(NSString *)tagName

#pragma mark Properties
/** Mutator for originalSize. Sets displaySize to the same value as originalSize.
@param The CGSize to store in originalSize. */
@param originalSize The CGSize to store in originalSize. */
- (void)setOriginalSize:(CGSize)originalSize
{
if (!CGSizeEqualToSize(originalSize, _originalSize))
Expand Down
2 changes: 1 addition & 1 deletion Externals/DTFoundation

0 comments on commit 6eb257e

Please sign in to comment.