Swiftable Weekly Bytes #2

Nitin Aggarwal
Swiftable
Published in
3 min readSep 1, 2023

--

This series is a gateway to fostering collaboration, sharing knowledge, and promoting the works of talented iOS developers.

Welcome to Swiftable Weekly Bytes 

Here are the recommended articles for this week:

Elevating SwiftUI Previews with Constant Bindings

One of the most powerful features of SwiftUI is its preview system, which allows developers to see real-time previews of their UI while coding. To take your SwiftUI previews to the next level, you can leverage constant bindings.

This article will explain how using constant bindings for previews in SwiftUI can streamline your development process, enhance preview accuracy, and lead to more effective UI design.

Practical Guide to Protocol Extensions in Swift

Protocol Extensions allow you to add default implementations and computed properties to protocols. This means, that when a type conforms to a protocol, it automatically gains the functionalities provided by the protocol extension. In this article, you will see different use cases of Protocol Extension in Swift.

Custom higher-order functions in Swift

In your interviews, custom higher-order functions demonstrate strong Swift skills and problem-solving abilities, enabling you to write efficient and concise code. Be ready to explain the rationale behind your code during the interview.

In this article, you will find the most common questions based on higher-order functions in Swift.

Optionals in Swift

Optionals are an essential concept in programming, especially in languages like Swift, Kotlin, and others that aim to prevent null pointer exceptions and provide safer handling of nullable values.

In this article, you will learn about optional binding, unwrapping values, optional chaining, etc.

The Untold Story of How SwiftUI Transformed App Development

The Untold Story of SwiftUI offers an in-depth look behind the scenes, sharing the fascinating journey that led to the creation of SwiftUI — a game-changing framework that revolutionized the way we build apps for iOS and macOS. This narrative uncovers the stories of inventive minds who challenged norms and transformed the world of UI design and development. A must-read story for iOS developers

A Guide To Closures In Swift

Closures are crucial for promoting code reusability, enhancing code readability, and supporting various programming paradigms, including functional and asynchronous programming. They provide a powerful tool for defining and working with blocks of code in a flexible and expressive manner.

In this article, you will learn about closures as arguments and return values, for sorting and filtering, asynchronous operations, and capturing values.

Thank you for your support !!

We always try to recommend practical guides and amazing stuff based on iOS, Swift, SwiftUI, or anything valuable for you.

Help to grow each other:

  • Do claps if you really find it useful somehow 💛
  • Do share with your friends to help them 👬
  • Do comment in case of any question 💬
  • Connect if you want to include your article here 🤝

Follow Swiftable for more updates 👍

Keep learning !!

--

--

Nitin Aggarwal
Swiftable

Lead Software Engineer (iOS), Technical Writer, Technical Interviewer, Helping you to crack your iOS interview.