Kellen Styler Logo
  • Kellen Styler Flickr
  • Kellen Styler Linked In
  • Kellen Styler Facebook
  • Kellen Styler Twitter
  • Kellen Styler RSS
  • Home
  • iOS
    • iPhone
    • iPad
    • Objective-C
    • iOS Tips and Tricks
    • iOpenSource
  • iOS Applications
    •   Mic Recorder for iPhone  
  • About Me
  • Get in Touch
  • KS History
    • KS V.15
    • KS V.14
    • KS V.13
    • KS V.12
    • KS V.11
    • KS V.10
    • KS V.9
    • KS V.8
    • KS V.7
    • KS V.6
    • KS V.5
    • KS V.3
    • KS V.2
    • KS V.1
  • iOS Application
Sitemap Archives
Home » iPad

iPad

Jan20 0

I am now at D3signerd.com

Posted by flakeskstyle on Jan 20, 2012 in iOS, iOS Application, iOS Tips and Tricks, iOSOpenSource, iPad, iPhone, Objective-C, Site History, Tutorial, Uncategorized, Version History | 0 comments

I am in the process of moving all my content over to a new hosting provider. You will now be able to follow me and my rants over at www.d3signerd.com

Read More
Sep20 0

Adding TouchOutside functionality to a UIView in iOS

Posted by flakeskstyle on Sep 20, 2011 in iOS, iPad, iPhone, Tutorial | 0 comments

Download Example

A pple has done a good job in regards to touch notifications within the UIView. But, as with any framework, I need just a little more. I kept running into situations that required the need to know if the user has tapped outside of a UIView’s bounds. As you may have guessed, Apple did not bake this into the default UIView functionality. So I decided to put together a clean solution and in the end I was able to create a simple delegate enabled UIView that could easily be added to your project.

Lets walk through creating this functionality in a UIView and then how to add it to a project.

^Creating our Touch Outside enabled UIView

To start off we are going to create the custom UIView classes. Create two new files in your project and name them “TOTouchUIView.h” and “TOTouchUIView.m”. The open up the new header file, TOTouchUIView.h, and add the following lines of code in bold.

(more…)

Read More
Sep13 2

Deep-dive into CALayer Shadows in iOS

Posted by flakeskstyle on Sep 13, 2011 in iOS, iPad, iPhone, Tutorial | 2 comments

Download Example

T oday I dug into how CALayer shadows work in iOS. I know there are several posts out there that do a good job of explaining how to add one. I just did not find one that felt complete. In addition to how to add a shadow, I had learned a few tricks that help optimize those layers for less of a performance hit to your application!

Let’s jump in and see how!

^How do I add a basic shadow?

Hold on, lets take a quick step back. Before we can start to interact with the layers in an application we need to import the Quartzcore header file. Normally I would import this in my class header file like I did below

(more…)

Read More
Sep12 0

Embedding fonts in your iOS App

Posted by flakeskstyle on Sep 12, 2011 in iOS, iPad, iPhone, Tutorial | 0 comments

Download Example

O ne of my favorite ways to set an application apart from the rest would be to add a custom font. Designers love this because it will give more character to your products and it is easy to do. So, lets look at how this is done.

^How do you add your font?

There are only a few steps that you need to take in order to add a custom font. First, you need to add your font to your xcode project. I like to keep things a little organized and will create a grouping structure similar to this: MainFolder/Resources/Fonts. Look at the example below.

(more…)

Read More
Sep09 0

Image Anti-Aliasing in iOS

Posted by flakeskstyle on Sep 9, 2011 in iOS, iPad, iPhone, Tutorial | 0 comments

Download Example

R ecently I had been playing around with a lot of object transforms in iOS and I noticed that the more you scale and rotate an image, the more it would start to show jagged edges or pixelate. At first I thought this was an issues with the image itself. Later I found out that this was an issue in iOS with no real good solution. First of all I was a little surprised that this was even an issue but after a few hours of playing around I eventually found a few tricks that will provide better anti-aliasing and smoother images.

^Providing a clear border around your images

I had found that no matter what you did to your images the borders would always end up jagged and I had tried just about everything. For example I had been using a UIImageView and settings like the following made no difference at all.

aliasImage.clipsToBounds = NO;
aliasImage.layer.masksToBounds = NO;

(more…)

Read More

About Me



31
New York, NY

profile for Designerd at Stack Overflow, Q&A for professional and enthusiast programmers

Recent Posts

  • I am now at D3signerd.com
  • Turn FIXME, TODO, and !!! comments into compiler warnings within xcode
  • Customizing the Jump bar function menu in xcode with TODO, FIXME, and more
  • Add custom Warning messages to your code in Objective-C
  • Pragma Mark to organize your source code

Whats popular

Actionscript After Effects CALayer CSS Directive Fast Enumeration Fireworks FIXME Flash Flashbuilder Flex Flexbuilder Flickr Fonts Google Maps HTML Illustrator iOS iPad iPhone Macros NSArray NSDictionary NSMutableArray NSMutableDictionary NSMutableSet NSSet Objective-C OpenSource Photoshop PHP Pragma Mark Spark Spark Skin Swift 3D Swiz TODO UIImage UIView Warning Xcode


QR

Disclaimer

This blog contains my personal thoughts and experiments and not those of my employer.
Creative Commons
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Site Links
  • Sitemap
  • Archives
  • KS History

@pixelRanger *twitter

  • RT @bengfarrell: I'm learning Dojo now! Why not ExtJS? Why not just use jQuery? Here's why: http://t.co/EmChsT0d. 2012/02/21
  • My services for a glass of McAllen 12 year 2012/02/21
  • RT @mindmillmedia: Introducing the ST2 Power Tools project for Sencha Touch 2 Development productivity - http://t.co/E2dNu9C4 2012/02/14
  • Looking forward to what's next! @mindmillmedia: Getting Setup for Sencha Touch 2 Development on Your Mac - http://t.co/hAUV2cjO 2012/02/14
  • Need a loading gif? http://t.co/eNU6rUi3 2012/02/10

Mentors & Friends

  • Ben Clinkinbeard
  • David Tucker
  • Finch
  • Flex Cubed
  • Flex Food
  • Histos
  • Joao Pedro Canhenha
  • Merhl
  • Mike Nimer
  • Nate de Jager
  • The Keunster
  • Tj Downes
  • Trice Designs
  • Truth and Lies
  • Under the Influence of Design

Resources

  • Stack Overflow
  • Swiz Framework

Thank you for stopping by.      - Kellen Styler :: Designerd

WWW.KELLENSTYLER.COM | © 2006-2011 ALL RIGHTS RESERVED