Posts

Showing posts from August, 2020

A taste of MVVM and Reactive ios paradigm

Image
I like Swift, like many other object oriented programming languages. Swift allows you to represent real world objects that have some characteristics and can perform some action. I tend to think of an app as a world where each object is a person. They work and communicate. If a person can’t do the work alone, he needs to ask for help. Take a project, for example, if the manager has to do all of the work by himself, he will go crazy. So there is a need to organise and delegate tasks, and for many persons to collaborate on the project: designer, tester, scrum master, developer. After the task is done, the manager needs to be informed. This may not a good example. But at least you get the importance of communication and delegation in OOP. I was very intrigued by the word “architecture” when I started iOS programming. But after doing for a while, it all comes down to identifying and splitting responsibilities. This article tells a bit about MVC and simple Extract Class refactoring to MVVM,

What are design patterns in IOS?And Explain Design patterns using Swift

T o have a strong command over the Swift language, however, an IOS developer needs to get acquainted with the various types of design patterns that are used and implemented when designing the applications. Such trends provide highly efficient, intrusive, and stable applications. We may therefore first shed some light on a design pattern concept to know what it is.To more info visit: swift course The Three Big Computer Development Patterns in IOS  In general the architecture patterns used in the development of Swift IOS can be categorized into three major categories.  Creative Construction Conduct Creative The patterns of creational design are helpful in creating structures for the object. This provides concrete evidence in favor of artifacts, to make it suitable for a particular condition. The patterns of creational architecture include a number of methods including Singleton, Plant, Abstract, Builder etc. We will have a short discussion on each of these: The singleton solution The Sin

How to use blocks in iOS?

  In iOS, blocks are an Apple extension to the C objective language motivated by the desire to pass a small amount of code in API calls to the Grand Central Dispatch multithreading system. They also have the ability to record values from the surrounding scope, making them similar to closures or lambdas within other rogramming languages. Moreover, blocks are being available in iOS since version 4. The most fundamental form of a block is a "block literal". This includes a caret character ("^"). It is followed by a set of curly braces having the actual code. Blocks appear inline along with the rest of the user code within a method or function.The use of blocks in iOS often involves a code inclusion in “block literal” form as parameters for methods. Besides, these are part of the iOS API. The language extension that builds blocks also includes a capability known as a closure. This makes the usage of the blocks much easier and more practical. This capabil