OOPS, Web and Tech (www.oopswebtech.wordpress.com) is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
One more off topic. This is a picture I took of today’s Super Moon.
Sorry if you are thinking that I live under a rock, because I discovered it now.
No, no Code here. Share this GIF!
Note: You need Apple’s Xcode to run this code. It is available for free on the mac app store. If you do not have a Mac, you can use IBM’s Swift Sandbox which is as good as Xcode.
Swift is Apple’s (rather new) language. Learn more at Swift.org.
Do not confuse a Function with a Method. A Function can be declared and called anywhere, while a Method has to be created in a Class.
For the non-computer geeks, the kernel is basically the core program of the OS (operating system), that interacts with the software and the hardware.