We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Refactor CCUserDefault
Refactor CCUserDefault
Refactor #933 [Closed]
- Status changed from New to Resolved
- Assignee set to zhangxm
- % Done changed from 0 to 100
- Project changed from cocos2d-x to cpp
- Category deleted (
5) - Target version deleted (
cocos2d-1.0.1-x-0.12.0)
Status: | Closed | |
---|---|---|
Start date: | 2011-12-29 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | - | |
Target version: | - |
Don’t need to read file and save file every time.
Just read at the beginning, and write to memory.
Save file at the end, and offer a function to flush content.