Тег ‘UI’:
Рубрики: others on Nov.06, 2011
Now we have controller for creating events. This controller included from 4.0 iOS SDK. SimpleEKDemo The application uses table views to display EKCalendar object and EKEvent objects retrieved from an EKEventStore object. It implements EKEventViewController for viewing and editing existing EKEvents, and uses EKEventEditViewController for creating new EKEvents.
Теги: EKCalendar, EKEvent, EKEventStore, EKEventViewController, iOS, iPad, iPhone, objective-c, UI, UIKit, UITableViewController
Рубрики: others on Nov.05, 2011
DDProgressView is a custom progress view à la Twitter for iPhone. DDProgressView works on both iOS and Mac OS. You must also compile the AppKitCompatibility.m file when targeting Mac OS. Thanks, Damien DeVille!
Теги: Apple, github, iOS, Mac OS X, OOP, UI
Рубрики: Apple, iPad, iPhone on Jan.15, 2011
Add framework QuartzCore 12345678910111213141516#import <QuartzCore/QuartzCore.h> UILabel *label = [[UILabel alloc] init]; [label setTextColor:[UIColor whiteColor]]; [label setBackgroundColor:[UIColor darkGrayColor]]; [[label layer] setBorderWidth:2]; [[label layer] setCornerRadius:15]; [[label layer] setBorderColor:[UIColor whiteColor].CGColor]; [label setAlpha:0.8]; [label setTextAlignment:UITextAlignmentCenter]; [label setFrame:CGRectMake(0, [...]
Теги: Apple, iOS, objective-c, QuartzCore, UI, UIImage, UIKit
Рубрики: iPad, iPhone on Oct.20, 2010
Теги: iOS, UI, UIDownloadBar, UIKit
Рубрики: iPad, iPhone on Oct.20, 2010
Пример копирования объектов UI на дополнительный экран Все очень просто, для копирования необходимо выполнить всего 2 метода. 12345// copy UI // archiving data NSData *archivedData = [NSKeyedArchiver archivedDataWithRootObject: window]; //extract data externalWindow = [[NSKeyedUnarchiver unarchiveObjectWithData:archivedData] retain]; Внимание: Интерфейс копируется только без картинок, если будут картинки, то получите креш. Так же скопированные объекты не синхронизированны. Далее [...]
Теги: iOS, Obj, UI, UIKit
Рубрики: Apple, iPad, iPhone, Mac OS X on May.30, 2010
It’s easy! As of iPhone SDK 3.0, custom gradients can be implemented very easily, without subclassing or images, by using the new CAGradientLayer add framework 1#import < QuartzCore/QuartzCore.h> so, example:
Теги: Gradient, iPad, iPhone, objective-c, UI, UIKit, UITabBar