Skip to content

A NSView category for determine mouse entered or exited in macOS Apps.

Notifications You must be signed in to change notification settings

usattc/NSViewMouseHandle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

English:

A NSView category for determine mouse entered or exited in macOS Apps.

NSView and subclass of NSView can use it.

It's easy to use.

Sample Code:

[button setMouseExited:^
       // Your code...
 }];

 [button setMouseEntered:^{
       // Your code...
 }];

中文:

这是一个macOS Apps用于检测鼠标进出事件的NSView category。

NSView 和 NSView的子类都可以使用。

使用起来非常简单。

代码示例:

[button setMouseExited:^
       // Your code...
 }];

 [button setMouseEntered:^{
       // Your code...
 }];

About

A NSView category for determine mouse entered or exited in macOS Apps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published