https://github.com/noppefoxwolf/nfxbubblepoolview
バブルマップもどき
https://github.com/noppefoxwolf/nfxbubblepoolview
Last synced: about 1 year ago
JSON representation
バブルマップもどき
- Host: GitHub
- URL: https://github.com/noppefoxwolf/nfxbubblepoolview
- Owner: noppefoxwolf
- Created: 2015-05-07T17:23:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-08T16:21:06.000Z (about 11 years ago)
- Last Synced: 2024-05-02T05:46:07.742Z (about 2 years ago)
- Language: Objective-C
- Homepage:
- Size: 207 KB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NFXBubblePoolView

## 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.