Рубрика: ‘iPad’

Streatch image

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

Теги: , , , , ,

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

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

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

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

Custom UINavigationBar with image and back button

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

Теги: , , , , ,

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

How to launch AppStore application with request?

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]];

Теги: , , , , , ,

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

convert iPhone xib to iPad/iPhone xib

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

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

Samples code for iPad development from apple

ToolbarSearch
This sample shows how to use a search field in a toolbar. When you start a search, a table view displaying recent searches matching the current search string is displayed in a popover.
New controller:
UIPopoverControllerDelegate

Create a navigation controller to contain the recent searches controller, and create the popover controller to contain the navigation controller.
UINavigationController *navigationController [...]

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

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

Many information about development for iPad in one place

From Apple Site
Xcode/Developer Tools

Changing an iPhone Executable’s working directory from “Build Products directory” may cause the application not to install properly with the error message “The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which does not exist.”
You may only use .png files for application icons for the [...]

Теги: , , , ,

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

Дизайним интерфейс в приложениях iPhone

На сегодняшний день всем хочется красивости и примочек, iPhone приложения не исключения! Вот реализовал по своему. Может кому покажется не так. Если у вас есть другие, более оптимальные варианты реализации, буду рад выслушать.
Вот что из этого получилось:
Объект first выдвигается и задвигается с левой стороны, а second с правой стороны, плюс можно перемещать за любое место [...]

Теги: , , , , ,

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