Тег ‘UI’:

Simple EKDemo – EKEvent

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.

Теги: , , , , , , , , , ,

Комментарий (1)

DDProgressView – Custom Progress View

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!

Теги: , , , , ,

Комментарии отсутствуют

My Custom UITextView with syntax highlighting

Теги: , , , , , , , ,

Комментарий (1)

Small feature with UIlabel

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, [...]

Теги: , , , , , ,

Комментарии отсутствуют

Sample usage UIDownloadBar

Hello

Теги: , , ,

Комментарий (1)

Copy UI for additiolan screen

Пример копирования объектов UI на дополнительный экран Все очень просто, для копирования необходимо выполнить всего 2 метода. 12345// copy UI // archiving data NSData *archivedData = [NSKeyedArchiver archivedDataWithRootObject: window]; //extract data externalWindow =  [[NSKeyedUnarchiver unarchiveObjectWithData:archivedData] retain]; Внимание: Интерфейс копируется только без картинок, если будут картинки, то получите креш. Так же скопированные объекты не синхронизированны. Далее [...]

Теги: , , ,

Комментарии отсутствуют

Make gradient on iPhone/iPad

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:

Теги: , , , , , ,

Комментарии отсутствуют