Categories
iOS Swift tvOS Xcode

WWCD 2021

WWDC 2021 is over. We got lot of new announcements for development. Here are some of my favourites sessions of the week. In App Purchase Meet StoreKit 2 Support customer and handle refunds Swift What’s new in Swift? What’s new in Foundation? Async Await Elevate your DocC documentation in Xcode Swift AttributedString Embrace Expected Failure […]

Categories
iOS Swift

Rounded Corners

Radius for all corners I have used the possibility to make rounded corners on iOS. It’s quite straight forward using the CALayer of a view. Doing the following will round all 4 corners of the view. Adding radius for some corners Is it possible to add a rounded corner to only 2 of the corners? […]

Categories
iOS Xcode

Swift Package Manager.4

This is going to be the last post of the Swift Package Manager Series. After we create a package, then make it automated, and include it in our project, we would like to make a second package. And we would like the package A to depend on packageB. What we want Package A Package B, […]

Categories
iOS tvOS Xcode

Modules in Xcode

What is a module? In Xcode we have the possibility to create modules like in other IDE/programming languages. Maybe you are aware of dlls in C++, or jar file in Java. These are self contained pieces of program (compiled or not) which are usually responsible for a main concept. You can imagine a module as […]

Categories
iOS Swift tvOS

My first SwiftUI view

Swift UI has been around for almost 2 years now, and I didn’t have much time / opportunity to play with it. But yesterday I did my first Swift UI view. This is not very advanced, as I wanted to replace a simple table view which shows text on each cell, and handles a click […]

Categories
iOS

TODOs

How many TODO, do you have in your code? If your code base is big, or running for couple of years, I bet you have several dozen of TODOs in comments. And most likely, they are going to stay for a while. Usually we write TODOs like this ❌ TODOs got forgotten, unless you have […]