Fresh Beginning
  • Home
  • Portfolio
  • My Clothing Shop
  • Etsy Clothing Store
  • Buy Me A Coffee
  • Patreon
  • Speaking
  • Reading
  • About Me
  • Contact Me
Subscribe

Optimization

A collection of 3 posts
Advanced SwiftUI

Say No to AnyView in SwiftUI iOS Applications

SwiftUI allows developers to use heterogenous view types by making use of AnyView type. AnyView encloses any kind of SwiftUI type into a generic type that can be returned from a function. In this article, we will take a look at, 1. Why developers may want to use AnyView type
Jun 15, 2023 3 min read
Swift 3.0

A nice little optimization trick for Swift arrays

Swift arrays are value types that allow dynamically storing the arbitrary numbers of values without knowing the exact count at the beginning. Although this is great when you don't know the exact number of elements you're going to store in advance, you can use a nice optimization technique when you
Jan 21, 2022 2 min read
Swift 3.0

Tail Recursion Optimization

Recently I came to know about amazing concept of tail recursion optimization. If you are a computer scientist, you must be knowing what recursion is. It is a function calling itself multiple times until certain edge condition is reached. When an edge condition is reached, it returns the result at
Jan 12, 2017 4 min read
Fresh Beginning © 2025
Powered by Ghost