In the presence of your wireless LAN, you have connected to your Pi from your MAC and can do remote desktop sharing. Great!
Now you want to do the same when your wireless LAN is not present, but still over wifi?
In this case I assume it is a one-one direct link with no other internet access required by either the Pi or the Mac.
So you basically need to create your own wireless LAN.
You can do it like in the article your posted, where the MAC becomes the Access Point (HotSpot) and the Pi connects to the wireless LAN created by the Mac.
Or you can turn your RPi into an Access Point (HotSpot) and get your MAC to connect to the wireless Lan created by the Pi. (Your wifi dongle needs to support AP mode)
(3rd option is to create an Ad-Hoc network as posted above, but I have no experience with that either)
In either case, switching between the 2 configurations when you either have or haven't got a separate wireless router network to provide the Wireless LAN can be a pain.
So another neat solution is to have your Pi boot up as a client and try to connect to your Wireless Router. If that fails (e.g. when your router is missing), then it creates its own Access Point hotspot automatically. Then your Mac just has to connect to this wireless network. One such tutorial can be found here ->
http://simplesi.net/class-hotspot/
gmassolo wrote: I want to access to RPi with my PC via WI-FI (or other?)
For 'other' - you could just use an ethernet network cable between the Pi and the Mac. Just set both IPs to be on the same network and you're all set.