The LLDB PO Command and iOS Debug
Hello ladies and gentlemen, Leo here. Today we’ll start to talk about one option to help you debug your iOS and Swift code. Today we will debug iOS with LLDB starting using the PO command. First a brief explanation of what is the LLDB. LLDB is a next-generation, high-performance debugger. It is built as a set of […]
Functional Programming and Shopping Cart Problem in Swift
Hello ladies and gentlemen, Leo here. Today we will explore some Functional Programming in Swift. Functional programming is a programming paradigm that has some really cool ideas. For example, functions are first-class citizens, which means that you can do everything you could do with any other type like Int, you can do with a function like […]
Change Xcode Font Size
Hello everyone, Leo here. This week we will learn many ways to change the Xcode font size. I like this kind of post because it gives me the opportunity to explore the amazing tool that Xcode is. This week I had to install the Xcode again. What is Xcode? Xcode is Apple’s integrated development environment […]
Dynamic UICollectionViewCell size and Device Orientation
Hello my people, Leo Here. Today I’ll show you how to set a dynamic size of a UICollectionViewCell based on device orientation. It’s simple but requires a little bit of lifecycle understanding. To achieve that, you will manipulate the *willTransition* method inside your UIViewController. Using UICollectionViewCells can be very easy and intuitive, but things begin to […]
Introduction to Swift Phantom Types
Hello everyone, Leo here. Today I want to share something I recently discovered, and you guessed right, the Swift Phantom Types in. The phantom type definition is a technique to create a compile-time guarantee that a given piece of data will always match our requirements. In others, a way to Swift is MORE type-safe at compile […]
The Death of View Lifecycle
Hello people, Leo here. Today I want to explain what was the old view lifecycle and why it’s already obsolete. First of all, what I’m calling the “old view life cycle” is technically the UIView lifecycle. It has some method that we can override to enable our screen to behave the way and when we wanted. […]
Swift Algorithms: Special Palindrome in Swift
Hey everybody, Leo here. Today we’ll continue the series Algorithms, the Final Frontier. Always remember, this is ONE of many possible solutions to the problem. We will this a special palindrome problem and I hope you all like it. We all know that we need some time to practice algorithms. It doesn’t come for free in […]
How to make a great Launch Screen in iOS?
Hello people, Leo Here. Today we’ll continue the Human interface Guideline Series by talking about the first thing you see on the app, we’ll talk about the launch screen in iOS. The launch screen is a very important topic when you want to cause a very good first impression. You can recall some apps you’ve downloaded […]
Algorithm No Repeats Please in Swift
Hello ladies and gentlemen, Leo here. Today we’ll continue the series Algorithms, the Final Frontier. Always remember, this is ONE of many possible solutions for the problem. The challenge today involves permutation and it algorithm is called No repeats Please a legendary Leetcode challenge. Algorithms are a very important part of our day-to-day job and it […]
Delegation in Swift
Hello folks, Leo here. Today we’ll discuss the most famous communication pattern in Swift/iOS development: the delegation pattern. The delegation pattern is very simple if we try to imagine it is just a delegation process in the real world. It’s a ONE TO ONE communication pattern, which means if we are trying to communicate to/from […]