Re: dynamic glyph/character advancement
Re: dynamic glyph/character advancement
- Subject: Re: dynamic glyph/character advancement
- From: Dominik Wagner <email@hidden>
- Date: Mon, 10 Apr 2006 21:31:03 +0200
Aki,
twofold: how do i check if my superclass responds to a selector?
second: I already ignored the fact that I can't call the superclass
and added some advancement via a the boundingsBox... method. Which
got called but didn't display any change. For more detail look into
my previous posting.
thanks,
dominik
On 10.04.2006, at 19:58, Aki Inoue wrote:
Dominik,
if ([super respondsToSelector:@selector
(boundingBoxForControlGlyphAtIndex:forTextContainer:proposedLineFragm
ent: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
--
Dominik Wagner Mail: email@hidden
TheCodingMonkeys http://www.codingmonkeys.de/
Blog - DasGenie: !Scrap http://scrap.dasgenie.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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