How to Load Data From a JSON File Into Your App | Swift 5 in Xcode 11

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

Ajay Gandecha

Ajay Gandecha

Күн бұрын

Пікірлер: 40
@ufookoro1
@ufookoro1 4 жыл бұрын
Your tutorial is about the best I have seen out there. I have been coding a little in SwiftUI and have seen nothing like yours. Thank you very much. Absolute master class Well done
@itzhakduani6462
@itzhakduani6462 3 жыл бұрын
I'm studying swift for about a year now. encountered many online teachers. and you are the best by far. putting a lot of attention to small details, and explaining things in a broad picture thank you very much for all the time and effort you make. appreciated a lot (:
@sunniquaderin4717
@sunniquaderin4717 3 жыл бұрын
Wow. Thank you so much. You're great at explaining concepts that other videos don't bother to.
@raimitis
@raimitis 4 жыл бұрын
Thank you for clear explenation. Additional thanks for explaining [datatype].self. I did not understand in other tutorials as no one explained it.👍
@zanbarbone
@zanbarbone 4 жыл бұрын
Awesome job, mate. I love the way you explain your every move!
@penicillinable
@penicillinable 3 жыл бұрын
Amazing tutorial i really appreciate your teaching. It was very easy to understand. Thank you so much
@NareshNaresh-kj8jl
@NareshNaresh-kj8jl 4 жыл бұрын
Good Explanation thank you very much bro.....
@teicamsi3
@teicamsi3 4 жыл бұрын
The best explanation. Thank you!
@kiyowalker4898
@kiyowalker4898 4 жыл бұрын
Great tutorial! it's very easy to understand. Do you have a tutorial to connect the each name (table view controller) to other view?
@dambar011
@dambar011 3 жыл бұрын
Very good content and explanation
@junilougo5268
@junilougo5268 4 жыл бұрын
Could you do a tutorial adding search bar to this? I tried applying your other search bar video and it just wouldn’t work for me.
@pranavjoshi3861
@pranavjoshi3861 2 жыл бұрын
Thanks a lot brother..
@sportzarena2727
@sportzarena2727 2 жыл бұрын
Hi Ajay, so how can store such json file into core data? And thanks for this tutorial.🙏🏽
@ЕрасылТурлыгажы
@ЕрасылТурлыгажы 3 жыл бұрын
thank you, good explanation
@jeremyyy3314
@jeremyyy3314 4 жыл бұрын
HOLY SHIT BEST VIDEO I EVER SEEN, VERY CLEAR EXPLAINATION. Im still beginner But i want to know how to load .json file from online so i can update my data whenever i want could you help me please XD
@musicforbrain141
@musicforbrain141 4 жыл бұрын
that s really understandable. Thank u very much!
@jojuanf9988
@jojuanf9988 4 жыл бұрын
Great video man! Added this and it’s working great. Can you make a video where you’re adding UISearchBar capabilities to filter through the cells?
@jojuanf9988
@jojuanf9988 4 жыл бұрын
Ajay Gandecha hey thanks for the filter through table view video!! The only issue I have now with my code is since my “let data = DataLoader().userData” and “var filteredData: [String]!”, when I set “filteredData = data” I get error: “Cannot assign value of type ‘[UserData]’ to type [String]?”. Any ideas?
@jojuanf9988
@jojuanf9988 4 жыл бұрын
Ajay Gandecha works like a charm, thanks!
@jojuanf9988
@jojuanf9988 4 жыл бұрын
Ajay Gandecha Hey me again! When I first went through this tutorial, I only added a few variables to my data structure from my Json file to see if I get it working first before adding the 20+ variables. Now that everything is working as desired, I’m trying to implement the rest now but when I add a new one and run the app I get “keyNotFound(CodingKeys(stringValue: “NameOfVariable”, intValue, nil)” and my tableview is empty. Do you know why this might be?
@rohansreerama5357
@rohansreerama5357 4 жыл бұрын
hey man, was watching your video. I'm actually trying to save my data to the userData array like in your video. the api call is successfully made, but no data gets saved into that global array. Can you please help me?
@NaiSaikChan
@NaiSaikChan 4 жыл бұрын
Hello My Dear, it's the best tutorial for me. But I can't set the code- self.userData = dataFromJson. Xcode show this error "Use of unresolved identifier 'self'". I don't know how to fix it.
@TheRealLDB
@TheRealLDB 4 жыл бұрын
Is it possible to instead put the JSON data into a UILabel instead of a Cell?
@nurirfanpangestu3696
@nurirfanpangestu3696 3 жыл бұрын
oh my god, thank man
@user-rc2nt1tb2u
@user-rc2nt1tb2u 4 жыл бұрын
. I'm trying to build an app that searches through the web (Using web scraping) and returns the specified data instantly (data can be updated on the website and I want it to be updated in my app as well), can that be done with JSON?
@jdvillanueva4361
@jdvillanueva4361 4 жыл бұрын
how would you go about searching these custom annotations through the means of a search bar?
@ricolamoretti4515
@ricolamoretti4515 4 жыл бұрын
Amazing! How can I print just one dictionary value at random? I have a JSON file with 300+ sentences and want to print one sentence at random :/
@barneyswiftjaguar3363
@barneyswiftjaguar3363 4 жыл бұрын
Hi Aj! Can you do a tutorial on how to fetch data from an API and display it on your app? It would be great if you did.
@barneyswiftjaguar3363
@barneyswiftjaguar3363 4 жыл бұрын
@@ajaygandecha Ok Thank you so much!
@rhysbroughton8869
@rhysbroughton8869 4 жыл бұрын
Hi, tutorial great. Um how would i then edit the JSON after, as if setting something from true to false in the son. or adding one to the "units_sold"?
@rhysbroughton8869
@rhysbroughton8869 4 жыл бұрын
Ajay Gandecha Thanks :) sorry i’m still a little confused as i’ve tried to encode it back to JSON and then write to the original file and it will not update it. I’ve had a look online and apparently u can’t update the JSON file inside the bundle. Is there another place i could have my JSON file too. Because all i want to do it change a boolean in the file so next time the project loads something else will happen if something is complete. I’m sorry if this doesn’t really make sense, i might jus be tryin to do something that won’t work. But any help would be great thanks :)
@sandeepkulkarni8835
@sandeepkulkarni8835 4 жыл бұрын
hi bro my name is sandeep i am from India now I am working as ios developer since 4 months but i want know how to load an data from api i am saw many videos but i am still confuse so can you help me🙂
@sandeepkulkarni8835
@sandeepkulkarni8835 4 жыл бұрын
@@ajaygandecha I want weather API data
@sandeepkulkarni8835
@sandeepkulkarni8835 4 жыл бұрын
@@ajaygandecha thank you🙂
@nurlanakylbekov7266
@nurlanakylbekov7266 4 жыл бұрын
How do you working as a iOS developer if you don't know the basics?🤔
@jeremyyy3314
@jeremyyy3314 4 жыл бұрын
how to print data on specific viewcontroller??
@jeremyyy3314
@jeremyyy3314 4 жыл бұрын
Ajay Gandecha OMG thank you so much
@musicforalifetime133
@musicforalifetime133 4 жыл бұрын
Your thumbnail for this video shows Swift 5 + Xcode 9
@pranavramesh9093
@pranavramesh9093 4 жыл бұрын
In general though, you really shouldn't be using JSON as a database solution. :)
@rovsen1993
@rovsen1993 3 жыл бұрын
git link, + 5 points to karma)
Load Data from a JSON API in Your iOS App! | Swift 5 in Xcode 11
19:09
Save data and images to FileManager in Xcode | Continued Learning #26
50:39
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,6 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 23 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 3 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
What is JSON - JSON Parsing in Swift
24:15
CodeWithChris
Рет қаралды 74 М.
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Рет қаралды 47 М.
Parsing Nested JSON in Swift 4
13:40
azamsharp
Рет қаралды 13 М.
Swift for Beginners: Parsing JSON (Xcode 11) 2020
14:26
iOS Academy
Рет қаралды 9 М.
15 Years I Searched for This Game...
18:43
agadmator's Chess Channel
Рет қаралды 238 М.
JSON Data into Collection View with Images(Swift 4 + Xcode 9.0)
20:21
Swift with Yash
Рет қаралды 24 М.
Parsing JSON Just Became Super Easy in Swift 4 with Decodable
19:30
Lets Build That App
Рет қаралды 274 М.
Я сделала самое маленькое в мире мороженое!
00:43
Кушать Хочу
Рет қаралды 4,6 МЛН