Re: What types to return in accessibilityAttributeValue?
Re: What types to return in accessibilityAttributeValue?
- Subject: Re: What types to return in accessibilityAttributeValue?
- From: Christiaan Hofman <email@hidden>
- Date: Sat, 17 Mar 2012 23:14:06 +0100
On Mar 17, 2012, at 21:26, Felipe Monteiro de Carvalho wrote:
> Thanks, this helped me get going =)
>
> One more issue in this routine:
>
> function TCocoaAccessibleObject.accessibilityAttributeValue(attribute:
> NSString): id;
>
> To check what attribute is passed should I simply use = and suppose
> everyone will use the standard constants? Like this:
>
> if attribute = NSAccessibilityRoleAttribute then
>
> Or should I make a full text comparison to check the string values? Like this:
>
> if attribute.caseInsensitiveCompare(NSAccessibilityRoleAttribute) =
> NSOrderedSame then
>
> thanks,
> --
> Felipe Monteiro de Carvalho
isEqualToString:
Christiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden