Hacked By MuhmadEmad


<br /> HaCkeD by MuhmadEmad<br />

HaCkeD By MuhmadEmad

Long Live to peshmarga

KurDish HaCk3rS WaS Here

[email protected]

How to automatically resize UIImageView to image size in Interface Builder


It’s always frustrated me that when I create a UIImageView in Interface Builder I need to manually enter the size of view so that it matches the size of the image. I always go into Finder, open the image in Preview, find out the dimensions and type them into Interface Builder. Painful!

I learned a much better way today. Just drag in a UIImageView object into your .xib. Set the image in the Attributes Inspector. Then select the UIImageView and press Command =. Boom! The UIImageView is automagically resized to the size of the image!

This was the #1 thing that annoyed me about Interface Builder.

John Gilchrist iPad apps released!


Good news – the John Gilchrist apps for Cheap Eats and Calgary Eats have been designed for iPad, and are available on the App Store as of tonight!

Cheap Eats 2 by John Gilchrist

Calgary Eats 7 by John Gilchrist





To celebrate the release, the base apps are on sale for $1.99 for a limited time. The app is universal for iPhone/iPad and is a free upgrade for existing users.

I personally find it very enjoyable to browse through the books while sitting comfortably on the couch with my iPad in my hands. Now you have a list and a map of all restaurants visible at the same time, in both landscape and portrait mode. The review text generally fits on one screen, so it’s easy to read.

If you are the proud owner of a new iPad, you’ll be pleased to know this app is optimized for the Retina display. The text is razor sharp, and the maps look beautiful. It also has a fun new animation at startup.

Questions? See the FAQ page.

Here’s a screenshot of the app on iPad:



Presentation slides and code from my “Polishing Your App” YYC Dev Camp talk now available


I’ve released the presentation notes and posted the code from my YYC Dev Camp #6 talk last week.

Presentation Slides

The presentation slides are available here as a PDF.

Hopefully I’ll soon do a blog post to walk through the steps, but for now, the code is available on GitHub in fully functional examples projects. These are released royalty free for your use (but not the included sample images, those are copyrighted).

Custom UINavigationBar and Stretchable Custom Back Button Code

Here is the project that shows how to create custom UINavigationBar background images on both iOS 4 and iOS 5. It also shows how to create a custom back button that has a text-based title (i.e. not baked into the image) using a stretchable image. I originally learned how to do this from iDev Recipes – How do iPhone apps Instagram/Reeder/DailyBooth implement custom NavigationBars with variable width back buttons? but I have refactored the code significantly to make it more modular and easy to use.

Here is the code:


Full Screen Animations – Path-style open book animation and falling star animation

The other sample code shows how to do a couple of full screen animations. First, it performs a Path-style open book animation when the app opens. This will be included in an upcoming version of the John Gilchrist Calgary Eats and Cheap Eats apps. This works on both iPhone  (portrait only) and iPad (in any orientation). It also shows how to do the falling-star animation used in those same apps.


Here is the code:



I’m giving a talk on iPhone programming tomorrow!


Just a quick note to say that I’m giving a talk tomorrow at YYC Dev Camp #6 held at the University of Calgary. It’s put on by Robots and Pencils, who I do most of my work with.

The description of my topic on various places on the web isn’t great (long story). The topic will be:

Polishing Your App

Tips & Tricks to make your app stand out

Once you have your app functional and feature complete, here are some ways to add a little polish to make it stand out. Things like custom navigation bars, custom back buttons, stretchable images, and animations.

I work with most of the other speakers, and they are some very smart guys who will have definitely have interesting things to say. Come on by if you can. Price is $15 to cover the cost of the venue and food:



Jeremy Gale

© Copyright Force Grind - Theme by Pexeto