" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Handling Phone Keyboard With A DONE Button And A Default Keyboard On The Same View

Posted on November 24th, 2015 by Surbhi Garg

We can handle these by Calling Notifications for KeyboardDidShow/ KeyboardWillShow methods. But when default KeyBoard is there on the screen at that time these notification methods are not called in that case we have to call the method for calling the DONE button as the keyboard subview. On the DONE button press we can remove […]

Create hierarchy list in UITableView in iPhone.

Posted on November 24th, 2015 by Ratnesh Singh

  Draw the Table like this.   Create the new fileMyStaffCellView from Objective-C template derived fromUITableViewCell .   #import <UIKit/UIKit.h> @interface MyStaffCellView : UITableViewCell { Employee* _employee; } – (void) setScreenData:(Employee*)data; @end #import “Employee.h” #import “MyStaffCellView.h” @implementation MyStaffCellView – (id) initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString*)reuseIdentifier { self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]; if (self) { // Initialization code } […]

Change the UI of ListBox and DropDownList on the fly

Posted on November 23rd, 2015 by Aditya Acharya

The ListBox and DropDownList both are very useful for their own advantages. Their differences lie in their User Interfaces, DropDownList take less space but need more clicks to access while ListBox takes more space but provides everything itself on the page. You can easily change the UI of a ListBox to DropdownList and vice versa. […]