Matter code to control a device?

I would like to explore developing apps to integrate with Matter, but it seems that there are limited code examples available.

To start with I would like to create a MacOs or iOS application to control a Matter device like a light bulb. I would as an example just like to know how to turn the light on or off.

Where should I start?

Matter code to control a device?
 
 
Q