The convenience of code blocks

I don’t know how other iOS development is, I especially hate developing business code, especially those never finish the UI code often knock repeated code inexplicable irritability…. 😒 😒 😒

But not happy, you still have to knock. Endless cycle… No, there’s a lot of Code that you don’t have to repeat. For example, free your hands with today’s hero: Code Snippets

Is not through a few simple instructions very simple ah! If there is no setup of the beautiful boy beautiful girl, set it up! After all, sharpening knives is better than cutting wood…

Set code block

  • The easiest way to do this is to copy my code block file and update your file

~ / Library/Developer/Xcode/UserData/CodeSnippets path the file below to replace it is OK

As you can see, I’m a total slob, and I even made a code block for the NSLog, so if you take it over and get a little familiar with it, you can use it! I do a good job of marking all the x + uses. I’ll send you

  • Create your own code block

Is also more convenient and simple! This code block will not be updated with Xcode updates! You can rest assured to add! When it comes to Xcode updates, I need to add a few more words.

13 update Xcode

You’ve been playing Xcode 13 for two days now! JWAutumn’s # Xcode 13 update is more comprehensive. I add a few here, of course, you are welcome to add in the comments area, I will update the screenshots come in 😸 so that it will be like the community more and more plump ~~~

1: Parchment was incorrectly stored in three parties# onamMami pause Xcode13 update

2: the latest features can be automatically imported into the introduction of – OC development eat yellow lotus

Have beautiful boy beautiful female can handle solve this problem, give me a message! I am very lazy, especially hate to import files….

3: The file directory structure is refreshed

Feel a little bit twisted, but the file directory is simple and clear, will be more beautiful. It’s not as messy as it used to be which is a good thing! (in fact, slowly tend to fool development) we are more convenient to view the Xcode directory under the product is missing! I myself often like to look at the contents of the package and get the dark executable file to look at the information. Can’t find it now…

It’s not gone, it’s just hidden! Hide your harmony learning….

/Users/mac/Library/Developer/Xcode/DerivedData/KCTest-cgmftvetqnkqbcakdsljbncoafrn/Build/Products/Debug-iphonesimulator/ KCTest.app

This directory can also be found in File — Workspace Settings if you have trouble finding it

4: The Build Succeeded failed, feeling that the soul is not there

Xcode 13 will now no longer have builds under the Xcode hammer above the mask at the bottom of the screen… No soul simulation turned on (as everyone knows: those years of day and night endure thousands of bugs once Build Succeeded) bad reviews, bad reviews, bad reviews… 😠 😠 😠

There is more content, I hope you can timely feedback in the comments section of the first update

End: SAME with KCGet the Code block Code SnippetsDirect comment area message OK!