Problem :  EXC_BAD_ACCESS but can not identify from where it comes. 😦

Solution :

Open project in xcode.

-> Groups & Files goto  Executables -> double click on active executable -> Select Arguments tab -> Add environment variable  with Name  “NSZombieEnabled” Vaule “YES” and don’t forget to check checkbox.

Now Deboug application and you will get exact line on which error comes.

After debugging remove this environment variable or uncheck it.

Have a happy debugging 🙂


iphone memory leak with navBar

Problem: User can set different themes on Iphone app so, nav bar tint color need to change as per new themes.
but always get memory leak at following statements.

self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:19/255.0 green:140/255.0 blue:130/255.0 alpha:1.0];
Leak appears when using ios 4.3.
Tried with 4.2 and wonder 🙂 no leaks.

conclusion: neglects UICOLOR leaks in ios 4.3

XAMPP for windows 7 apache not working

Problem :

I wonder as Xampp working fine for me for long period of  time but today apache not working 😦

Solution : 

I search on net and I found That

You have other software, such as the Internet Telephone “Skype” which also blocks the port 80. If the problem is “Skype”, you can:
Go in Skype to Actions –> Options –> Connection –> remove the check mark at “use port 80 for an alternate port” and restart Skype. Now it should work.

Finally it works 🙂

Refrence URL : http://www.apachefriends.org/en/faq-xampp-windows.html#nostart

As I always not logged  into skype but today I Logged in. It causes issue But finally issue was solved.