Тег ‘iPad’:
Рубрики: iPad, iPhone on Jun.13, 2010
Написал простенькую программку ради эксперимента. С помощью программы можно ходит по корневому разделу системы, без Jailbreak. Если кто-то имеет опыт как создать фаил в директории не принадлежащей программе, без взлома устройства, и поделится! Буду очень признателен!
И собственно сам код
Теги: iPad, iPhone, Jailbreak, OS, Private, xCode, Кодинг
Рубрики: OOP, iPad, iPhone on Jun.10, 2010
+[UIImage imageNamed:]
• Reads the file, uncompresses it, caches result
• Cached copy of data is kept even if the UIImage is deallocated
• Low memory condition causes cache to be purged.
• No direct control over when cache is purged.
• Use for small frequently drawn images.
+[UIImage imageWithContentsOfFile:]
• Just reads enough of file to determine if it can open [...]
Теги: iPad, iPhone, Memory, objective-c, UIImage, UIKit, Ukraine, work, Кодинг
Рубрики: Apple, OOP, Tutorials, iPad, iPhone on Jun.09, 2010
iPhone 3D Samples from “iPhone 3D Programming Developing Graphical Applications with OpenGL ES” book.
Thanks Frank and Doris Rideout and O’REILLY
31 iPhone 3D Samples OpenGL ES 1.1 and 2.0
All links direct to http://examples.oreilly.com/
All Samples
HelloArrow
Теги: Book, C, ES 2.0, iPad, iPhone, OOP, OpenGL, Кодинг
Рубрики: Apple, iPad on Jun.06, 2010
Как вы уже поняли речь пойдет про iPad :) Девайс удобный и очень впечетляющий, но все же напоминает большой айпод тач. Огорчает отсутствие камеры. В целом ничего особенного, беру его в руки в основном когда нужно работать или почитать письма и посерфить немного.
На последней фотографии видно как отлично можно использовать устройство для презентаций. Этот пост [...]
Теги: Apple, iPad, Magic Mouse
Рубрики: Apple, Mac OS X, iPad, iPhone 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
#import < QuartzCore/QuartzCore.h>
so, example:
Теги: Gradient, iPad, iPhone, objective-c, UI, UIKit, UITabBar
Рубрики: Apple, Mac OS X, iPad, iPhone on Apr.21, 2010
Simple XML Parser based on NSXMLParser +converter to XML file
How To Setup:
insert next code to file “name of you project”_Prefix.pch
#import "XMLNode.h"
#import "XMLParser.h"
#import "XMLConvert.h"
Create and launching XMLParser.
You will get parsed data ( with XMLNode data type ) in callbackParser: method
NSURL *URLToFile = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"source" ofType:@"xml"]];
XMLParser *parser [...]
Теги: iPad, iPhone, Mac OS X, objective-c, OOP, work, XML
Рубрики: Apple, Mac OS X, iPad, iPhone on Mar.10, 2010
Sample
+ (UIImage*)greenBubble
{
if (sGreenBubble == nil) {
UIImage *i = [UIImage imageNamed:@"Balloon_1.png"];
sGreenBubble = [[i stretchableImageWithLeftCapWidth:15 topCapHeight:13] retain];
}
return sGreenBubble;
}
+ (UIImage*)grayBubble
{
if (sGrayBubble == nil) {
UIImage *i = [UIImage imageNamed:@"Balloon_2.png"];
sGrayBubble = [[i stretchableImageWithLeftCapWidth:21 topCapHeight:13] retain];
[...]
Теги: iPad, iPhone, objective-c, UIImage, UIInterface, UIKit
Рубрики: Android, Mac OS X, Mob1serv, iPad, iPhone 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 the [...]
Теги: Android, Apple, iPad, iPhone, life, Mob1serv, objective-c, OOP, Private, work, Кодинг
Рубрики: Apple, Mac OS X, OOP, iPad, iPhone on Feb.09, 2010
Many people could not find this solution! It’s really very simple solution and it does not contain any private methods and functions. It’s based on the drawRect method and the simple manipulation with the title. If the title is specified, then the text of title displays, but if not, then displays the [...]
Теги: Apple, iPad, iPhone, UIKit, UINavigationBar, Кодинг
Рубрики: Apple, iPad, iPhone on Feb.02, 2010
If you will need launch AppStore application with search request – use this example
NSString *str = @"itms-apps://ax.search.itunes.apple.com";
str = [NSString stringWithFormat:@"%@/WebObjects/MZSearch.woa/wa/search?media=software&term=", str];
str = [NSString stringWithFormat:@"%@3d4medical", str];
[[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]];
Теги: AppStore, iPad, iPhone, Mac OS X, objective-c, OOP, Кодинг