MAC toolbar development, a very common function, but Chinese resources unusual rare, or xiB form, spent a day to view a large number of foreign relevant information blog finally pure code implementation.

Github