Uncategorized

STATIC KEYWORD IN JAVA

While getting started with any programming language, there are some keywords which we might just overlook or ignore at once and keep on going with the rest of it. In this blog I will be discussing one of the most overlooked and important keyword in Java. I must tell you this blog is not only for the people who are familiar with Java but for every programmer who faces the difficulty with the concept of 'static' keyword.

iOS, Swift

Guard in Swift

A guard statement is used to transfer program control out of a scope if one or more conditions aren’t met also called as early exit. i.e. Either you meet the condition asked, or get out of the scope.guard let is also an alternative to if let, which also unwraps optionals. guard let will unwrap an optional for you and if it finds nil inside, it expects you to exit the function, loop, or condition you used it in.