Posts

Showing posts with the label Alamofire

Angela Yu Xcode 12 Course - Part 18 (lectures 175 to 184)

So this time we're by the pool by RAK! Probably better in terms of wind, sand etc... I've arranged for someone to collect my laptop to replace the screen. Have also ordered a new case and an ant-glare screen cover. All of these things should help and it's worth the money. Well it's a lot of it! 1575 to repair; 200 for anti-glare screen; 50 for cover. Anyway.... Today I'm going to start the Bitcoin tracker challenge. Going to spend an hour on it - maybe more. Let's go! Start Time - 10:27 OK, step 1 is to download the project.. STEP 1 Right, I am not going to type much here as it is pretty much following instructions. Will add anything that's a useful learning point! OK, after putting in the currencyPicker.delegate = self (and the same for the dataSource one), errors come up because we HAVE NOT CONFORMED TO THAT PROTOCOL! That makes sense - we've put in those protocols in the view controller. So those methods need implementing. Ok. Using the...

Angela Yu Xcode 12 Course - Part 13 (lectures 157 to 163)

Image
How unusual, an entry on Tuesday afternoon?! Well, mercifully, there is time off work in Dubai due to the Pope's visit! Not that I am seeing the man himself but thank you! Yesterday was also off but no chance to code. So today I have a good hour or so to get some done. My aim is to totally finish the 'Clima' app, then I will have surpassed my progress from last time. It's been a good month or so with Angela and I am 100% happy with that. Loads of useful things picked up along the way, whether the content is new or I had just forgotten bits. Either way, well worth it. The other good news is that I feel NO inclination to switch courses whatsoever. No, I want to stick with this one from Angela until the very end. Then I will review where I am and what the next course of action is. Anyway, let's go! Start Time - 14:04 Asynchronous method - this means it works in the BACKGROUND as a method. If it were in the foreground, it means that it would freeze up the entire app...

Angela Yu Course Part 15 (lessons 145 to 153)

Image
So yes we're back! It makes sense at this point to crack on with Angela's course. I think one of the reasons why I wanted to do the challenges from other courses was to protect myself from failing to understand new content. I need to get past that, which is why I'm going back to Angela's course! Last time with her course, I did some stuff which I can't really remember...so I'm going to crack on but may well need to go back over some stuff. Here we go! Start Time - 11:38 Location Manager So it's the workspace file I need - the one which has had 'pods' added to it.       let WEATHER_URL = "http://api.openweathermap.org/data/2.5/weather"     let APP_ID = "e72ca729af228beabd5d20e3b7749713" Here are the two websites which I am using. The App_ID is our own App ID that is required. So the guys at open weather map need to be able to track who is using their API... API - Application Programming Interface So...