Vaibhavshipiosapp.hashnode.dev·21 hours agoLazyVStack vs List in iOS 18Day 13: LazyVStack vs List – Efficient List Building in SwiftUI 🛠️ In today's post of the #30DaysOfSwift series, we’re diving into the two essential components for building lists in SwiftUI. While both are great for displaying large amounts of conte...Discuss30 Days of SwiftSwiftUI
Vaibhavshipiosapp.hashnode.dev·Oct 23, 2024Swipe, Tap and Pinch Gestures in iOS 18Day 12: Mastering Gestures – Swipe, Tap, and Pinch ✋ In my twelfth post of the #30DaysOfSwift series, let me tell you about the Gesture Recognizers in SwiftUI. They are swipe, tap, and pinch that can bring an intuitive feel to your app, making it eng...DiscussSwiftUI
Mukund Jogimukundjogi.hashnode.dev·Oct 23, 2024Declarative UI Power: How SwiftUI, Compose, and Flutter Handle Time-Sensitive TasksHey, imagine you're building a house. With a declarative approach, you don't tell the builders to "hammer a nail here, then put a brick there." Instead, you give them a blueprint. "Here's how the house should look," you say. The builders figure out h...DiscussMagic of Declarative UIFlutter
Vaibhavshipiosapp.hashnode.dev·Oct 22, 2024Dark Mode for iOS 18 - #30DaysOfSwiftDay 11: Embrace the Night 🌙 For the eleventh post of the #30DaysOfSwift series, I am adding a Dark Mode Toggle to switch between Light/Dark modes in SwiftUI. SwiftUI natively supports Dark Mode, and today, we'll create a sleek, minimalistic UI to l...Discuss30 Days of SwiftSwiftUI
thevenkatapplelens.hashnode.dev·Oct 22, 2024Understanding the ForEach Loop in SwiftUIWhat is forEach? forEach is a special function that belongs to collections like arrays and dictionaries. It helps you loop through each element in a collection and do something with it, such as printing it or performing an action. Here’s the basic fo...DiscussSwiftUISwiftUI
Vaibhavshipiosapp.hashnode.dev·Oct 21, 2024Custom Transitions in iOS 18Day 10: Smooth as Butter Transitions 🌀 In the tenth post of #30DaysOfSwift series, we’re diving into Custom Transitions and Animations to create seamless page/view transitions in SwiftUI. With SwiftUI’s built-in animation tools, you can give your ap...Discuss30 Days of SwiftSwift
thevenkatapplelens.hashnode.dev·Oct 18, 2024🌟 SwiftUI Spacer: Flexible Space Made Simple! 🌟A Spacer in SwiftUI is a flexible layout tool that creates space between views, adjusting dynamically to fill available space. It’s commonly used to create adaptive designs! 🛠️ How It Works:The Spacer grows to take up any remaining space within a ...DiscussSwiftUIiOS
thevenkatapplelens.hashnode.dev·Oct 17, 2024Understanding Padding in SwiftUI: A Simple GuideIt's adding extra space around the object. It can adjust dynamically based on your text content. Basic Example with Padding: Text("Hello World..!") .padding() // Adds default padding on all sides .background(Color.cyan) This will add defaul...DiscussSwiftUIiOS
Sushiios-swift-explorations.hashnode.dev·Oct 17, 2024Understanding UIViewRepresentable and UIViewControllerRepresentable in SwiftUISwiftUI is an incredible framework that allows developers to build beautiful user interfaces for iOS apps in a declarative way. However, when working on real-world projects, you might come across a situation where you need to integrate an existing UI...DiscussUIViewControllerRepresentable
Mukund Jogimukundjogi.hashnode.dev·Oct 15, 2024The Recipe for Responsive UIs: State Management IngredientsHey everyone, let's talk about how we keep our UIs up-to-date, especially when things are changing all the time! Imagine building a simple counter app. You've got a button, and each time you tap it, the number on the screen goes up. But how does the ...DiscussMagic of Declarative UIAndroid