iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 3
The slides explain Memory management in objective C with reference to Cocoa and IOS. Difference between ARC and manual memory management is explained. Go through the presentation to understand how memory management is done in objective C.
This presentation is about -
1)Retain,
2)Release,
3)Auto Release pool,
4)Modifiers: Strong ,weak, assign, _Auto releasing,
5)Reference Counting,
6)Alloc,
7)New,
8)Copy,
9)Mutable copy,
For more details visit -
http://vibranttechnologies.co.in/ios-classes-in-mumbai.html
The slides explain Memory management in objective C with reference to Cocoa and IOS. Difference between ARC and manual memory management is explained. Go through the presentation to understand how memory management is done in objective C.
This presentation is about -
1)Retain,
2)Release,
3)Auto Release pool,
4)Modifiers: Strong ,weak, assign, _Auto releasing,
5)Reference Counting,
6)Alloc,
7)New,
8)Copy,
9)Mutable copy,
For more details visit -
http://vibranttechnologies.co.in/ios-classes-in-mumbai.html
Performance Optimization and JavaScript Best PracticesDoris Chen
Performance optimization and JavaScript best practices tips are discussed in the talk. Here are some of the tips:
Put stylesheets at the top (css)
Move scripts to the bottom (javascript)
Provide a clean separation of content, CSS, and JavaScript
De-reference unused objects
Think Asynchronous
Working with Objects
Defer Loading Resources
Use JSLint -- Code Quality Tool
Reduce the size of JavaScript file
gzip
General JavaScript Coding Best Practices
Use === Instead of ==
Eval = Bad
Don’t Use Short-Hand
Reduce Globals: Namespace
Don't Pass a String to "SetInterval" or "SetTimeOut"
Use {} Instead of New Object()
Use [] Instead of New Array()
This time we will discuss virtual inheritance in C++ and find out why one should be very careful using it. See other articles of this series: N1, N2, N3.
Creating Single Page Web App using Backbone JSAkshay Mathur
This was presented during the workshop on the topic. The complete code of the app that was created during the workshop is available at Github https://github.com/mathurakshay/explore-venues
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 2
Slides for the 1st lecture on mobile development (dedicated to iOS) at the Faculty of Mathematics and Physics at the Charles University in Prague.
Course page: http://www.inmite.eu/en/talks/mff-2012
Presentation on some of my recent experiences with Microsoft Azure, Amazon S3, GoGrid and other cloud technologies, especially while developing:
- http://www.runsaturday.com
- http://www.stacka.com
- http://www.clouddotnet.com
I'm presenting this tonight at the London .Net User's group - but thought it would be useful to share more widely!
If you need more info, contact me@slodge.com - please mark your email with No Spam somehow... hopefully it will get through to me.
Performance Optimization and JavaScript Best PracticesDoris Chen
Performance optimization and JavaScript best practices tips are discussed in the talk. Here are some of the tips:
Put stylesheets at the top (css)
Move scripts to the bottom (javascript)
Provide a clean separation of content, CSS, and JavaScript
De-reference unused objects
Think Asynchronous
Working with Objects
Defer Loading Resources
Use JSLint -- Code Quality Tool
Reduce the size of JavaScript file
gzip
General JavaScript Coding Best Practices
Use === Instead of ==
Eval = Bad
Don’t Use Short-Hand
Reduce Globals: Namespace
Don't Pass a String to "SetInterval" or "SetTimeOut"
Use {} Instead of New Object()
Use [] Instead of New Array()
This time we will discuss virtual inheritance in C++ and find out why one should be very careful using it. See other articles of this series: N1, N2, N3.
Creating Single Page Web App using Backbone JSAkshay Mathur
This was presented during the workshop on the topic. The complete code of the app that was created during the workshop is available at Github https://github.com/mathurakshay/explore-venues
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 2
Slides for the 1st lecture on mobile development (dedicated to iOS) at the Faculty of Mathematics and Physics at the Charles University in Prague.
Course page: http://www.inmite.eu/en/talks/mff-2012
Presentation on some of my recent experiences with Microsoft Azure, Amazon S3, GoGrid and other cloud technologies, especially while developing:
- http://www.runsaturday.com
- http://www.stacka.com
- http://www.clouddotnet.com
I'm presenting this tonight at the London .Net User's group - but thought it would be useful to share more widely!
If you need more info, contact me@slodge.com - please mark your email with No Spam somehow... hopefully it will get through to me.
This tutorial will help you to understand about Java OOP’S concepts with examples. Let’s discuss about what are the features of Object Oriented Programming. Writing object-oriented programs involves creating classes, creating objects from those classes, and creating applications, which are stand-alone executable programs that use those objects.
iPhone development from a Java perspective (Jazoon '09)Netcetera
Based on experience gained in developing the popular Zurich train/tram/bus/ship timeplan transport application, wemlin, senior software engineer Ognen Ivanovski describes development for the iPhone from the perspective of an Enterprise Java developer - covering aspects about differences in the language, the architecture, the user experience, the tools, and the market.
The primary focus of this presentation is approaching the migration of a large, legacy data store into a new schema built with Django. Includes discussion of how to structure a migration script so that it will run efficiently and scale. Learn how to recognize and evaluate trouble spots.
Also discusses some general tips and tricks for working with data and establishing a productive workflow.
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
session 8 is about how to get data for network using NSURLSession and
Getting image from camera or choose Image from Gallery
this session # 8
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
session 7 is about how to get data for network using NSURLConnection and
Data Exchange format"JSON"
this session # 7
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 5
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 4
iOS development Crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
this session # 1 after the intro
introduction to iOS development, crash course in how to build an native application for iPhone.
i will be start from beginning till publishing on Apple Store step by step.
OOP Course " Object oriented programming" using java technology , slide is talking about the Java langauge Basics which need to be understood to start learning OOP
OOP Course " Object oriented programming" using java technology , slide is talking about the Java langauge Basics which need to be understood to start learning OOP
OOP Course " Object oriented programming" using java technology , slide is talking about the Java langauge Basics which need to be understood to start learning OOP
OOP Course " Object oriented programming" using java technology , slide is talking about the Java langauge Basics which need to be understood to start learning OOP
OOP Course " Object oriented programming" using java technology , slide is talking about the concept of Inheritace in Software which need to be understood to start learning OOP
OOP Course " Object oriented programming" using java technology , slide is talking about the concept of Object in Software which need to be understood to start learning OOP
introduction of OOP Course " Object oriented programming" using java technology , slide is talking about the main concepts which need to be understood to start learning OOP
3. property
@property (nonatomic, weak) NSString *stringProperty;
First our property has a locking term (nonatomic) and a
storage mechanism (weak) specified.
The nonatomic flag prevents the property from being
locked which means that multiple threads can access it
at the same time. By default, properties are atomic (so
they are locked).
Weak means that the property is not tied to the owner
(i.e. one can be released without affecting the other).
5. The basic collection classes of
the Foundation Framework
• NSSet, NSArray is immutable, so you
cannot dynamically add or remove items.
• Immutable arrays can be defined as
literals using the @[] syntax
• you’re likely to encounter the more
verbose arrayWithObjects: factory
method a class method
6. Creating Arrays
NSArray *germanMakes = @[@"Mercedes-Benz", @"BMW",
@"Porsche",@"Opel", @"Volkswagen", @“Audi"];
NSArray *ukMakes = [NSArray arrayWithObjects:@"Aston
Martin",@"Lotus", @"Jaguar", @"Bentley", nil];
NSLog(@"First german make: %@", germanMakes[0]);
NSLog(@"First U.K. make: %@", [ukMakes objectAtIndex:0]);
As you can see, individual items can be accessed through the
square-bracket subscripting syntax (germanMakes[0]) or the
objectAtIndex: method, is the standard way to access array
elements.
7. Creating Arrays
NSArray *germanMakes = @[@"Mercedes-Benz", @"BMW",
@"Porsche",@"Opel", @"Volkswagen", @“Audi"];
NSArray *ukMakes = [NSArray arrayWithObjects:@"Aston
Martin",@"Lotus", @"Jaguar", @"Bentley", nil];
NSLog(@"First german make: %@", germanMakes[0]);
NSLog(@"First U.K. make: %@", [ukMakes objectAtIndex:0]);
As you can see, individual items can be accessed through the
square-bracket subscripting syntax (germanMakes[0]) or the
objectAtIndex: method, is the standard way to access array
elements.
8. loops and conditions
Loops and Conditionals
Objective-C supports common looping and
conditionals. Here are examples of the
for(each), for(count), and while loops
9. loops and conditions
for (NSString *string in array) {
//Do Something
}
for (int i = 0; i < number; i++) {
//Do something
}
while (boolean == true) {
//Do something
}
10. loops and conditions
NSArray *germanMakes = @[@"Mercedes-Benz", @"BMW",
@"Porsche",@"Opel", @"Volkswagen", @"Audi"];
// With fast-enumeration
for (NSString *item in germanMakes) {
NSLog(@"%@", item);
}
// With a traditional for loop
for (int i=0; i<[germanMakes count]; i++) {
NSLog(@"%d: %@", i, germanMakes[i]);}
}
11. Main.m
open up Supporting Files/main.m.
we see the entry point to our application.
#import "AppDelegate.h"
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
The UIApplicationMain method is called to start our application and basically says to
run the AppDelegate.
13. AppDelegate.m
Application methods
(didFinishLaunchingWithOptions, applicationWillResignActive,
applicationWillEnterForeground, etc. )
These methods (part of the UIApplicationDelegate) are called when certain
events happen on the app object.
For example,
didFinishLaunchingWithOptions will be called when your app starts.
applicationWillResignActive is called when your app moves into the
background.
The majority of these (non-app starting) methods have to do with the app
going into the background when you should stop tasks from running, store
state, and more or when the application is coming back into an active state
14. UIViewController
Any ViewController you will create
will extends UIViewController.
Methods:
viewDidLoad,viewDidAppear,view
WillAppear,ViewWillDisappear/
DidDisappear
16. UIViewController
• ViewDidLoad - Whenever I'm adding controls to a view that should
appear together with the view, right away, I put it in the ViewDidLoad
method. Basically this method is called whenever the view was loaded into
memory. So for example, if my view is a form with 3 labels, I would add the
labels here; the view will never exist without those forms.
• ViewWillAppear: I use ViewWillAppear usually just to update the data on
the form. So, for the example above, I would use this to actually load the
data from my domain into the form. Creation of UIViews is fairly
expensive, and you should avoid as much as possible doing that on the
ViewWillAppear method, becuase when this gets called, it means that the
iPhone is already ready to show the UIView to the user, and anything
heavy you do here will impact performance in a very visible manner (like
animations being delayed, etc).
•ViewDidAppear: Finally, I use the ViewDidAppear to start off new threads
to things that would take a long time to execute, like for example doing a
webservice call to get extra data for the form above.The good thing is that
because the view already exists and is being displayed to the user, you
can show a nice "Waiting" message to the user while you get the data.
21. Assignment
1- Searching for the following topics in Objective-C
1- NSARRAY - NSMutableArray
2- NSDictionary - NSMutableArray
3- Autolayout
4- How to make Button rounded border for add Button
2- Create an View Controller that can take the student name and save student object in data collection
like "NSMutableArray"
3- after press the save button a result label will display “Hello ” + name of the student
4- Create an method that can print tall the student names that have been entered before
5- Create a button in the screen that can preform the above action for print function loop for the enter
student name
6- Advanced task :
search for an UINavigation and how to use it to navigate form one screen to another
22. THANKS
▸ Skype : amr_elghadban
▸ Email : amr.elghadban@gmail.com
▸ Phone : (+20) 1098558500
▸ Fb/amr.elghadban
▸ Linkedin/amr_elghadban
▸ ios_course facebook group : https://www.facebook.com/groups/
1161387897317786/
WISH YOU WONDERFUL DAY