The core concepts of Cocoa and Cocoa touch are similar.But there is some main differences between these frameworks.After a lot of reference,I have concluded some best points regarding the differences between Cocoa and Cocoa Touch which every beginner should know before starting development.
These are basically the frameworks used for development of applications.
The core concepts of Cocoa and Cocoa touch are similar.But there is some main differences between these frameworks.After a lot of reference,I have concluded some best points regarding the differences between Cocoa and Cocoa Touch which every beginner should know before starting development.
0 Comments
You must have heard about .ipa files while developing iOS Applications or if you are into jail breaking your iPhone/iPad or iPod Touch,you probably also been looking for the illegal iOS ipa files.
In this post,I have explained about it's use and what it stands for.ipa stands for iOS App Store Package.
What is VIewController?
View controllers play a crucial role for designing most iPhone applications.Today, I am going to explain only the UIViewController Life Cycle.The UIViewController class is the base class that establishes communication between model and View in iOS MVC design pattern.
In this post we will discuss about application's background transition cycle.You must be curious to know -" what happens when user presses Home button of iOS device","what are the application states by which app goes through when user presses Sleep or Wake button", "what happens when the system launches another app".
View controllers plays a very important role in iOS applications and build the skeleton of every app you develop.A view Controller manages multiple views of your app's user interface.
-It basically loads and disposes the views, for managing interactions with those views, and coordinates responses with the suitable data objects. -View controllers also communicates with other view controllers to manage your app’s overall interface.
Prior to iOS 4.0, it was impossible to run more than one Application at the same time. What I mean to say, if you are playing a Game and try to switch to another App,you have to close the first App.
Apple resolved this issue with the introduction of multitasking operating system iOS 4.With Multitasking, you can use more than one app at a time on your iOS device.
When the user sends an App to background,they moves to an inactive state so that system can send them to a suspended state as soon as possible.If some apps have to complete some tasks or need some extra time ,they can call beginBackgroundTaskWithName:expirationHandler: or
beginBackgroundTaskWithExpirationHandler: method of UIApplication object to request for additional time
What is Bundle Identifier in Xcode ?
Answer: It's an unique string that identifies your app. It is usually written in reverse DNS notation i.e (com.Yourcompanyname.yourApp).
Objective-C is built upon the C , it’s important to know how to convert C based strings to NSString objects, and vice-versa.
A C string is simply a series of characters (a one-dimensional character array) that is null-terminated, whereas an NSString object is a complete object with class methods, instance methods, etc.
In this post we can prefer two best solutions to check if a string contains another string .We can use rangeOfString: that returns an NSRange struct {NSNotFound, 0}.
|
Archives
December 2019
Categories
All
|