MonobjcMonobjc Documented Class Library
TouchesMatchingPhaseInView Method (phase, view)
NamespacesMonobjc.AppKitNSEventTouchesMatchingPhaseInView(NSTouchPhase, NSView)

Returns all the NSTouch objects associated with a specific phase.

Original signature is '- (NSSet *)touchesMatchingPhase:(NSTouchPhase)phase inView:(NSView *)view'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSSet TouchesMatchingPhaseInView(
	NSTouchPhase phase,
	NSView view
)
Public Overridable Function TouchesMatchingPhaseInView ( _
	phase As NSTouchPhase, _
	view As NSView _
) As NSSet
public:
virtual NSSet^ TouchesMatchingPhaseInView(
	NSTouchPhase phase, 
	NSView^ view
)
Parameters
phase (NSTouchPhase)
The touch phase for which you want touches. See “Touch Phases” for the possible values.
view (NSView)
The view for which touches are wanted. Touches that target this view, or any of the view’s descendants will be returned. Passing nil as the view gets all touches regardless of their targeted view.
Return Value
A set of applicable NSTouch objects.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)