Skip to content

carabina/NFXBubblePoolView

 
 

Repository files navigation

NFXBubblePoolView

image

Usage

NFXBubblePoolViewはSpriteKitを使うのでSpriteKit.frameworkを追加してください。 ただし、NFXBubblePoolViewはSpriteKitの知識を必要としません。

ViewControllerで以下をインポートします \#import <SpriteKit/SpriteKit.h> \#import "NFXBubbleModel.h" \#import "NFXBubblePoolView.h"

NFXBubblePoolView は initWithFrame か initWithaDecoder(storyboard)で初期化します。 addModel:(NFXBubbleModel*)modelを呼ぶことでノードを追加します。

NFXBubbleModelはタイトルと色とデータのシンプルなモデルです。 データはint数値型です。

NFXBubblePoolView use SpriteKit. So SpriteKit.framework add your project.(but, NFXBubblePoolView dosn't need your spriteKit skill.)

add SpriteKit.framework

add NFXBubblePoolView folder.

On your ViewController,import this.

#import <SpriteKit/SpriteKit.h> #import "NFXBubbleModel.h" #import "NFXBubblePoolView.h"

NFXBubblePoolView can initialize for initWithFrame or initWithaDecoder(storyboard).

You just call addModel:(NFXBubbleModel*)model and add one Node.

NFXBubbleModel is simple. This need title,color and data. data is int value.

About

バブルマップもどき

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%