English 中文(简体)
特殊类数据
原标题:Class specific data
  • 时间:2010-09-08 13:29:58
  •  标签:
  • iphone
  • xcode

使用x条码 我希望实现一个公开共享的阶层,储存自己的数据。 因此,如果我身边一个班子,我可以把它从另一个班子上调来,保持下去。

例如,

我有一个多位观点控制器,用于一个“i”项目。 当器具开具时,如果该机手有某些信息,则该机会打上了缝.服务。 请打电话给它。 我需要储存一些有关博爱会的参与者的信息,如用户。 但我需要能够稍后从任何其他阶层获得。 我不想在文本档案中储存,记忆很好。

我需要研究什么?

最佳回答

你们需要使用单一州。 确实,你想要掌握你能够进入任何地方的一套数据。 Here是关于创建一种语言的重要指导。 它只是几条法典,可以储存任何东西。

问题回答

象你这样的声音需要一个单一州级。 见Wikipedia article





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签