Creating Growl Notification App in Xcode4

2011.11.04 15:32
Let's figure out how to incorporate Growl framework in your application. 



1. Download the latest version of Growl SDK (1.3) from #3 web site and unpack the SDK somewhere. 

2. Create a new project in Xcode (ex. GrowlApp) and drag the Growl.framework folder to the Frameworks folder in Project Navigator. Make sure to set "Copy items into destination group's folder (if needed)"





3. We need to add new build phase (Add Copy Files



4. Edit your source code



Here is the source code, GrowlApp.zip


References
1. How to Make a Growl App, http://quiteuseful.co.uk/post/99434588/how-to-make-a-growl-app
2.Xcode 4.1 Tutorial - Growl Notificaions in Mac OS Lion, http://www.youtube.com/watch?v=EZRPBcP4xow
3. Growl SDK, http://growl.info/
4. 
 
저작자 표시
신고

'programming > cocoa' 카테고리의 다른 글

Creating Growl Notification App in Xcode4  (0) 2011.11.04

Frank kenshin579 programming/cocoa Growl App, Growl Notification, mac

iSad - Sad Day

2011.10.06 16:51


저작자 표시
신고

'mac' 카테고리의 다른 글

iSad - Sad Day  (0) 2011.10.06

Frank kenshin579 mac Apple, iPad, iPhone, iSad, mac, Sad day, steve jobs

How to synchronize Galaxy Tab 10.1 with Mac (Lion)

2011.09.24 22:57

1. Download Kies for Mac (1.0.0.11055_7 : older version) from torrent site. 

2. And perform the software update of the Kies 




After the update, the Kies should restart itself (if not manually restart it). 


3. Connect Kies to your Mac with a USB cable. If everything goes well, your galaxy tab model should shown up on the left side. 



After adding some files such as movies or songs, click on synchronize button. 
 



On the tablet screen, the following screen should shown up during the synchronization. 




References
1.KIES for Mac, 이제 맥에서도 갤럭시탭 10.1을 연결해보자, http://smartdevice.kr/88
2.갤럭시탭 10.1 kies 연결이 되지 않는다면, http://olpost.com/v/2825710?rtp=1&rtn=1
3. How to synchronize Galaxy Tab 10.1 with PC via WiFi, http://dnewandroidapps.com/how-to-synchronize-galaxy-tab-10-1-with-pc-via-wifi.html/
4.Using Kies to sync media to Galaxy Tab, http://howto.cnet.com/8301-11310_39-20092143-285/using-kies-to-sync-media-to-galaxy-tab/
5. 
6. 
저작자 표시
신고

Frank kenshin579 mac/mac os x Kies installation, lion, mac, synchronize Galaxy Tab, 갤럭시탭 10.1

Adjust Backup Time for Time Machine on Mac

2011.09.11 19:38
By default, Time Machine runs backup every hour, but we change the time interval by typing the following command from the terminal. 

># sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 10800

 
저작자 표시
신고

Frank kenshin579 mac/mac os x change time interval, mac, Time Machine

Mac OS X shortcut

2011.06.27 07:53

Mac OS X
Forward delete: fn + delete
Screen zoom: Control + 2-finger drag up + down
Inverse screen: Control + Option + Command + 8
See property of multiple files: 2-finger click, click option
Set the screen to standby: Shift + Ctrl + Eject
Invert screen colors: Control + Alt + Command + 8
Open Some System Preferences (Sound, Monitor): Alt + Vol, Alt + Screen?
Adjust Volume Level more accurately: Alt + Shift + Volume Shortcut
Remove Icon from the System Bar: Command + Shift + drag out the icon using the mouse
Turn off the Monitor: Ctrl + Shift + Eject
Pause all notifications quickly: Alt + Click on the notification icon at the right upper corner. 


Empty trash: Command + Shift + Del
Quick preview: selected file, Space
Quick preview (full view): selected file, Option + space
Hide/Show dock: Option + Command + D
Minimize current windows : Cmd + M
Hide current windows : Cmd + H
Hide all other windows : Opt + Cmd + H

Close finder windows: Command + W
Close all finder windows: Option + Command + W

Spotlight search: Control + space
Reboot : Control + Cmd + Eject
Sleep : Option + Cmd + Eject
Shutdown : Control + Option + Cmd + Eject

Screen capture
Capture entire screen : Shift + Cmd + 3
Capture selected region : Shift + Cmd + 4
Capture screen window : Shift + Cmd + 4 + space

Language
Switch language input: Command + space (If you hold on with command, it shows the change display)
Chinese input: Option + Return

Multi-touch gestures
Common
2-Finger Click: Right-Click (Ctrl-Click)
2-Finger Drag Up/Down/Left/Right: Scroll Up/Down/Left/Right
Zoom in: Hold Control & 2-Finger Drag Up
Zoom out: Hold Control & 2-Finger Drag Down

Go Back/Forward: 3-Finger Swipe Left/Right
4-Finger Swipe Up: Hide Windows and Show Desktop
4-Finger Swipe Down: Show all Windows

Applications
Chrome
Browse Tabs (Left/Right): Option + Command + <- / ->

MSOffice
Zoom In/Out : Control + Opt + Mouse Scroll

Terminal
Browse Tabs (Left/Right): Shift + Command + <- / ->

Text Editor
Increase/Decrease Font Size: Command + + or -


References
1. Mac Trick, http://www.usingmac.com/2007/11/21/mac-os-x-leopard-200-productivity-booster-hotkeys 
2. Mac Shortcut, http://macfidelity.de/os-x-shortcuts/ 
3. Table of keyboard shortcut, http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
4. Mac useful shortcut, http://www.mactricksandtips.com/2008/10/mac-101-56-useful-mac-shortcuts.html
5. Mac OS X Keyboard, http://support.apple.com/kb/ht1343
6. Multi-Touch Gestures, http://www.danrodney.com/mac/multitouch.html
7.  


저작자 표시
신고

'mac > mac os x' 카테고리의 다른 글

메모리 확보하는 방법 on Mac  (0) 2011.09.07
Make ISO image with a folder on Mac  (0) 2011.08.14
Objective-C 정리  (0) 2011.08.13
Xcode shortcut  (0) 2011.08.13
Blotter - Putting Calendar on the Desktop for Mac OS X  (1) 2011.08.13
Mac OS X shortcut  (0) 2011.06.27

Frank kenshin579 mac/mac os x mac, mac os, shortcut

Latex on Mac (한글로 쓰기는 방법도 포함)

2011.06.25 21:57
OS: Mac lion version

1. Download and install MacTex 2011 from #3


># unzip texmf.zip
># sudo mv texmf ~/Library/texmf

Install kotex using tlmgr
># sudo tlmgr --repository=http://ftp.ktug.or.kr/KTUG/texlive/2011 install collection-kotex
># sudo tlmgr update --all

Need to include Mac Fonts
># vim /usr/local/texlive/2011/texmf.cnf
OSFONTDIR = {~/Library/Fonts;/Library/Fonts;/System/Library/Fonts}
># sudo texhash
># sudo udpmap-sys --enable Map=kotex-base.map
># sudo udpmap-sys --enable Map=kotex-extra.map

2. latex template examples
 - English version (USENIX): require usenix.sty which is in the above file, texmf.*.egg 


># pdflatex camready.tex
># open camready.pdf



- Korean version (SNU thesis)



Cyberbit font is needed for SNU thesis template.
># sudo updmap --enable Map=cyberbit.map
># sudo chown -R ykoh ~/Library/texlive

># pdflatex thesis_template.tex
># open thesis_template.pdf



References
1. TeX on Mac OS, http://mactex-wiki.tug.org/wiki/index.php/Main_Page
2. Installing LaTeX on Mac, http://guides.macrumors.com/Installing_LaTeX_on_a_Mac
3. MacTeX, http://www.tug.org/mactex/
4. Tex on Mac OS X, http://ii2.sourceforge.net/tex-index.html
5.  Latex에 unicode와 cjk 패키지 적용하기, http://nineye.com/blog/archives/1340
6.  Mac에서 latex 쓰기, http://blog.windage.co.kr/103
저작자 표시
신고

'linux > latex' 카테고리의 다른 글

Latex on Linux (Including writing in Korean)  (0) 2011.10.04
Latex on Mac (한글로 쓰기는 방법도 포함)  (0) 2011.06.25
VIM Latex-Suite Reference Card  (0) 2011.05.31
Latex in VIM  (0) 2011.02.06
Latex 한글로 쓰기 (Windows 7)  (0) 2010.12.28
How to convert PNG to EPS for LaTex Graphic  (0) 2010.10.17

Frank kenshin579 linux/latex latex, mac, SNU latex 논문, SNU thesis latex template, SNU 석사논문 latex, 서울대 학위논문 포멧, 한글로 쓰기