2012-09-13

Setup Apache and PHP on OSX 10.8 Mountain Lion

如何在Mountain Lion 上面跑PHP呢?

找到了下面的參考,Mountain Lion 裡面有內建的東西呢~~真貼心~

Install and configure Apache, MySQL, PHP and phpMyAdmin on OSX 10.8 Mountain Lion
http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion

Funding platform for creative projects

Kickstarter


Kickstarter is a funding platform for creative projects. Everything from films, games, and music to art, design, and technology. Kickstarter is full of ambitious, innovative, and imaginative projects that are brought to life through the direct support of others.
Since our launch on April 28, 2009, over $350 million has been pledged by more than 2.5 million people, funding more than 30,000 creative projects. If you like stats, there's lots more here.

flyingV是一個協助群眾發起或支持創意專案的平台。如果你有一個想完成的計畫(例如:電影、音樂、表演、活動、設計......等),你可以在flyingV上刊登你的計畫向大家推廣,並邀集喜歡你的計劃的人用資金支持你,助你完成夢想。如果你支持創意、喜歡創作、想認識各式各樣的新生代創作人,在flyingV上,你可以瀏覽到豐富的計畫,也可以成為提案者最有力的夥伴,一起見證這些計畫從腦海裡奔向現實、踏進你世界的過程。 


Reference
http://lifehacker.com/5882940/the-best-sites-to-raise-money-and-get-your-ideas-off-the-ground
http://www.similarsitesearch.com/alternatives-to/kickstarter.com

jQuery Chart Library

jQuery Chart Library

http://xaviershay.github.com/tufte-graph/

http://www.jqplot.com/tests/pie-donut-charts.php


Reference

25 Awesome Open Source jQuery | JavaScript Charting Library for Web Developer
http://www.fromdev.com/2012/05/15-awesome-open-source-javascript.html

Use iOS5's UIAppearance protocol to custom UINavigationBar background

iOS5的 UIAppearance protocal能幹嘛呢?



這邊有篇中文的參考
http://furnacedigital.blogspot.tw/2011/11/appearance.html

這邊還有一篇英文的參考,有這些Class的示範喔


  • UIActivityIndicatorView
  • UIBarButtonItem
  • UIBarItem
  • UINavigationBar
  • UIPopoverController
  • UIProgressView
  • UISearchBar
  • UISegmentedControl
  • UISlider
  • UISwitch
  • UITabBar
  • UITabBarItem
  • UIToolbar
  • UIView
  • UIViewController

  • http://www.ioslearner.com/uiappearance-proxy-protocol-tutorial/



    想要整個 App 都套同一種客製的UI,就加在 AppDelegate 裡面就行囉!

    - (void)customUI
    {
        // Set the background image for *all* UINavigationBars
        UIImage *navBG = [[UIImage imageNamed:@"navbar-iphone.png"]
                          resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
        [[UINavigationBar appearance] setBackgroundImage:navBG
                                           forBarMetrics:UIBarMetricsDefault];

        // Customize navigation bar back button
        UIImage *navBackButtonBG = [[UIImage imageNamed:@"nav-back-button.png"]
                                    resizableImageWithCapInsets:UIEdgeInsetsMake(5, 16, 5, 7)];
        [[UIBarButtonItem appearance] setBackButtonBackgroundImage:navBackButtonBG
                                                          forState:UIControlStateNormal
                                                        barMetrics:UIBarMetricsDefault];
        
        // Customize navigation bar buttons
        UIImage *navButtonBG = [[UIImage imageNamed:@"nav-button.png"]
                                resizableImageWithCapInsets:UIEdgeInsetsMake(0, 5, 0, 5)];
        
        [[UIBarButtonItem appearance] setBackgroundImage:navButtonBG forState:UIControlStateNormal
                                              barMetrics:UIBarMetricsDefault];
    }

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        // Override point for customization after application launch.
        
        [self customUI];
        
        return YES;
    }




    2012-09-11

    iOS multi language

    iOS multi language

    某日,寫著iOS的App熊熊想到一個問題:iOS 5 的Storyboard要怎麼處理多國語言的問題呢?

    只好請示了一下谷歌大神:

    使用KeyWords:ios storyboard multi language

    Introduction to internationalization using storyboards on iOS 5
    http://www.albertmata.net/articles/introduction-to-internationalization-using-storyboards-on-ios-5.html


    也有影片ㄟ不過不是我要找的東西,不過也留起來
    Xcode: Organizing Apps with Multiple Storyboards
    http://www.youtube.com/watch?v=D4_twoYvB4M


    繼續往下看了看搜尋結果,找到一個介紹影片,Yeah!
    Automatic localization in iOS storyboards
    http://www.youtube.com/watch?v=cF1Rf02QvZQ

    Open Source 2D Game Engine for iOS


    The Sparrow Framework

    The Open Source Game Engine for iOS

    http://gamua.com/sparrow/


    cocos2d for iPhone

    cocos2d for iPhone is licensed under the MIT license.

    http://www.cocos2d-iphone.org/



    Particle Effects editor 

    (爆破效果編輯器)
    http://particledesigner.71squared.com/

    2012-09-05

    Android Drag and Drop

    Android Image Drag and Drop and Pinch to Zoom


    找到一個寫的不錯的lib 在 google code 上面
    專案名稱:android-multitouch-controller
    http://code.google.com/p/android-multitouch-controller/




    其他參考資料

    http://codingjunkie.net/android-drag-and-drop-part1/
    http://codingjunkie.net/android-drag-and-drop-part-2/
    http://codingjunkie.net/android-drag-and-drop-part-3/

    http://www.wglxy.com/android-tutorials/moving-views--part-2-drag-drop

    http://blahti.wordpress.com/2010/12/20/moving-views-in-android-part-1/
    http://blahti.wordpress.com/2011/01/17/moving-views-part-2/
    http://blahti.wordpress.com/2011/02/10/moving-views-part-3/

    Some Sample
    MTPhotoSortrDemo