iPhone Change __MyCompanyName__
2011-01-25 23:47:28

There's actually an option in Xcode to do this. In v. 3.2.3:

Project menu -> Edit Project Settings -> General tab -> Organization Name

(Found it by chance when following someone else's tip on importing a project done with an old SDK.)

In Xcode 4 (Developer Preview 5), in the navigation pane (far left side), select the project (top item).

Expand the Utilities pane (at window top-right, far right button in the 3-button "View" group).

In the "Project Document" section is the "Organization" text field (File Inspection view, second section from top).

▼ more
nil vs null
2011-01-25 16:12:35

"nil" should only be used in place of an "id", what we Java and C++ programmers would think of as a pointer to an object. Use NULL for non-object pointers.

Look at the declaration of that method:

-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object

change:(NSDictionary *)change context:(void *)context

context is a "void *" (ie a C-style pointer), so you'd definitely use NULL (which is sometimes declared as "(void *)0") rather than nil (which is of type "id").

▼ more
work list
2011-01-24 18:32:03

채권 추심 명령건 해결.

[BiKE]

1. iPhone Twitter

2. Semantic Relation Study

3. Paper.........

[SSM]

1. SNA Seminar

2. C / Algorithm test

3. Keep high attendance score.

▼ more
2학기 수강신청 준비(3)
2011-01-24 18:26:35

의학과 과목을 수강해야 하는지 확실히 문의 후 처리~!

▼ more