Re: dynamic glyph/character advancement
Re: dynamic glyph/character advancement
- Subject: Re: dynamic glyph/character advancement
- From: Aki Inoue <email@hidden>
- Date: Mon, 10 Apr 2006 10:58:02 -0700
Dominik,
if ([super respondsToSelector:@selector
(boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragme
nt:glyphPosition:characterIndex:)]) {
This does not check if the superclass responds to -
boundingBoxForControlGlyphAtIndex:... method. You're invoking the
super implementation of respondsToSelector: and it's checking the
receiver's implementation availability.
You doesn't need to check the super implementation, you can return
zero rect if the character is not what you're interested.
Aki
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden