Playground is one of the most popular features of Xcode. It’s an interactive development environment that allows developers to carry out simple experiments using the Swift programming language and see the output of their code in real-time.
If you’ve been following WWDC20, then you totally understand how huge this edition of WWDC has been for the whole Apple ecosystem, users, and developers. With the announcement of iOS 14, many handy features are on their way to spice up the iOS experience. One of such features is Widgets.
I know this doesn’t sound new for Android users, but this definitely is great news for iOS users. Now, developers can create widgets of their applications by making use of the new WidgetKit framework. As of now, it is in Beta and available in Xcode 12 Beta and above.
Note: You will need Xcode 12 Beta or above to be able to create Widgets. …
elseblock can exist only when an
ifblock exists before it.”
As a programmer not belonging to Python background, I was a strict follower of this rule. …