DDJ-RB software compatibility

Thinking of purchasing a Pioneer DDJ-RB to use with a Macbook Air and the DJ software djay pro 2.

Haven’t seen anything around saying that they are compatible and don’t really want to be spending money on programmes or controllers that I cant actually use.

Any help is appreciated, Thanks!