Тег ‘Private’:
Рубрики: iPad, iPhone on Jun.13, 2010
Написал простенькую программку ради эксперимента. С помощью программы можно ходит по корневому разделу системы, без Jailbreak. Если кто-то имеет опыт как создать фаил в директории не принадлежащей программе, без взлома устройства, и поделится! Буду очень признателен! И собственно сам код
Теги: iPad, iPhone, Jailbreak, OS, Private, Xcode, Кодинг
Рубрики: Android, iPad, iPhone, Mac OS X, Mob1serv on Feb.25, 2010
Hi there! We are a group of iPhone / Android developers who have developed a suite of web services to assist us and other developers in building great apps. After numerous projects we have become tired of having to set up the server scripts to do all the same things for different clients. Most of [...]
Теги: Android, Apple, iPad, iPhone, life, Mob1serv, objective-c, OOP, Private, work, Кодинг
Рубрики: iPhone on Feb.03, 2010
Presented simple and nice solution for radio buttons, based on the UIButton. Add buttons on view of controller 123456789for (int i = 0; i < 5; i++) { UIButton *but = [UIButton buttonWithType:UIButtonTypeCustom]; [but setImage:[UIImage imageNamed:@"checkbox.png"] forState:UIControlStateNormal]; [but setImage:[UIImage imageNamed:@"checkedbox.png"] [...]
Теги: Apple, iPhone, objective-c, OOP, Private, UIButton, UIImage, UIKit, Кодинг
Рубрики: iPhone on Nov.25, 2009
Make and add custom object from UIView on top UIWebView 12345678910111213141516171819202122232425262728293031323334@interface CUIView : UIView { UIWebView *web; int time; } @property (nonatomic, assign) UIWebView *web; @end @implementation CUIView @synthesize web; -(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event { BOOL forwardToSuper = YES; if (time == (int)event.timestamp) { [...]
Теги: iPhone, objective-c, Private
Рубрики: iPhone on Oct.31, 2009
The main disadvantage in the object UIWebView is lack of methods touchBegan and touchEnd. But this question has been settled by some manipulations with privates possibilities:) Thank you Satoshi Nakagawa :) PSWebView.h – empty 12345#import <uikit /UIKit.h> @interface PSWebView : UIWebView @end </uikit> If you need add method touchBegan then make step by step 1. [...]
Теги: iPhone, objective-c, OOP, Private, UIWebView, work, Кодинг
Рубрики: iPhone, OOP on Oct.08, 2009
Вариант 1 Вкратце о чем нужно помнить! Самое главное, если вы используете какие-то переменные из приват фреймверков и для них не прописаны property, обязательно пропишите! Иначе при компиляции на эти переменные будет ругаться компилятор к примеру так: 1234"_OBJC_IVAR_$_UITabBarItem._selectedImage", referenced from: _OBJC_IVAR_$_UITabBarItem._selectedImage$non_lazy_ptr in UICategory.o ld: symbol(s) not found collect2: ld returned 1 exit status Рассказывать тут [...]
Теги: Apple, iPhone, objective-c, OOP, Private, Rewrite, UITabBar
Рубрики: iPhone on Jul.30, 2009
Хороший способ подключения шрифтов. Кидаем в ресурсы наш шрифт. Вставляем и выполняем функцию. 12345678910111213141516NSUInteger loadFonts() { NSUInteger newFontCount = 0; NSBundle *frameworkBundle = [NSBundle bundleWithIdentifier:@"com.apple.GraphicsServices"]; const char *frameworkPath = [[frameworkBundle executablePath] UTF8String]; if (frameworkPath) { void *graphicsServices = dlopen(frameworkPath, RTLD_NOLOAD | RTLD_LAZY); [...]
Теги: iPhone, Private, UIFont