Ad Space 728x90

How to update the view height with animation programmatically

Common problems of writing NSLayoutConstraint Hello swift programmers, in this article we will look at how to use NSLayoutConstraint to elegantly handle the resize of view using some animation. let’s take an example In apple notes app if you notice as soon as the keyboard comes up the text fields height changes with sweet animation. which look good to eyes and gives thoughts to the brain how to they do it? ...

May 22, 2024 · 3 min · Anilkumar Kotur

How to update the view height with animation programmatically

Common problems of writing NSLayoutConstraint Hello swift programmers, in this article we will look at how to use NSLayoutConstraint to elegantly handle the resize of view using some animation. let’s take an example In apple notes app if you notice as soon as the keyboard comes up the text fields height changes with sweet animation. which look good to eyes and gives thoughts to the brain how to they do it? ...

May 22, 2024 · 3 min · Anilkumar Kotur

How to install iOS 14 beta

WWDC 2020 happened on Mon, 22 June 2020, as expected lot of new features announced and are available under the developer beta program. If you want to use them before the actual release follow these simple steps. Note: As these update are beta there is possiblity of issue like data loss and bugs. so before starting the installation back up your data. Step 1 Download iOS beta profile from https://developer.apple.com/download/ on your iPhone ...

May 22, 2024 · 1 min · Anilkumar Kotur

How to install iOS 14 beta

WWDC 2020 happened on Mon, 22 June 2020, as expected lot of new features announced and are available under the developer beta program. If you want to use them before the actual release follow these simple steps. Note: As these update are beta there is possiblity of issue like data loss and bugs. so before starting the installation back up your data. Step 1 Download iOS beta profile from https://developer.apple.com/download/ on your iPhone ...

May 22, 2024 · 1 min · Anilkumar Kotur
Ad Space 728x90

Color theory

How to choose the right color? What is Color theory? Practical guidance to create or choose the right colors for your needs. Yes, there are set of rule to create or choose colors and we will discover these rules in this article. What is color? To answer what is color, we will have to understand the components of it Hue: Name of the color is called hue. ...

May 22, 2024 · 3 min · Anilkumar Kotur

Color theory

How to choose the right color? What is Color theory? Practical guidance to create or choose the right colors for your needs. Yes, there are set of rule to create or choose colors and we will discover these rules in this article. What is color? To answer what is color, we will have to understand the components of it Hue: Name of the color is called hue. ...

May 22, 2024 · 3 min · Anilkumar Kotur

Control Transfer Statements in swift- `continue, break, fallthrough in swift

In this article, we will look at the continue, break, fallthrough keywords in swift Continue: A continue statement ends program execution of the current iteration of a loop statement and move to next iteration. Ex: Increment the values of odd number in the array func increment(array: [Int]) -> [Int] { var output: [Int] = [] for number in array { ///Check if value is even if number % 2 == 0 { ///number append to output array and move to next iteration output.append(number) continue } ///This statement is skipped for even number output.append(number + 1) } return output } ...

May 22, 2024 · 2 min · Anilkumar Kotur
Ad Space 728x90

Control Transfer Statements in swift- `continue, break, fallthrough in swift

In this article, we will look at the continue, break, fallthrough keywords in swift Continue: A continue statement ends program execution of the current iteration of a loop statement and move to next iteration. Ex: Increment the values of odd number in the array func increment(array: [Int]) -> [Int] { var output: [Int] = [] for number in array { ///Check if value is even if number % 2 == 0 { ///number append to output array and move to next iteration output.append(number) continue } ///This statement is skipped for even number output.append(number + 1) } return output } ...

May 22, 2024 · 2 min · Anilkumar Kotur

Class vs structure in Swift

In this article, we will learn about classes and Structs, the Difference between classes and structs and common features. Class Classes are reference types. It means that if you assign an instance of the class to a variable, it will hold only the reference to the instance and not the copy. class Person { var name: String init(name: String) { self.name = name } } var ceo = SomeClass(name: “steve”) var newCeo = ceo //ceo and newCeo now reference the same instance! newCeo.name = “Tim” ...

May 22, 2024 · 2 min · Anilkumar Kotur

Class vs structure in Swift

In this article, we will learn about classes and Structs, the Difference between classes and structs and common features. Class Classes are reference types. It means that if you assign an instance of the class to a variable, it will hold only the reference to the instance and not the copy. class Person { var name: String init(name: String) { self.name = name } } var ceo = SomeClass(name: “steve”) var newCeo = ceo //ceo and newCeo now reference the same instance! newCeo.name = “Tim” ...

May 22, 2024 · 2 min · Anilkumar Kotur
Ad Space 728x90
Ad Space 728x90