Have you ever created a Code Snippet in Xcode? They can be (very) useful

Have you ever created a Code Snippet in Xcode? They can be (very) useful

Vincent Pradeilles

2 года назад

2,872 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@v_pradeilles
@v_pradeilles - 11.08.2021 21:19

Did you find this tip useful? Are you planning on using it in your apps? Let me know in the comments 🚀

Ответить
@jebamoses3209
@jebamoses3209 - 26.02.2022 21:23

Thank you man for the time saving tip👍🏻

Ответить
@myrickchow3039
@myrickchow3039 - 28.09.2021 18:31

Great! This is simple and very useful for my routine job!

Ответить
@jarnleikr
@jarnleikr - 21.08.2021 13:14

Small tip: If you make a lot of your own snippets, prefix them with one or more letters to group your snippets. For instance use an author's initials like vp-gls (Vincent Pradeilles) for the snippet in the video. 
Or you could use the prefix to signify types of snippets. For instance uw could mean unwrapping, giving us in the video example uw-gls. Type two letters and, boom, your grouped snippets are at the top of the list.

Ответить
@jobnte
@jobnte - 19.08.2021 19:38

Sometimes I found that it's better to do `guard let strongSelf = self else { return }` so you can use strongSelf in `po strongSelf.` without any weird log being shown in the console

Ответить
@pranav21keshav
@pranav21keshav - 19.08.2021 13:50

Thank you for such a useful tip

Ответить
@salmansiddiqui9522
@salmansiddiqui9522 - 19.08.2021 09:16

nice thanks

Ответить
@FlyerChannel
@FlyerChannel - 19.08.2021 08:12

Thank you! I have already used a snippets, but have not used a completion. It's very useful.

Ответить
@PacificAtitude
@PacificAtitude - 18.08.2021 23:25

Hey Vincent, thank you for the tip, i have one request please, can you groupe these xcode coding tips in a special playlist on your Channel ? they are very helpful and i guess many of your viewers will appreciate it too.

Ответить
@rickywitherspoon2861
@rickywitherspoon2861 - 18.08.2021 20:24

I just did this yesterday lol.

Ответить
@apocalapsus
@apocalapsus - 18.08.2021 19:03

Great tip. Thanks!

Ответить
@finalpets
@finalpets - 18.08.2021 18:52

2 birds with one shot, i also forget the guard let self = self.Thanks a lot!

Ответить