Instance Method

viewWithTag:

Returns the view’s nearest descendant (including itself) with a specific tag, or nil if no subview has that tag.

Declaration

- (__kindof NSView *)viewWithTag:(NSInteger)tag;

Parameters

aTag

An integer identifier associated with a view object.

See Also

Searching by Tag

tag

The view’s tag, which is an integer that you use to identify the view within your app.