Open in app

Sign in

Write

Sign in

Pawan Manjani
Pawan Manjani

24 Followers

Home

About

Sep 24

KeyboardLayoutGuide in iOS15*

Apple says A layout guide that tracks the keyboard’s position in your app’s layout. In simple words KeyboardLayoutGuide help us to setup view frame according to the keyboard position when keyboard appears in the screen. Before iOS15 we use to import IQKeyboardManager in our project to adjust our view when…

Keyboardlayoutguide

2 min read

KeyboardLayoutGuide in iOS15*
KeyboardLayoutGuide in iOS15*
Keyboardlayoutguide

2 min read


Jul 4

CollectionOfOne in Swift

Apple says: You can use a CollectionOfOne instance when you need to efficiently represent a single value as a collection. In simple words by using CollectionOfOne we can use any single value as collection Suppose take an Example I have array of users : let arrUsers = ["Pawan", "John", "Mike"] …

Swift

2 min read

CollectionOfOne in Swift
CollectionOfOne in Swift
Swift

2 min read


Apr 21

Merge policy in Core Data

First question how to prevent duplicate entries in core data?

Swift

2 min read

Merge policy in Core Data
Merge policy in Core Data
Swift

2 min read


Aug 14, 2022

Import Specific Module in Swift

We use to import modules in our Swift file like: import UIKit But what if I say we can import specific modules in our file instead of importing the entire module

IOS

2 min read

Import Specific Module in Swift
Import Specific Module in Swift
IOS

2 min read


Jun 4, 2022

Break outer loop in Swift

Many times we have to use multiple loops in our project like below: - for i in 1...10 { print ("loop 1 at \(i)") for j in 1...5 { if i == 5 { break } print ("loop 2 at \(j)") } } Now case is that I want to…

Swift

2 min read

Break outer loop in Swift
Break outer loop in Swift
Swift

2 min read


Apr 24, 2021

intrinsicContentSize in iOS

What is intrinsicContentSize? Apple says: The natural size for the receiving view, considering only properties of the view itself. In simple words, it is the minimum size that UI Control needs to display. Confused??? Let me give a simple example

Intrinsiccontentsize

2 min read

intrinsicContentSize in iOS?
intrinsicContentSize in iOS?
Intrinsiccontentsize

2 min read


Apr 18, 2020

Dump in Swift

We all know that we use print function to print a message into the Xcode debug console print("Hello world") We can use also Dump for same propose but print() simply outputs the class name and dump() outputs the whole class hierarchy.

Dump

2 min read

Dump in Swift
Dump in Swift
Dump

2 min read


Apr 3, 2020

Computed property and Stored property in Swift

Computed property A computed variable behaves syntactically like a variable but does not actually require storage. computed property just recalculate the block of code whenever it’s called and returns the value. In short, “A computed property is one that runs some code in order to calculate the value.” Stored property The simplest form of…

Computed Property

1 min read

Computed Property

1 min read

Pawan Manjani

Pawan Manjani

24 Followers

iOS Developer(https://ioslifee.blogspot.com)

Following
  • Mohammad Azam

    Mohammad Azam

  • KD Knowledge Diet

    KD Knowledge Diet

  • ganeshrajugalla

    ganeshrajugalla

  • Codecat15

    Codecat15

  • Rizwana Desai

    Rizwana Desai

See all (8)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams