Through reading this short article you’ll be taking yet another big step towards familiarising yourself with Object Relations in Object Oriented Programming. In this article you’ll be served with explanation about Composition. To get a better grasp on today’s topic, before we go on with this article, I highly encourage you to read my article […]
Association – Relations Between Objects And Classes
A. There may be cases where Object B interacts with Object A and vice versa. In such a scenario we are dealing with a Bidirectional Association.
Caesar Cipher – iOS Engineering And Algorithms
For this article I have decided to write a Caesar Cipher algorithm. First let me give you a brief intro to this subject. A Caesar Cipher is a basic encryption algorithm that takes all the letters of a message and encrypts them by shifting them over some fixed amount. For example a Caesar Cipher with […]
Power Of N – iOS Engineering Interview Questions And Algorithms
Today I wanted to challenge myself and try to write a function to determine if an integer is a power of N? For example:Input: 1Output: trueExplanation: 2^0 = 1Input: 16Output: trueExplanation: 2^4 = 16 Input: 218Output: false Even though the Swift SDK has a built in functionality to accomplish this task, I was eager to […]