Small Problems Encountered in Objective-C basic tutorial (add more)

Source: Internet
Author: User

 

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...

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.