Stories Worth Reading

Ideas that inspire,
code that delights.

Discover thoughtful articles, tutorials, and perspectives from developers who love what they build.

5+ Stories
43 Topics
Ideas

Recent Stories

J
Joynal Abedin in

Protocol in Swift

A protocol defines a blueprint of methods, properties and other requirements that suit a particular task or piece of functionality. The protocol can then be adopted by a class, structure or enumeration to provide an actu...

3
J
Joynal Abedin in

Stacks and Frames in SwiftUI

1. Container Child Limit Container View are limited to 10 direct descendant views. If a stack contains more than 10 View then Xcode automatically throw an error: Extra arguments at positions #11, #12 in call Ex: ...

4
Stacks and Frames in SwiftUI
J
Joynal Abedin in

Custom Modifier SwiftUI

SwiftUI also allows you to create your own custom modifiers. This can be particularly useful if you have a standard set of modifiers that are frequently applied to views. Suppose that the following modifiers are a common...

4
Custom Modifier SwiftUI
J
Joynal Abedin in

Error Handling

Declaring Error Types: As an example, consider a method that is required to transfer file to a remote server. Such a method might fail to transfer the file for a variety of reasons such as there being no network connect...

5
J
Joynal Abedin in

Linear Gradient in Swift

How to Create Linear Gradient in Swift with CAGradientLayer — iOS Swift Guide [caption id=\"\" align=\"aligncenter\" width=\"602\"]   Linear Gradient Color[/caption]   With CoreAnimation and CAGradientLayer, iOS ma...

5
Linear Gradient in Swift