Open in app

Sign In

Write

Sign In

Prafulla Singh
Prafulla Singh

595 Followers

Home

About

May 3, 2021

SwiftUI: How to build text with subScript and super Script?

Xcode 12 — iOS14 — In this tutorial, We will be implementing logic to make text with Subscripts and Superscripts. To implement subscript/superscripts first we need to define a logic to understand what part of text will be carried as sub/super scripts. 1. Any text in ^{} will be treated as superscript. e.g. …

Swiftui

1 min read

SwiftUI: How to build text with subScript and super Script?
SwiftUI: How to build text with subScript and super Script?
Swiftui

1 min read


Apr 30, 2021

How to move to the next TextField SwiftUI?

SwiftUI: Fixing keyboard issues, while creating forms [iOS 14- XCode 12] — In this tutorial, we are going to implement custom TextField. This TextField will have capabilities to pass Keyboard focus. Along with this, we will also enable interactive keyboard dismissal to create better UX for views with multiple TextField like forms. Let’s divide the problem into smaller subtasks and solve them…

Swiftui

3 min read

How to move to the next TextField SwiftUI?
How to move to the next TextField SwiftUI?
Swiftui

3 min read


Apr 27, 2021

SwiftUI: How to make custom Swipe-able Cell

Xcode 12.4 — iOS 14 In this tutorial, We are going to implement custom swipe action in list cell. We will be using LazyVStack with ScrollView. It is more customisable compare to list. We are going to divide this problem into following segments Create Simple List View with or without…

Swiftui

2 min read

SwiftUI: How to make custom Swipe-able Cell
SwiftUI: How to make custom Swipe-able Cell
Swiftui

2 min read


Apr 18, 2021

SwiftUI: Animate Tab bar tab switch with a CrossDissolve slide?

XCode 12 — iOS 14 In this tutorial, We are going to implement CrossDissolve slide animation for Tab bar view. We cannot achieve CrossDissolve animation in SwiftUI itself, unless we create custom tab bar. In this tutorial, We are going to implement crossDissolve for native Tab-bar. As Tabbar does not…

Swiftui

2 min read

SwiftUI: Animate Tab bar tab switch with a CrossDissolve slide?
SwiftUI: Animate Tab bar tab switch with a CrossDissolve slide?
Swiftui

2 min read


Apr 15, 2021

iOS Architecture Cheat Sheet

Flow chart for various app architecture —

IOS

2 min read

iOS Architecture Cheat Sheet
iOS Architecture Cheat Sheet
IOS

2 min read


Apr 6, 2021

SwiftUI: How to take screenshot of ScrollView Content?

Xcode 12 — iOS 14 — In this tutorial, We will be converting ScrollView’s content into a UIImage. First, we will convert any view into the UIImage then we will extend the same logic to screenshot the entire Scroll view content. Create an extension on SwiftUI’s view, which takes the position of part of the view…

Swiftui

2 min read

SwiftUI: How to take screenshot of ScrollView Content?
SwiftUI: How to take screenshot of ScrollView Content?
Swiftui

2 min read


Apr 4, 2021

Ways to bypass App Store purchase

In-App purchase is one of the most convenient payment method for iOS Apps but Apple’s 30% cut takes out big Chunk. The Apple policy force virtual goods to be purchased only via Apple’s in-app purchase. …

In App Purchase

2 min read

Ways to bypass App Store purchase
Ways to bypass App Store purchase
In App Purchase

2 min read


Mar 29, 2021

iOS Data Storage: How to save/read local data in App?

Various methods to store/read data in iOS App — In this tutorial, We are going to learn ways to read, write, store data. Bundle A simple understanding is the resource file package, which will organize many pictures, xibs, and text files together and package them into a Bundle file. A main bundle get packaged with App. …

Swift

3 min read

Swift

3 min read


Published in Towards Dev

·Mar 14, 2021

SwiftUI: How to set Placeholder and background of TextEditor?

Multiline Text field Xocde 12 — iOS 14 [iOS 13 support here] — When using default Swift 2.0 TextEditor. There is no direct way to add palce holder. Even setting background color, changing text cursor color is not straight forward. In this tutorial we are going to implement all the basic text editor functionality missing in TextEditor. Setting Placeholder, to set placeholder we…

IOS

2 min read

SwiftUI: How to set Placeholder and background of TextEditor?
SwiftUI: How to set Placeholder and background of TextEditor?
IOS

2 min read


Mar 11, 2021

How to make Pure SwiftUI pull to refresh?

Pull down to refresh data in SwiftUI — Xcode 12-iOS 14 — In this tutorial, We are going to implement Pull to refresh using only SwiftUI components. We are going to divide this problem in two parts: Logic to detect if user pull down the scroll view Add Progress view and pull down loader animations Logic to detect if user pull down…

Swiftui

2 min read

How to make Pure SwiftUI pull to refresh?
How to make Pure SwiftUI pull to refresh?
Swiftui

2 min read

Prafulla Singh

Prafulla Singh

595 Followers

iOS Developer | Swift | Flutter

Following
  • Ross Butler

    Ross Butler

  • Nassim Nicholas Taleb

    Nassim Nicholas Taleb

  • Alex Honchar

    Alex Honchar

  • Kasper Lund

    Kasper Lund

  • Dịch Vy Vy

    Dịch Vy Vy

See all (14)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech