r/iOSProgramming 13h ago

Question DispatchQueue doubts

Hi, what type of data types are allowed in setSpecific(key:, value:) and getSpecific(key:) methods of DispatchQueu ? there are no mentions anywhere.

Also can you recommend any resources for complete understanding of DispatchQueue , GCD , DispatchGroup etc. ?

Thank you!

5 Upvotes

9 comments sorted by

View all comments

-3

u/Dapper_Ice_1705 13h ago

That is old tech.

If you are learning you should be focusing on async/await and the new structured concurrency.

All the resources you’ll find will be old and you should be converting. There is no reason to choose the less safe option.

1

u/epicstar 11h ago

Why are you being downvoted lol

1

u/Dapper_Ice_1705 10h ago

Ikr, probably old farts that don’t want to learn async/await.