iOS Swift Tutorial: Create a Weather App from Scratch

preview_player
Показать описание
Learn how to populate a user interface with data from the web. In that process we are creating a simple UI featuring a TableViewController and using JSON data we get from the darksky API.

➡️ Tutorial on how to download data from a web API and process JSON data:

➡️ Tutorial Files

✉️ COMMENTS ✉️
If you have questions about the video or Cocoa programming, please comment below.
Рекомендации по теме
Комментарии
Автор

Nice! I was creating a mockup the other day and wanted to put a pin on a map based on a city name but I didn't know how to get the longitude and latitude. Thanks for showing me the CLGeocoder!

bigmtnstudio
Автор

This is gold my friend, Subbed. You are a true hero.

slambodianjones
Автор

always waiting for your tutorial
its awesome, thank you so much

JunaidKhan-nytu
Автор

Hi. I have a little proplem. I did anything like you but when i came to final step ( Search the city ) my emulator nothing happen. I tried to many ways but it's still not working. The display is just empty. Can you help me, thank you. By the way, you are so good. Sorry my bad english.

miwa
Автор

LEGIT!! Thank you! This was a great tutorial!

AriZuni-Reviews
Автор

i found out good tutorial for SWIFT 3.
thanks for your video.

TheGuspop
Автор

Thanks dude ... perfect !! Keep up the excellent work !!

deeznuts
Автор

Would be nice if you apply some of modern architectural patterns and add some testing in next series. Great work

goblinnilgob
Автор

hi brain, ur image or swift file link cannot work plz check the link to aacess the data and new link

lavishkakkar
Автор

Hi Brian! Good tutorial, but I see one important performance issue. You create DateFormatter instance each time when a table is calling a titleForHeaderInSection function. It will affect memory usage and performance. It is better to create one formatter for entire ViewController.

Автор

Hey Brian, im getting this error in consol and not getting data when i run ur app Error is -->  
"[]
The data couldn’t be read because it isn’t in the correct format.
"

sanjaykumarpatel
Автор

link to Icons and Weather.swift File: Add your API Key in the Weather.swift file NOT WORKING

artemhrebinik
Автор

Sorry, dropbox link doesn't work anymore

allenlinli
Автор

Excellent video! I do have a question, How would I add all three temps? Such as Current temperature, Expected High & Expected Low. 

Cheers,  
Josh

StormPilotChaser
Автор

Hello Brian. Do you think you could make some tutorials with reactive programming with rxSwift and rxCocoa? :) Thanks in advance

develodom
Автор

Hello Brain!
This tutorial was really helpful.

How Do I use google places api get the location and use that to get the weather that you are getting using CL? Any help would appreciate.

akhtarzaman
Автор

What do I have to do with: let weatherObject = forecastData[indexPath.section], when I want to create my own TableViewCell.

fabiopohl
Автор

Great tutorial here, can anyone advise how to get the current weather as well as the daily forecast?

pulsarman
Автор

i have a problem in search bar in ios app with swift with connected this with . coredata, need who can help me how can save an array in core date table and search bar field🙏🏻🙏🏻🙏🏻

الياسيولأمل
Автор

Hi Brian, thank you for the tutorial. I do have a question though. Your custom cell consists of just a title and a subtitle. How did you implement an imageview on the left hand side without referencing to one? ( The imageview that has weather icons)

yarragzi