An open API service indexing awesome lists of open source software.

https://github.com/noppefoxwolf/nfxbubblepoolview

バブルマップもどき
https://github.com/noppefoxwolf/nfxbubblepoolview

Last synced: about 1 year ago
JSON representation

バブルマップもどき

Awesome Lists containing this project

README

          

# NFXBubblePoolView
![image](https://raw.githubusercontent.com/noppefoxwolf/NFXBubblePoolView/master/sample.png)

## Usage

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

ViewControllerで以下をインポートします
`\#import `
`\#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 `
`#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.