Тег ‘Apple’:

NSTableView with custom header

Default header looks like this First we want change height of header: 12NSTableHeaderView *tableHeaderView = [[NSTableHeaderView alloc] initWithFrame:NSMakeRect(0, 0, 120, 60)];     [_tableView setHeaderView:tableHeaderView]; Next step we want change NSTableHeaderCell, can make category for this class or make subclass. So, I wrote subclass. Empty category

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

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

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)

Tweeting – example of Apple

Tweeting

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

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

Get Geo tags from image

Little application for getting geo location from photo

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

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

Adding SVN revision to Xcode project

Просмотр ревизии в самом приложении предотвращает путаницу и всякие проблемы с отслеживанием текущей версии. Чтоб отслеживать версию репозитория нам нужно добавить слдеющий код bash скрипта. 12345678910REVISION=`svnversion -nc | /usr/bin/sed -e ‘s/^[^:]*://;s/[A-Za-z]//’` APPVERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${TARGET_BUILD_DIR}"/${INFOPLIST_PATH}` xported="xported" if [ $APPVERSION != $xported ]; then      /usr/libexec/PlistBuddy -c "Delete :CFBundleDisplayVersion" "${TARGET_BUILD_DIR}"/${INFOPLIST_PATH}      /usr/libexec/PlistBuddy -c [...]

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

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

Keychain

Это только часть статьи, скопировал с habrahabr.ru. Добавил для себя, но может кому-то пригодится тоже. Спасибо автору youROCK. Функции для работы с Keychain достаточно низкоуровневые (в отличие от большинства фреймворков, которые работают с пользовательским интерфейсом), и используют API на языке C. В документации от Apple есть очень объемное руководство по всем вызовам, которые поддерживаются подсистемой [...]

Теги: , , , , , ,

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

iPad TV ad

Новая реклама iPad. В рекламе есть приложение созданное нашей командой :)

Теги: , ,

Комментарий (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, [...]

Теги: , , , , , ,

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

Integrate Apple Game Center to BeerTender iPhone Game

Hello English version comming soon… Предварительно: В игре BeerTender интегрированны дополнительно онлайн скоры от mob1serv, что позволяет отображать результат игры и на других версия iOS и даже на других платформах что бывает не мало важно! Прочитав документацию от apple принялся за дело. Большинство блоков кода взято из примеров приведенных в документации. Перед началом работы непосредственно [...]

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

Комментариев (13)