GithubHelp home page GithubHelp logo

koy-ren / chinese-lunar-calendar-for-mac Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zfdang/chinese-lunar-calendar-for-mac

0.0 0.0 0.0 17.93 MB

Chinese Lunar Calendar for Mac

Home Page: http://calendar.zfdang.com

Objective-C 95.08% C 0.04% JavaScript 3.28% Rich Text Format 1.60%

chinese-lunar-calendar-for-mac's Introduction

1.MAC下的状态栏万年历

功能说明、界面、使用方法见:

2.Code Explanation

This is a menubar app which shows a simple chinese lunar calendar for OSX.

There are two different implementations for this app:

2.1. WanNianLi

this project is using the official NSStatusItem to implement the menubar app. Its posittion in the icon bar can't be moved.

2.2. CLCLauncher + CLCMenuExtra

these two projects are using the un-official NSMenuExtra (hacking way) to implement the menubar app. The calendar icon works in the same way with system's icon. You can use CMD+Drag to move it or remove it.

CLCLauncher: this project is a agent application, which launch "MenuCracker.menu" & "CLCMenuExtra.menu"

It dependens on MenuCracker.menu and CLCMenuExtra.menu (these two bundles will be packed into CLCLauncher.app as resources)

CLCMenuExtra: this project finishs the actual functionality. this bundle is using un-official NSMenuExtra API.

3.Referrences

http://duhanebel.wordpress.com/2010/04/02/nsmenuextra-how-to-work-with-undocumented-apis/

https://github.com/aschuch/AXStatusItemPopup

http://sourceforge.net/projects/menucracker/

chinese-lunar-calendar-for-mac's People

Contributors

internalerror avatar zfdang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.