12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

NimbusKitの導入

Last updated at Posted at 2012-12-17

新しいGoogle Mapsアプリでも導入されているNimbusKitをプロジェクト途中から導入したのでメモ。

導入は簡単。

cd <Project Directory>
git submodule add git://github.com/jverkoey/nimbus.git
cd nimbus
git submodule init
git submodule update

次に、ProjectをXcodeで開いて、NimbusKit中の必要なモジュールだけプロジェクトへ追加しましょう。
モジュールは以下。
ちなみに各モジュールに依存関係があるようなのでドキュメントを読むこと。

  • attributedlabel
  • badge
  • css
  • core
  • interapp
  • launcher
  • models
  • networkcontrollers
  • networkimage
  • overview
  • pagingscrollview
  • photos
  • webcontroller

あとは{Project名}-Prefix.pchを編集してそれぞれのモジュールのヘッダーを読み込むこと。

#ifdef __OBJC__
	#import <Foundation/Foundation.h>
	#import <UIKit/UIKit.h>
	#import <QuartzCore/QuartzCore.h>
            // 導入したモジュールに関して追加すること
	#import "NimbusCore.h"
	#import "NimbusWebController.h"
#endif

今後それぞれのモジュールについて色々見てみる。

参考:
http://wiki.nimbuskit.info/Add-Nimbus-to-your-project

12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?