Just like Navigation controller, Tab bar controller is also one of the most common parts of iPhone applications. As the name suggests, Tab bar controller controls the tabs within an application and provides a simple and easy access to other views of the same application. UITabBarController is the main class that handles the functionality of […]
Navigation controller is one of the most common parts of iPhone applications. As the name suggests, navigation controller controls the navigation with in an application and provides a simple and easy access to other views of the same application. UINavigationController is the main class that handles the functionality of navigation controller. UINavigationController is a subclass of UIViewController. […]
Clear responsibilities make things easier to maintain. Avoid having one monster class that does everything. Separating responsibilities also leads to reusability by minimizing dependencies, you can take a model or view class you have already written and use it elsewhere. You can think of ways to write less code. How should objects communicate? Which objects know about one another?
In previous lecture we learned how to create views and graphics in iphone. We also learned how to create complex graphics like stars, triangle in iphone using CoreGraphics (CG). In this lecture we’ll continue on that discussion of creating animated views.
When creating images from context we need to dynamically generate a bitmap image. Similarly as […]
Views are arranged hierarchically. Every view has one superview and every view has zero or more subviews. Views live inside of a window. UIWindow object is actually just a view. It adds some additional functionality specific to top level view. There is one UIWindow for an iPhone app.
Add/remove views in IB or using UIView methods:
– (void)addSubview:(UIView *)view; – (void)removeFromSuperview; […]
The Model-View-Controller (MVC) design pattern is a way of dividing your code in to independent functional areas. iPhone applications uses MVC design pattern. The model portion of MVC defines your application’s underlying data engine and is responsible for maintaining the integrity of that data. The view portion defines the user interface for your application and has no explicit knowledge of the origin of data displayed […]
This is a simple iPhone application that consists of one form. It allows you to set conversion rate. Then you can enter your source currency and hit convert button. It will convert the entered amount to your target currency. It is simple and helpful for those who are starting to learn iPhone development and are […]
Popular Posts (last 30 days)
- Attendance Management Sys… 1305 view(s)
- Applications of Stack in … 1031 view(s)
- Circular Linked Lists 915 view(s)
- Implementing Stack Data S… 675 view(s)
- Graph Implementation in C… 624 view(s)
- Simple Currency Converter… 535 view(s)
- Recursive Factorial funct… 338 view(s)
- Finding Minimum, Maximum … 324 view(s)
- GRASP Design Patterns 320 view(s)
- Boyer-Moore String Search… 243 view(s)
TagsAndroid C-Sharp C/C++ language Classes Data structures Design Pattern Eclipse Game Development Graphics Design Books HTML iPhone JAVA JAVA GUI MIPS Assembly Mobile Programming Books Object Oriented PDF PHP Programming Programming Books Programming Languages Books Python RaphaelJS REST Source Code Threads Tutorial Web Development Books