In this article we are going to focus on Xcode Layout and Auto Layout tools. 1. Xcode Basic Layout Tools 2. Xcode Auto Layout Tools
Composition – Relations Between Objects And Classes
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 […]
Aggregation – Relations Between Objects And Classes
In this article we are going to continue our journey on getting a better grasp about Object Relations in Object Oriented Programming.Let’s explore Aggregation. We are speaking of an Aggregation when an Object is served as a container for a collection of other objects. For example, Imagine how a school department is served as a […]
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.
Dependency – Relations Between Objects And Classes
We are speaking of a Dependency if any changes in a class definition results to modifications in another class. A dependency between objects occurs when using concrete class names in any another class.
Reverse The Vowels – iOS Engineering Interview Question
Reverse The Vowels – iOS Engineering Interview Question We’ve been asked to write an algorithm that reverses vowels in any given message. Assuming we are not allowed to use any native Swift String functions, How do we write such an algorithm🤔? Here are some examplesHello World = Hollo WerldWelcome To RISING GALAXY = WAlcAmI TI […]
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 […]