开发者

Data access class in iPhone/iPad

N开发者_如何学运维ow I have a few classes that work with database. I wonder would it be better to have one (Data Access Layer, singleton) class that contain CRUD methods, database connection logic etc?


yes, you could use a singleton for that but why not use core data instead?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜