JSON Data into Collection View with Images(Swift 4 + Xcode 9.0)

  Рет қаралды 24,559

Swift with Yash

Swift with Yash

Күн бұрын

In this video i will show how to parse JSON data and insert into collection view. I will also show how to download images.
API
api.opendota.c...
DOWNLOAD IMAGE EXTENSION
stackoverflow....
PROJECT FILE
iamyash.com/pro...
Swift 4 Xcode 9.0
My mac version macOS Sierra
Twitter : / yppychannel
Website : iamyash.com/

Пікірлер: 56
@allaboutnaturesound6033
@allaboutnaturesound6033 2 жыл бұрын
Hi 2y ago, i just start coding. This video gives me a good confident dealing with image. I now work in insurance IT department.
@swiftwithyash
@swiftwithyash 2 жыл бұрын
happy to year that. I hope you are enjoying your work :)
@BranGaming20
@BranGaming20 3 жыл бұрын
hello, are this code still good for 2021? or can you make the new video for the latest xcode version please, thank youu
@DmitriySh
@DmitriySh 2 жыл бұрын
thank you a lot. it was helpful a lot
@swiftwithyash
@swiftwithyash 2 жыл бұрын
Glad it helped!
@kaunghtethein3322
@kaunghtethein3322 3 жыл бұрын
How did u get 3 colunms? I didnt understand that part
@ПетрПетрович-ы6х
@ПетрПетрович-ы6х 6 жыл бұрын
Thank You! And if there are many 1000 rows of data as they load the first 100 first and the rest when scrolling down?
@sridharp11
@sridharp11 6 жыл бұрын
Nice Video and very helpful to me......Thanks bro
@mohdshadab05
@mohdshadab05 6 жыл бұрын
Bro i have a question about this video can we make this project with the help of alamofire? It will work or not?
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Yup
@learntogether4024
@learntogether4024 4 жыл бұрын
thank you bro! amazing tutorial!
@praveent8848
@praveent8848 3 жыл бұрын
Shortcut for blur is not clear in xcode 12 version can u pls tell me what it is..?
@Karma_Rinku
@Karma_Rinku 4 жыл бұрын
Great job bro .
@swiftwithyash
@swiftwithyash 4 жыл бұрын
Thanks ✌
@Govind_Lipne
@Govind_Lipne 3 жыл бұрын
my json is not array of object array which is to be shown in collection view is nested inside JSON so how to proceed?
@riwanahmed1050
@riwanahmed1050 6 жыл бұрын
hey bro went through your code it helped alot, got stuck cant segue nor print out taps when the user clicks one of the cell i used func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { print("User tapped on item \(indexPath.row)") } nothing prints could you help me out segue to the next view and show the image in big
@Gabriel1977ism
@Gabriel1977ism 6 жыл бұрын
Nice videos Im learning a lot. Are you making one with segue to other viewcontroller from collectionview? Showing the image and the name of the image. Keep the good work. Have a nice week.
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Ohk its something interesting. I will look into that.
@guruitcompany
@guruitcompany 6 жыл бұрын
Yp.Py! Please make a video with parsing the json file for example mini shop product categories in this category writing product is very interesting, as these applications are built. Thanks for the great video! You are the best!
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Appreciated :)
@abdulr3423
@abdulr3423 3 жыл бұрын
Thankyou!
@swiftwithyash
@swiftwithyash 3 жыл бұрын
You're welcome!
@guruitcompany
@guruitcompany 6 жыл бұрын
Thank you! Very nice👍👍👍😊
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Appreciated :)
@baranbaltaci
@baranbaltaci 4 жыл бұрын
Thank you so much 😍
@LeviKline
@LeviKline 6 жыл бұрын
Hi, this tutorial worked perfectly. However, I noticed in the simulator that the photos keep on moving around as if the cells are reloading and moving them into different cells. How do I prevent this from happening? Thank you!
@NOone-fk4qy
@NOone-fk4qy 2 жыл бұрын
You shall change the API refresh intervel
@nickhung145
@nickhung145 4 жыл бұрын
I want to ask what has been done, but 0 value can't get the data, what is the reason?
@3ilz
@3ilz 6 жыл бұрын
Not sure why I get this, any ideas on how to fix it? "this class is not key value coding-compliant for the key myImageView"
@aroraUnboxing
@aroraUnboxing 6 жыл бұрын
Asum... ... thnx for tutorials
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Thank you :)
@wowtheworldchannel
@wowtheworldchannel 4 жыл бұрын
Awesome
@swiftwithyash
@swiftwithyash 4 жыл бұрын
Thank you ☺️
@chandhru999
@chandhru999 6 жыл бұрын
how to add favorites button on image by using collectionview in swift 4?
@SwapnilKadamtasgaon
@SwapnilKadamtasgaon 4 жыл бұрын
thank you
@swiftwithyash
@swiftwithyash 4 жыл бұрын
I really appreciate your comment. 😎
@sindhurajan9097
@sindhurajan9097 3 жыл бұрын
How to use coordinator pattern in this
@bloui9679
@bloui9679 4 жыл бұрын
I could not download the project files, it leads me to 404 page
@iosdev6643
@iosdev6643 6 жыл бұрын
Hi Yp, subscriber request: Can you make a tutorial of parsing videos from remote server in a collectionview.is the procedure same as image parsing?.thanks!!
@swiftwithyash
@swiftwithyash 6 жыл бұрын
I will try to do that.
@iosdev6643
@iosdev6643 6 жыл бұрын
Thank you.Looking forward.
@iYousef911
@iYousef911 6 жыл бұрын
I got array =0 i have done everything you want but still have parse error
@prateekroy3137
@prateekroy3137 6 жыл бұрын
//MARK: Prepare Segue To DetailedViewController override func prepare(for segue: UIStoryboardSegue, sender: Any?) { if let destination = segue.destination as? DetailedViewController{ //destination.captureWebsite = sender as! String destination.newHeroes = Heroes[collectionView.indexPathsForSelectedItems.row] //NOT EXECUTING } } Please help.......I was doing segue to DetailedViewController but could not pass the array of Heroes of type HeroStats to the newHeroes of DetailedViewController.........As previously done with TableView
@oldgamerkoi8000
@oldgamerkoi8000 6 жыл бұрын
I can not find a link to the finished project.Can you send me the link to the finish project?
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Scroll down and click on swift image. iamyash.com/programming-tutorial/swift-4/json-data-into-collection-view-with-imagesswift-4-xcode-9-0/
@oldgamerkoi8000
@oldgamerkoi8000 6 жыл бұрын
thank you
@oldgamerkoi8000
@oldgamerkoi8000 6 жыл бұрын
Very cool tutorial. It will be great you will make continue where you will show how еo implement this.When uses tap on the picture show full picture
@swiftwithyash
@swiftwithyash 6 жыл бұрын
That is on my To Do.
@UrsHarsha
@UrsHarsha 2 жыл бұрын
project page not found
@enihost6829
@enihost6829 6 жыл бұрын
good work. where video slide show auto image
@swiftwithyash
@swiftwithyash 6 жыл бұрын
Thank you :). What do you mean ?
@enihost6829
@enihost6829 6 жыл бұрын
I mean video record how to make slide show image
@cortana2388
@cortana2388 6 жыл бұрын
Do remember that it's iPhone X (=10) not iPhone X (alphabet), sometimes it's annoying.
JSON Data into PickerView (Swift 4 + Xcode 9.0)
10:00
Swift with Yash
Рет қаралды 3,6 М.
API data into UITableView with images (Swift 5 | Xcode 13.3)
27:00
Swift with Yash
Рет қаралды 12 М.
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 33 МЛН
JSON data into UITableView with images (Swift 4 + Xcode 9.0)
20:16
Swift with Yash
Рет қаралды 61 М.
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 74 М.
Parsing JSON Just Became Super Easy in Swift 4 with Decodable
19:30
Lets Build That App
Рет қаралды 274 М.
UITableView Cell Action (Swift 4 + Xcode 9.0)
16:45
Swift with Yash
Рет қаралды 19 М.
iOS Swift Tutorial: Use Web APIs and JSON Data with Swift 5
32:22
Brian Advent
Рет қаралды 92 М.
How to Create a Card Layout in Swift (UICollectionView)
26:11
Riley Norris
Рет қаралды 31 М.
What does larger scale software development look like?
24:15
Web Dev Cody
Рет қаралды 1,4 МЛН
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 33 МЛН