Where did Class Prefix go?

Source: Internet
Author: User

Stanford's developing IOS 7 Apps for IPhone and IPad course, the teacher uses Xcode 5, and now Xcode is out of 6. When you follow the course, the first difference is that class Prefix is not visible when you create a new project.

A part of my brain cells immediately Wohuo: this is not to cause me trouble?

Another part of the brain cells began to ask: Why did Apple remove this option?

In turn ask: Why did you have this option before?

The answer might be to prevent naming conflicts. Specifically, it is the prevention of naming conflicts between public code such as the framework. And for specific, different APP proprietary code, it's not very common to name it in a context-based way-unless your code is too well written to be reused in other projects.

So Apple engineers think: Anyway, most of you do not write the framework, it is not likely to need Class Prefix, I simply do not give you this option good ... Of course, if you must, go to Project Document configuration to add Bai ...

I personally still like Class Prefix, because:

1. Use it to hardly add any cost,

2. Not using it may pose a security risk,

3. It is able to encode some information in a direct way for future backtracking,

4. It makes my code look more like "My Code"-I write a Hitbean class (hit the Peas), and write a Yoyohitbean class (excellent beat Beans), which one do you think is more interesting?

Where did Class Prefix go?

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.