How to Generate Random Numbers in Swift !
Generate Random Numbers in Swift : Random number is the unprecedented and unpredictable, Sometimes we use Random number to choose instances in Games or is Arcade game or poping-out the blocks from block game. In game development, you use random numbers…
Google Gson for converting Java objects to JSON and JSON to Java Objects
Java objects to JSON and JSON to Java Objects : Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson is an Open Source project,…
What is Custom Exception in JAVA ?
What is Custom Exception in JAVA ? In Java, there are two types of exceptions – checked and unchecked exception. Here’s the summary : Checked – Extends java.lang.Exception, for recoverable condition, try-catch the exception explicitly, compile error.…
How to change date format in a String in JAVA
How to change date format in a String in JAVA The java.text.SimpleDateFormat class is used to both parse and format dates according to a formatting pattern you specify yourself. When parsing dates, the Java SimpleDateFormat typically parses the date from…
How to use @available and #available and when to use it ?
How to use @available and #available and when to use it ? In Swift, you use the @available attribute to control whether a declaration is available to use when building an app for a particular target platform. Similarly, you use the availability condition…
What is the @objc attribute and when to use @objc in swift code?
What is the @objc attribute and when to use @objc in swift code? The @objc attribute makes your Swift API available in Objective-C and the Objective-C runtime. A Swift class or protocol must be marked with the @objc attribute to be accessible and usable…
What is Overflow Error in Software Programming
What is Overflow Error in Software Programming There are two types of overflow errors; 1-one has to do with the internal memory stack of the program, 2-other has to do with the amount of memory used to store data. Each program has a section of memory…
How to change Status Bar text color in iOS
How to change Status Bar text color in iOS The status bar can have a dark and light appearance inside an app In this tutorial the appearance of the status bar will be changed Open Xcode and create a new Single View App. For product name, use…
How to Upgrade Your WordPress Software Manually
How to Upgrade Your WordPress Software Manually Upgrading WordPress manually is the least-used method mainly because the automatic method is so easy and quick. In some rare circumstances, you would manually upgrade WordPress because your web-hosting…
How to Install WordPress Plugins Manually
Installing plugins from the WordPress Dashboard is so easy that you probably never need to know how to install a plugin manually via FTP. But the technique is still helpful to know in case the WordPress Plugin Directory is down or unavailable. Go to the…