Swift 3: Twitter - Generics and Array Extension (Ep 16)

preview_player
Показать описание
Today's topic will be more advanced than usual and we'll deal with how to refactor our JSON parsing code. The goal of this video is to expose a couple of interesting features of Swift that you might not have seen before.

We'll first go over extending Arrays or Collections to have methods. Finally I'll walk through how to use Generics so that Swift will know exactly what type of objects are being decoded.

Enjoy.

Facebook Group

iOS Basic Training Course

Completed Source Code

Рекомендации по теме
Комментарии
Автор

I can call the approach you followed to solve the problem, smart programming. Less code with much efficiency. Thank you Brian for this great work.

abdouett
Автор

Need more twitter tuts. Please don't stop this here. You're amazing.
Thank you.

rajapurva
Автор

Brian i please you to continue this series cause it's one of the best step-by-step series i've ever seen on YouTube and it would be awful to truncate it :/

manfredipistone
Автор

Thank you Brian, I learned a LOT from this series! You've convinced me to try out your Instagram course.

thestophewatts
Автор

Nice - I need to watch this a couple of times and try it out to get the hang of it!

rogerwprice
Автор

Very interesting topic, thank you for bring us these kind of videos

xShorDz
Автор

Thank you Brian. Great Series. Learned a lot.

jhennaperry
Автор

Very good video about generics. I am very familiar with templates in C++, but here we have a different approach. But what I'm really looking forward is series about profile page with all that fancy animations

Vyacheslavskiy
Автор

Is this the last video or will there be more in these twitter clone series ?

MrStefanLazarevic
Автор

Hi Brian! As a beginner i love your videos and you're my favorite teacher. Great video as always!

And i'm wondering if you can make a video about Memory Management & ARC. It'd be great to know performance leaks in our apps. Thank you again, best iOS development youtuber.

unalcelik
Автор

Hi Brian, great series and I am sure I'll end up referring back to some of the vids a few times.

Can you please show how to implement buttons?
Thx


EDIT: I think I got it, but not too sure if what I did was good practice; hoping to see your explanation

LittleStoneDogs
Автор

Hi Brian!

Thank you for your amazing tutorial.

I have question about the "show more" of the first section with the users, how can we implement a function who update the number of items in my section? for example when I click on the "Show more" he load 2 hidden cells?

Thank you.

DarkMangekyoo
Автор

Awesome series of tutorials. How would you implement youtube series using LBTA? What I am asking is it reasonable to use LBTA when we have multiple collectionViews (i.e. cell is another collectionView as in youtube video series). If yes, how would you render elements (that came as dataSourceItem) to collectionView inside collectionViewCell ? Thanks!

KETOQAZAQ
Автор

Hello Brian, I started swift 3 and developing UI programmatically. But stopped at uipickerview. Do you have any plan to make a video about creating UI for user inputs (like multiple uipickerview) programmatically?

SeeMahbub
Автор

Hey Brian, I hope you will do more videos on Twitter - User Page is still left :)

MichaelGotiashvili
Автор

I really like that mic you're using, any chance of sharing the brand? :)

PeterGeranio
Автор

wow wow Brian you are very amazing and you are my favourite Youtube teacher because you are so great.

I was wondering if you are going to make a Tinder app like you said on the last live video?

TheYannsonnboys
Автор

I followed you step by step to make this in like 3-4 days. I need more. Also i totally understand not using the storyboard but man coding every single thing is such a pain in the ass when you have a GUI available. I honestly don't know if i could do what you do.

DigitalOnionNews
Автор

Can you please create a handwritten signature feature in Swift?

saifal-din
Автор

Hi! How to capture an event tap into uibutton into headerCell? Thank you.

brunofredericot