iOS development--Useful articles & ways and tools to improve iOS development efficiency

Source: Internet
Author: User
Tags tinypng

Ways and tools to improve iOS development efficiency Introduction

This article focuses on some of the methods and tools that I used in iOS development to improve development efficiency.

Ide

The first thing to say is definitely the IDE, speaking of Ide,xcode can not run, of course, you may also be using Appcode and other Ides, here I mainly introduce the method of improving the development efficiency in Xcode.

1. Use shortcut keys

Shortcut keys are essential in the development, when you are good at using shortcut keys, ten fingers flying on the keyboard, the picture is too beautiful, I dare not imagine.

    • Frequently used shortcut key operation

2. Common Code Snippets

There are some common code in development that can be put into snippets, and then next time you can use the code in a quick way to show you some of the code snippets in my Xcode:

3.Xcode Plug-in

I think plug-ins are necessary for Xcode to put

    • The Xcode plugin that can't be missed

In addition, I often use the plug-ins are:

1. Quick Add #import

2. View project ' TODO ', ' fixme ', etc.

We strongly recommend this to everyone.

You might think, what if there is no plugin I want to use? Young, this time will be self-clothed, I think you can see this Xcode6 plug-in development of the introduction.

4. Notes

Comments do not have much to say, and the company now requires that the code must have comments.

has been using the Meow Onevcat Open source Vvdocumenter-xcode.

But then I thought this kind of comment would have a problem: a comment more than three lines

/** * Top Announcement BTN */@property (nonatomic, strong) UIButton *topannouncementbtn;

Interface in this way will be simple and clear, but the properties of the words, always feel. h file a lot of things (actually not a few properties ah?????? )

Later, this was changed:

/** Top Announcement BTN */@property (nonatomic, strong) UIButton *topannouncementbtn;

or more than one line, and then replaced it with this:

@property (nonatomic, strong) UIButton *topannouncementbtn; Top announcement BTN

But this way, when you use this property, there will be no comment prompt. No, no, I met the property of the unknown, and then jumped to the. h file to take a look. ("yuck, how can you compromise so easily!!!" "I should have been secretly scolding myself in my heart."

Then one day on the microblog to see the small footprints of the blog I was how to clean up the code in the introduction she is such annotation properties:

UIButton *btnsend;/**< Send button */

Try it out, very convenient. We have been using this method to make attribute comments and share them here.

Thank you for sharing the small footprints of Fang Zi.

Network data correlation

1. Debug interface

Boy, are you still writing the method debug interface? If it is, then you must have the following 2 of them ha:

DHC Online Debugging interface, support HTTP and https yo.

Postman a powerful web debugging with the Chrome plugin that sends Web HTTP requests. (Thank ye isolated City ___ to remind)

2.JSON Data Editing

Nonsense not much to say, direct:

    • JSON Editor Online

JSON Format tool (thanks to iOS program Dogs Yuan)

UI-related

1. Distance

No way! That's 20px!. Poor 1px,2px,5px,10px, not 20px!

When you meet a designer with a pixel eye, you always have a feeling of crying. But they may sometimes forget to Mark X, Y, or wide, and here is a picture of our UI:

The light of the soul, said the X, y?

And then I did it the first thing I did.

But there will always be spicy, a little error, and the cost of the eye ... Then I accidentally listen to a product friend said they are using mark eel plotting, it has free and charge 2 versions, the free version can use basic features, feel good.

Today meow onevcat A measuring tool on Weibo: Pixel Winch, tried it better than the mark Eel.

2. Image compression

Our UI is not too much attention to the size of the picture, and one time to give the picture has more than 4M, so I have to compress it again

Tinypng, quality compression, I feel good, recommend to us UI and backstage, they used to say well

Tinypng Batch compression picture script supporting the use of better. (thank Newbee_nan for providing)

3.AppIcon

AppIcon only need UI to provide a picture of 1024*1024, the specific icon can be generated with Prepo

Two offices

Suppose such a situation: The company uses SVN, the company a company computer, home a computer, sometimes may want to come back and then hit the code, how to do?

Let's assume this is the case: the company is using SVN, the product wants to achieve an effect, but you are not sure whether you can write it, so you may struggle to change in the company project, how to do?

If you have both of these annoyances, then GitHub and BitBucket are your first choice, and here's a comparative article: GitHub vs. BitBucket is not just functional.

Github

GitHub good open source project too many, one star, too slow, how to break?

Language:objective-c stars:>900

This is actually GitHub's advanced search feature:

Little friends Remember, star does not mean that you have mastered, only after really deep understanding of their own.

iOS development--Useful articles & ways and tools to improve iOS development efficiency

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.