Get Updates By E-mail 

image

Tutorial: Manipulating Images With Touch Gestures

  •  
  •  
  •  
  •  
  •  

You’ve already seen this in numerous apps.  Images that can be dragged by holding, enlarged, shrunken and rotated with the pinch gesture.  All that being said, if you’re new to programming UIGestureRecognizers this can be a somewhat difficult task.

I’ve found a tutorial demonstrating how to easily include this functionality that is immensely useful for many different kinds of photo apps.

There is also an excellent sample project included.

The tutorial is from Roger Chapman and can be found here:
iOS Image Manipulation with UIGestureRecognizer: scale, move, rotate

Tremendously useful code if you are ever making any sort of photo manipulation app.

[via Alex Curylo]


  •  
  •  
  •  
  •  
  •  

Open Source: Library And Guide For NinePatch Image Support On iOS Platforms

  •  
  •  
  •  
  •  
  •  

The NinePatch image was introduced by Google for the Android.  The key feature of the image format is defined stretchable areas so that the image could resize to fit content without degradation.  Google has also created tools so that Ninepatch images can easily be created, and if you are developing on Android then you probably miss the lack of Ninepatch image support in the iOS SDK.

I’ve found a library that allows you to easily utilize NinePatch images within your iOS apps so you can take advantage of the usefulness of this image format, and more easily create crossplatform apps.

The library is from Tortuga22 and can be found on Github here:
https://github.com/tortuga22/Tortuga22-NinePatch

They have also written a guide with more on the NinePatch image format and how to use the library here.

You may also want to read Google’s information on the NinePatch image format.

Looks like a very useful library.


  •  
  •  
  •  
  •  
  •