Тег ‘Private’:

Эксперемент

Написал простенькую программку ради эксперимента. С помощью программы можно ходит по корневому разделу системы, без Jailbreak. Если кто-то имеет опыт как создать фаил в директории не принадлежащей программе,  без взлома устройства, и поделится! Буду очень признателен! И собственно сам код

Теги: , , , , , ,

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

Universal web services suite for iPhone/iPad and Android apps

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

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

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

Radio buttons for iPhone application

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

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

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

Disabling default zoom for UIWebView

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) {     [...]

Теги: , ,

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

touchBegan/touchEnd in custom UIWebView

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

Теги: , , , , , ,

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

Rewrite UITabBar and UITabBarItem iPhone

Вариант 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 Рассказывать тут [...]

Теги: , , , , , ,

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

How to include ttf fonts in iPhone app

Хороший способ подключения шрифтов. Кидаем в ресурсы наш шрифт. Вставляем и выполняем функцию. 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); [...]

Теги: , ,

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