Local Notification Sample Code (OS 4.0 only)

Resource site

Start a new Window-based Application Project called LocalPush

Add an instance variable bgTask in LocalPushAppDelegate

Download Sample + 2 books “iPhoneMemoryManagementFinalVersion” and “ES 2.0 Programming Guide”

  1. @interface LocalPushAppDelegate : NSObject {
  2.     UIWindow *window;
  3.     UIBackgroundTaskIdentifier bgTask;
  4. }

message from background, iphone OS 4.0

It will fire up a Local Notification to remind you one min before the event which is 2 minutes due from now
[Read more...]

Tags: , , , , | Author: Vladimir Boychentsov

One Comment

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

Loading ... Loading ...

Эксперемент

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

photo

И собственно сам код

Tags: , , , , , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading ... Loading ...

UML диаграммы в Xcode

На написание данного поста меня с подвигла недавняя задача! Мне нужно было для записки и слайдов дипломного проекта предоставить UML диаграммы. Сначала по гуглил и сразу попал на страницу одной софтины, которая называется MacTranslator, забегая на перед, т.к. многие могут просто не дочитать, НЕ РЕКОМЕНДУЮ ее покапать, хотя вряд ли ее кто и купит из читателей и простых серферов веба, т.к. софтина стоит 465$, если не ошибаюсь :)

Небольшое отступление:
С Xcode средой разработки я знаком уже почти 2 года, и с версиями ниже 3-ей не работал. Многое уже освоил, но занимаюсь изучением возможностей данной среды далее. Считаю, что много интересного я еще не знаю!

Далее я нашел много интересного программного обеспечения, но ни один из продуктов мне не пришелся по вкусу и функционалу, всего 2 продукта поддерживали Objective-C, что весьма печально. В итоге я начал рисовать вручную и когда зашел в Xcode меня осенило, что я зря провел время на поиски! На сегодняшний день Xcode может все сделать за вас! Как давно есть этот функционал я не задавался вопросом, но по моим предположениям и по скриншотам, могу предположить что довольна таки давно, примерно с 2006 года точно! Судя по данному документу!

Немного еще поискав по девелоперской части сайта , наткнулся на Introduction to Xcode Design Tools for Class Modeling

Кратко о том как это делается, на одном из семплов от Apple, к примеру “QuartzDemo”:

1. Добавляем новый фаил “Class Model”
Добавление файла в Xcode для отображения UML из исходного кода Objective-C, UML from Objective-C source code

[Read more...]

Tags: , , , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)

Loading ... Loading ...

UIImage and Memory

+[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 the file.
• Reads and uncompresses the file each time it draws. Uses uncompressed size worth of memory only temporarily.
• Assigning a UIImage created this way to a UIImageView or as the contents of a CALayer also causes it to read and uncompress the file. The UIImageView or CALayer keep the expanded version.
[Read more...]

Tags: , , , , , , , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)

Loading ... Loading ...

iPhone 3D Samples from “iPhone 3D Programming” book

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

[Read more...]

Tags: , , , , , , , | Author: Vladimir Boychentsov

One Comment

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4.60 out of 5)

Loading ... Loading ...

Good book!

Do you have a great idea for a graphics-intensive iPhone or iPad application, but don’t know how to bring it to life? This book offers the perfect solution: a crash course on the OpenGL graphics library with an overview of iPhone 3D development. Whether you’re an experienced OpenGL developer looking to build iPhone apps for the first time, or an iPhone developer wanting to learn sophisticated graphics, iPhone 3D Programming addresses both in one concise, easy-to-use guide.

What does it take to build an iPhone app with stunning 3D graphics? This book will show you how to apply OpenGL graphics programming techniques to any device running the iPhone OS — including the iPad and iPod Touch — with no iPhone development or 3D graphics experience required. iPhone 3D Programming provides clear step-by-step instructions, as well as lots of practical advice, for using the iPhone SDK and OpenGL.
[Read more...]

Tags: , , , , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)

Loading ... Loading ...

купил iPad :)

Как вы уже поняли речь пойдет про iPad :) Девайс удобный и очень впечетляющий, но все же напоминает большой айпод тач. Огорчает отсутствие камеры. В целом ничего особенного, беру его в руки в основном когда нужно работать или почитать письма и посерфить немного.

На последней фотографии видно как отлично можно использовать устройство для презентаций. Этот пост я писал с iPad, не очень удобно, думаю будет удобнее если подсоединить клавиатуру.

[Read more...]

Tags: , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 3.83 out of 5)

Loading ... Loading ...

Программа для создания панорам из нескольких снимков

Удобная, простая, функциональная, и абсолютно бесплатная программа для создания панорамных фото

| Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading ... Loading ...

Make gradient on iPhone/iPad

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

  1. #import < QuartzCore/QuartzCore.h>

so, example:


[Read more...]

Tags: , , , , , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading ... Loading ...

Enable Emoji on iPhone OS 4.0 without jailbreak

1. Set up app Water Lou

2. Enter the secret code is 91929394.59

3. reboot

4. go to settings->general->keyboard->add keyboard

For displaing emoji icons in firefox you can use Grease Monkey.

Thanks waterworld.com.hk!

Replacing Emoji...
Replacing Emoji...
Replacing Emoji...

Tags: , , | Author: Vladimir Boychentsov

Leave a Comment

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Loading ... Loading ...

Page 1 of 1412345»...Last »