Open in app

Sign In

Write

Sign In

Shashank Thakur
Shashank Thakur

342 Followers

Home

About

Published in

Level Up Coding

·2 days ago

Closures vs. Delegates in Swift iOS

How to make the right choice? — Swift iOS development offers various mechanisms for handling events and passing data between objects, and two of the most commonly used patterns are closures and delegates. …

Programming

3 min read

Closures vs. Delegates in Swift iOS
Closures vs. Delegates in Swift iOS
Programming

3 min read


Published in

Level Up Coding

·3 days ago

Actor vs. Class in Swift

Understanding Concurrency Models — Swift, Apple’s programming language for iOS, macOS, watchOS, and tvOS development, has evolved significantly over the years. One of the most notable changes is the introduction of concurrency support to simplify writing multi-threaded and parallel code. In this blog post, we’ll explore two fundamental constructs for managing concurrency in Swift…

Programming

4 min read

Actor vs. Class in Swift
Actor vs. Class in Swift
Programming

4 min read


Published in

Mobile App Development Publication

·4 days ago

Restricting a Protocol to Classes in Swift

Deep Dive in to Why & How In Swift, protocols are a powerful feature that allows you to define a set of methods and properties that a conforming type must implement. By default, protocols can be adopted by both classes and structs. However, there are situations where you might want…

Programming

3 min read

Restricting a Protocol to Classes in Swift
Restricting a Protocol to Classes in Swift
Programming

3 min read


Published in

Mobile App Development Publication

·Sep 15

Understanding Discardable Results in Swift

A Valuable Tool in Swift For Code Readability and Managing Functions that Return Values — Swift is known for its strong emphasis on type safety and code readability. One feature that aligns with these principles is the @discardableResult attribute. This attribute allows you to mark a function's return value as "discardable," meaning that you can choose to ignore the return value without generating a compiler…

Programming

3 min read

Understanding Discardable Results in Swift
Understanding Discardable Results in Swift
Programming

3 min read


Published in

Mobile App Development Publication

·Sep 13

Understanding Access Levels in Swift with Examples

Access levels are a powerful tool for maintaining code organization and protecting your code’s integrity — Access control is a vital aspect of Swift, the modern and safety-conscious programming language from Apple. It allows developers to finely manage how different parts of their codebase interact with one another. In Swift, there are five distinct access levels, each serving specific purposes. …

Programming

4 min read

Understanding Access Levels in Swift with Examples
Understanding Access Levels in Swift with Examples
Programming

4 min read


Published in

Level Up Coding

·Sep 12

State vs Binding in SwiftUI

A Comprehensive Comparison With Examples — SwiftUI, Apple’s declarative framework for building user interfaces, offers two fundamental property wrappers for managing data and updates within views: @State and @Binding. These tools are vital for creating dynamic and responsive apps, but it's essential to grasp the key distinctions between them and learn when to use each effectively…

Programming

4 min read

State vs Binding in SwiftUI
State vs Binding in SwiftUI
Programming

4 min read


Published in

Swiftable

·Sep 11

Benefits of using #pragma mark in Swift

A Swift Preprocessor Directive — As a Swift developer, you may have come across the term #pragma mark in your code or while reading through documentation. This seemingly cryptic phrase is not unique to Swift; it's actually a preprocessor directive used in various programming languages, including Swift and Objective-C. …

Programming

3 min read

Benefits of using #pragma mark in Swift
Benefits of using #pragma mark in Swift
Programming

3 min read


Published in

Level Up Coding

·Sep 10

How To Use Property Wrappers with Function Arguments in Swift

Property Wrappers with Function Arguments — Property wrappers are a powerful and flexible feature introduced in Swift that allows you to add custom behavior to properties. While property wrappers are often associated with properties at the class or struct level, you can also use them with function arguments. …

Programming

3 min read

How To Use Property Wrappers with Function Arguments in Swift
How To Use Property Wrappers with Function Arguments in Swift
Programming

3 min read


Published in

Mobile App Development Publication

·Sep 8

Mastering Date Formatting in Swift

Versatile and powerful ways of working with date and time formatting — Working with dates and times is a common task in software development, whether you’re building a calendar app, handling timestamps, or formatting dates for display to users. Swift provides a powerful tool DateFormatter to help you handle date and time formatting with ease. …

Programming

3 min read

Mastering Date Formatting in Swift
Mastering Date Formatting in Swift
Programming

3 min read


Published in

Mobile App Development Publication

·Sep 6

Using Tuples The Right Way in Swift

Best Practices and Effective Patterns — Tuples are a fundamental and versatile feature in Swift, allowing you to group multiple values into a single compound value. While they are simple to use, understanding how to use tuples effectively and following best practices can lead to cleaner, more maintainable code. …

Programming

3 min read

Using Tuples The Right Way in Swift
Using Tuples The Right Way in Swift
Programming

3 min read

Shashank Thakur

Shashank Thakur

342 Followers

Philosopher, Mobile Developer, Nature Lover

Following
  • Priyanka Vergadia

    Priyanka Vergadia

  • priyanka vergadia

    priyanka vergadia

See all (8)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams