1

Topic: To receive the mouse pointer

All greetings, I not Objective a C the programmer, but here was necessary, prompt how to learn please what pointer of the mouse at the moment of performance, tried here so: NSCursor *sys_cursor = [NSCursor currentSystem]; At performance I receive: + [NSCursor currentSystem]: unrecognized selector sent to class 0x7fffe479f8a0 the First thought, is necessary initialization: NSCursor* cursor = [[NSCursor alloc] init]; NSCursor *sys_cursor = [cursor currentSystem]; and the same error. Prompt please who knows as correctly to receive the system cursor?

2

Re: To receive the mouse pointer

Hello, _agg, you wrote: _> and the same error. Prompt please who knows as correctly to receive the system cursor? Never knew. Opened the documentation. Saw that property currentSystem is not present, and is currentSystemCursor. To use, accordingly, NSCursor* systemCursor = [NSCursor currentSystemCursor];

3

Re: To receive the mouse pointer

Thanks big, earned all) Hello, Dair, you wrote: D> Never knew. D> opened the documentation. D> saw that property currentSystem is not present, and is currentSystemCursor. D> to Use, accordingly, D> D> NSCursor* systemCursor = [NSCursor currentSystemCursor]; D>