Swift: AppStore - Integrating REST API, JSON, and Model Objects (Ep 2)

preview_player
Показать описание
For the API calls, please use these two links:

In this video, we go over an example of how a real world application integrates with a REST api to retrieve data. By the end of this tutorial, you'll be able to build an application that is very similar to what the Apple App Store looks like.

JSON API URL:

Recreating App Store Part 1:

Twitter Slide Out Menu Course

Podcasts Course

Intermediate Training Core Data

Instagram Firebase Course

Facebook Group

Source Code:

Completed source code can be found here:
Рекомендации по теме
Комментарии
Автор

I'm really looking forward to programming using Swift, I'm sure your videos will become a large asset for me in the future; thanks!

rhidlor
Автор

Hi Brian, the way you explain is really amazing.

anuvenkatesham
Автор

I actually did the single/two line solution towards the end of the video with constraints and it worked perfectly.

vzufusf
Автор

Hey Brian Thanks for all your hard work and the details you include in your videos! I have a question: for each app if I don't want it to be dynamic could I just use the static function you use in the model? I have set icons and labels for each horizontally scrolling cell. The user would not be able to change them but would click them to get to another page. Thanks!

ACHVPEAK
Автор

Hey, excellent tutorial! It helped me a lot!!

alexfroelich
Автор

Very good video with explanation. Thanks on this. U made my day

malanoga
Автор

thanks for this video!! Best video about iOS App Development!!

wangnguyen
Автор

Thanks for very good tutorial with Model Object. I'm going to apply it to my project.

yphasukyued
Автор

HI, loved your coding style.. So... clean.. One small suggestion . Instead of :
if let a = X?.a {
aa = a
}
if let b = X?.b {
bb = b
}
you can do it as

if let a = X?.a,
b = X?.b {
aa = a
bb = b
}

It becomes more readable.. :)

Keep uploading more videos..

ashirvadaj
Автор

in This. Video I was Learn More Think Model Object Json Parsing So Thank You Brian, Sir..

yogeshjethava
Автор

Will you make another video similar to this or recreate this video in swift 4?

jonnybest
Автор

Hi! Brain. Your vids are great, but two questions. We do you import UIKit to your model? Shouldn't the business logic be independent from the UI? Why do you choose to use class for your models instead of structs (reference vs value types)?

wojtekobsysa
Автор

Hey Brian, how you doing? Great tutorial as always.

I’m relatively new to iOS development and your tutorials are helping me a lot.
Right now now I’m facing a small problem and I can’t seem to figure out how to solve it.

I’m building an app that implements most of the features you have on your AppStore Clone App.

On my App, the user can choose which categories he wants to see everytime he runs the App.
Sometimes according to some filters like [Date], certain categories may not have results to be shown. e.g.: He picked categories A, D, F, G and M. But for today, only D, F and M satisfies the criteria.
The problem is, In my UICollectionView I want to implement the numberOfSections and numberOfItemsInSection methods according to the above, with header titles, etc.

Mentally I can go through the necessary logic to achieve that, like, return the count considering only those categories with at least one item. But I’m having troubles to translate it to swift code.
How should I approach it? Can you share a code snippet implementing that?

Thanks in advance.

claudiopaulo
Автор

can u help me? I'm using swift 5 and It's appear "Value of type 'Any' has no subscript" in for dict json["categories'] how can I fix that?

agselabudikartikasari
Автор

Really like your code only approach in your videos.
Do you use still use storyboards in some cases?

GillesVandenPeereboom
Автор

Hi, Is there a way to download and show the icons in realtime ?

alexsalgado
Автор

Hi Brian, Liked the video and am glad I subscribed. What is the first part you talk about in the video? Can't seem to find it.

garrettosborne
Автор

hii brian ... i like your tutorials...Can you give an example of how to implement MVP architecture into and iOS application ..

tahirify
Автор

Please help

Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<AppStore.AppCategory setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key type.'


I think I got his after 25:00

SrithanSavela
Автор

Hi Brian, url for json is giving 404 page not found can you please share updated Url? BTW thanks for all these awesome tutorials.

TusharSharma-kbmb
visit shbcf.ru