I recently started to learn about iPhone development. Turing's basic objective-C tutorial is a good Getting Started Guide Book. Some minor problems are found during the learning process. Although it is not critical, it is helpful for developers who are new to Mac platforms.
Problem 1: the project cannot be created using Foundation tool. Due to problems with the xcode version, the new version integrates the command line utility into the command line tool under the application. After selection, select the bottom foundation project from the drop-down list, otherwise, the generated project cannot be found. M file. At that time, I was able to find it and put it at the bottom of the unremarkable drop-down bar.
Problem 2: The learn objc projects folder cannot be found. This book does not have an instance source code CD, and does not mean where to download it. The author said: This program can be found in the learn objc projects folder. Ah. It's hard to Google the source code files written by these two authors. You can find them in my downloads.
Question 3: how to find the/tmpdirectory and create a new words.txt file in the directory. Chapter 2 word-length instances have a headache for those who have never touched the MAC system. I just haven't found the/tmp directory for a long time...
Locate/tmp:
Desktop head-up menu -- Go -- go to the folder (I will not write the shortcut key when I am a black apple), enter/tmp, and find it. Check the description of this directory and find it under/private. What is this? Continue.
New words.txt file:
Applications-text editing-input content-storage, storage location drop-down, there are just a few save addresses, I can not find a directory to save? Google knows that you need to press/on the keyboard, and a prompt is displayed to save the path. Who said Apple is humanized? This is the best operation that people can find for half a day! The input file name words.txt must be saved. Why is the suffix invalid? Or multi-information text format. If you want to get the pure text file .txt, You need to input the content in the menu-format-make plain text-storage. If you encounter a Chinese problem, click "edit text"> "preference settings"> "open and store". Select "GB" for plain text file encoding.
To be continued...