Knowledge Bank

When to use Delegation, Notification, or Observation in iOS

Posted on Updated on

Refresh your concepts about Delegation, Notification, or Observation in iOS

Shine Solutions Group

A common problem that we often experience when developing iOS applications, is how to allow communication between our controllers, without the need to have excessive coupling. Three common patterns that appear time and time again throughout iOS applications include:

  1. Delegation
  2. Notification Center, and
  3. Key value observing

So why do we need these patterns and when should and shouldn’t they be used?

View original post 1,691 more words

What do you think of these Egyptian hieroglyphics?

Posted on Updated on

Answer by Aasim Naseem Siddiqui:

Well .. this is really a controversial piece of hieroglyph in the temple of
Abydos. Some people (who claim that Egyptians had some contact with aliens) believe that this hieroglyph is real and in original form.

Some other says that the carving was altered by the successors of Ramses II (may be Merneptah). It was a common practice among Pharaohs of Egypt to destroy the symbols and glory of their forefathers, in order to showcase themselves. Example is Hatshepsut’s temple at Deir el Bahri, where statues and wall paintings were destroyed by her own son.

The temple of Abydos was build by Seti-I and finished by his son Ramses II, greatest of all Pharaohs. So it is natural that his successors tried to erase the trans of RamsesII from the mind of common people, and brought their own image at front.

My personal believes are, even if the hieroglyph were re-carved, the exact resemblance of modern tools/weapons in more then five different shapes leaves too many questions to explore. Merely saying it is a result of re-carving doesn't justify the situation. There is lot more to explore.

What do you think of these Egyptian hieroglyphics?

First Edition of LAFZ Magazine.

Posted on Updated on

ImageClick to enlarge

Alhumdulillah first printed edition of LAFZ magazine is out now. We worked really hard to make this moment possible today. Whole team, specially Yaseer Ali Choudhar (@yac_ali on Twitter) deserves big claps.

My article also made his place in this edition. This is about empress Nur Jahan of the Mughal Empire (1577 – 1645).

You can find my other articles in LAFZ magazine about

Stay blessed …

How to record Audio in iOS Application;

Posted on Updated on

Hello dev mate;XcodeLogo
Hope you had a good weekend and refreshing Monday;

Today we’ll learn how to record audio in iOS application; Now a days, I’m working on an application where I need to record voice of user for some processing; I tried some framework classes from iOS sdk in a test project and here are my findings;

So lets start;

Read the rest of this entry »

Background processing in iOS;

Posted on

Hello everyone;
Hope things are going good around you;

I’m working on an iOS application and facing an issue regarding network calls; Need your kind suggestions incase I’m not doing the thing in right way;

Scenario: I want to download one or more zip files from some urls; The files may have different sizes, ranges from 6MB to 150MB; I’m using ASIHTTPRequest at my network layer;

Read the rest of this entry »

Substrings from NSString :: N-FAQ

Posted on Updated on

Hello iOS geeks …

Here is a small tip for getting a substring from NSString;
NSString class provide following methods for splitting a string;


- (NSString *)substringFromIndex:(NSUInteger)from;
- (NSString *)substringToIndex:(NSUInteger)to;
- (NSString *)substringWithRange:(NSRange)range;
- (NSRange)rangeOfString:(NSString *)<em>aString;</em>

Following code will demonstrate itself;

Read the rest of this entry »