Artur Gruchała
  • Home
  • Image processing
  • RxSwift course
  • About
  • Privacy policy
Copy on Write in Swift explained with examples

Copy on Write in Swift explained with examples

2 years ago 3 min read SwiftFoundation
Theory According to Wikipedia - Copy on Write "is a resource-management technique used in computer programming to efficiently implement a "duplicate" or "copy" operation on modifiable resources."
Read Now Read Later
Artur Gruchała
By: Artur Gruchała
Testing async/await exceptions

Testing async/await exceptions

3 years ago 2 min read SwiftTestingXcode
We all know how testing your code is important for stable releases and early bug detection. We should test happy paths, corner cases, and thrown errors. Old school Before async/await coroutines were
Read Now Read Later
Artur Gruchała
By: Artur Gruchała
Bidirectional collection view with orthogonalScrollingBehavior

Bidirectional collection view with orthogonalScrollingBehavior

3 years ago 2 min read SwiftUIKit
Before iOS 13, if you wanted to have a vertical collection view with horizontally scrolling sections it required embedding a scroll view inside the collection view cell, passing the model around, handling touch
Read Now Read Later
Artur Gruchała
By: Artur Gruchała
The power of Compositional Layout

The power of Compositional Layout

3 years ago 6 min read UIKitSwift
With iOS 13 Apple introduced a new and very powerful way of creating layouts for UICollectionView - UICollectionViewCompositionalLayout. The compositional layout uses three types of "building blocks": - item - describes
Read Now Read Later
Artur Gruchała
By: Artur Gruchała
SwiftGen - Strongly typed assets in Xcode

SwiftGen - Strongly typed assets in Xcode

3 years ago 3 min read MiscSwiftXcode
I remember when I was in university, learning Android SDK and writing my first mobile app. All assets were bundled together in nifty R class. With this autogenerated assets class, developers could use
Read Now Read Later
Artur Gruchała
By: Artur Gruchała
Newer Posts
Page 4 of 10
Older Posts
© All rights reserved.
Artur Gruchała