Because of the engineering practice project, we have to learn iOS development, today only know Apple 09 years of development tools and development kit, that is, uttered, now has more than 5 years of experience in iOS development. In our country 2010 years only then fire up, because at that time domestic iphone4 fire. iOS is a mobile operating system (Iphone Operating System) developed by Apple, so I started my iOS development journey with a dedicated MacBook PRO.
Mac is Apple's operating system designed for Apple computers, Unix-based, easy-to-use and powerful (a software that crashes, does not affect other software or the system itself as Windows does).
X is a Roman numeral and is formally pronounced "ten", continuing the previous number of Mac OS 8 and Mac OS 9, under which the Apple-provided development tool Xcode can be used to develop MAC OS X and iOS applications. OS X is named after a large cat animal
- 10.0 Cheetah (Cheetah)
- 10.1 Cougar (Puma)
- 10.2 Jaguar (Jaguar)
- 10.3 Panther (Panther)
- 10.4 Tigers (Tiger)
- 10.5 Leopard (Leopard)
- 10.6 Snow Leopard (snow Leopard)
- 10.7 Lions (Lion)
- 10.8 Cougar (Mountain Lion)
Mine is 10.9.5.
Mac system is a UNIX file system, all files are placed in the root directory/below, so there is no concept of the Windows sub-disk, the file path will no longer have a drive letter
windows in C:/users/mj/desktop
Mac in/users/mj/desktop
Common folders
- User's personal folder (Apple is user name):/users/apple
- Desktop:/users/apple/desktop
- Manuscript:/users/apple/documents
- Download:/users/apple/downloads
- Application:/users/apple/applications
Common UNIX directives
Because the Mac system is UNIX-based, you can enter some UNIX instructions in the terminal to manipulate the Mac system. For example: New file \ folder, open file \ Folder
Common UNIX directives: (need to be used frequently to not forget easily)
- ls–l Lists all contents (Files \ Folders) in the current directory
- pwd displays the name of the current directory
- cd change the current operation's directory
- who display the current user name
- clear Clear Screen
- mkdir Create a new directory
- touch Create a new file (only new if the file does not exist)
- open open a file \ folder
Click the TAB key to automatically complement the instruction name, file name, folder name, etc.
In the process of using UNIX instructions, directory (path) operations are often involved, and several paths with special meanings are listed below:
- /root Path
- ./Current Path
- .. /upper-level path
iOS Development Preliminary