Staff Engineer @Facebook | Long Time iOS Developer | Tech Careers | Start Ups
On this channel, you can expect to find videos about iOS Development, Algorithms, Swift, Objective-C, Software Engineering, White boarding, Interviewing, and more! I have a huge passion for Software and especially for iOS. Subscribe and Let's Connect!
I was bummed to discover that Swift does not a have a simple and concise way to decrement or step by an arbitrary value in a for loop like other languages have been doing for decades. How memory efficient is this stride() stuff anyways? Does stride() allocate an array of values in memory and then iterate through them, or is the compiler smart enough to just use a variable and increment or decrement it like classic for loops? If I want to decrement in a loop from 1 billion to 0, is stride allocating a billion element array? They should have just given us a syntax like: for i in 100...0 step -1 { }
I've been coding for 7 or so years now and none of these concepts are new to me but like holy shit, this guy needs to take a lesson on teaching because I feel for anyone trying to learn these concepts for the first time here. variable: same as any other language. assign a name to a value. the value can be a integer, floating point, string, boolean, etc and can be manipulated in classes, function, or just in other lines of code in the global context. constant: a variable that cannot change value. when creating a global constant you are defining something that cannot be manipulated by other functions accidentally. the confusing part is creating a constant value inside of classes because even though you are creating one constant, each instance of that class will create a new constant specific to that instance. static: a variable where you can access the value of it without creating an instance of that class. for example, let's create a class for an orange. class orange { static var color = "orange" var numberOfSeeds = 0 } to get the numberOfSeeds value I would need to create a new orange class and then get that value var myOrange = orange() print(myOrange.numberOfSeeds) but if I just want to know the color of these oranges because I know they are all going to be the same then I can just do this: print(orange.color)
hey man! I don't know if you will read this... but your app crashes when you load to fast the scrollview..I reproduce de crash you have at the end of the video, have you find a fix for this? hope to her from you!
Excellent tutorial for StoreKit2. It is a bit outdated in some areas, but quick fixes to the out-dated code are readily found. I thought this was the best tutorial I found on adding in-app purchases to your app. Thanks. If you see this and can respond, how do you access other products in the products array. Thank is other than "product.first"
>Be me, a swift developer...but on LINUX?! >Looks up Objective C videos because I want to link Raylib and do some magic with it. >Finds this. >It is from...iOS Academy? So today I learned a world of Objective C exists outside of Mac, and it is apparently in IOS! I have no idea why I avoided your channel for so long because yes, I have been recommended a few videos from yours. Sadly, even though I have plenty of iPads and iPhones, I do not have a mac... And I am making a game so to scratch the itch, Swift/C have been on my mind. Liked and will recommend! Great stuff! Straight to the point. Archaic wizard knowledge, sure. But game developers ARE wizards. 🪄
just another quick tip for asyncImage to size it properly with modifier, can use the property called content as closure like so .. asyncImage(url: "https:...") { image in image.image .resizable() .scaleToFill() .etc... }
queue.sync - impossible to call, code crashes. Did tried to copy code from screen as is and that crashes in runtime. don't spend time on video, marked with dislike
8:31 and how u see it is strongly retaining a second vc? I mean, I get that you know it, coz u know it. but it is not shown on a screen, only one arrow goes from SecondVC -> MyView
I've been programming for years now, but I'm new to swift. I still got lost in this beginners tutorial. you never explained some things that you did, such as the "." you added at 7:14
I implemented universal link and deep link in an app. Its working in my phone but when I puted it on testflight and others installed the app through testflight, this feature is not working. I have no idea why its not working. Can you please guide me what's stopping the app from working as it works well in my phone(app is installed through Xcode directly).