Author Archives: amar

How to fix invalid product ID in In-App Purchases

Yesterday after application that I’m programming for a client being rejected once again from Apple because of “inappropriate use of In-App Purchases” I had to delete old one and create a new one in iTunes Connect. Of course after that … Continue reading

Posted in iPhone | Tagged , , , , , , , , , , , , | Leave a comment

Migrating Acronis backup server to another machine

Today I have migrated Acronis backup server (0lder version) to another machine. Procedure is simple: install backup server on another machine configure backup location stop the service copy all files from old server to new server in configured backup location … Continue reading

Posted in Tips and tricks | Tagged , , , , , , , | Leave a comment

Ad Hoc distribution of iOS apps over web – revised

Here is small update of my first post on Ad Hoc distribution of iOS applications over the web which you can find on this link. I have discovered that it can be even easier to distribute apps to beta testers … Continue reading

Posted in iPhone, Tips and tricks | Tagged , , , , , , , , , , | 3 Comments

Disable Cmd+Q in Firefox

There isn’t a number of situations where I pressed Cmd + Q and closed Firefox instead of Cmd + W and closing current tab and I have tried a lot of different things to stop it from custom keyboard shortcuts, … Continue reading

Posted in Tips and tricks | Leave a comment

Automatic sync of CodeBox library between several macs

So yesterday Apple has released 10.6.6 update with App store for Macs. One of my first purchases was CodeBox from Vadim Shpakovski. This application is really must have for all developers, but I have few things that I need for … Continue reading

Posted in iPhone, Tips and tricks | Tagged , , , , , , , , , , , | 9 Comments

Restoring of deleted accounts on Windows domain

Yesterday I tried to remove Exchange 2007 from Windows PDC because we have migrated to Gmail and Exchange is still eating lot of resources from it so one of the steps in removing it was to delete old mailboxes. But … Continue reading

Posted in Tips and tricks | Tagged , , , , , , , , , , , , | 3 Comments

Display CGRect frame values in NSLog

Here is simple tip to display frame values of any UIView with NSLog NSLog(@”My view frame: %@”, NSStringFromCGRect(myView.frame)); After this run your app and in Debugger Console you will se output where values are written in x, y, width, height … Continue reading

Posted in iPhone, Tips and tricks | Tagged , , , , , , , | 2 Comments

Custom colored grouped UITableView background image in Photoshop

As promised on Twitter to @StefaanLesage here is the .psd file with dimensions for iPhone4. How to edit it: open file select foreground or background layer and apply own colors select foreground layer and marquee tool right click on image … Continue reading

Posted in iPhone | 2 Comments

Create rounded UIViews with shadow

So here is small tip how to create rounded UIViews with shadow. Create simple Window-based Application with name TestApp. Click on File->New file and select Objective-C class with UIView subclass and name it MyView Now open MyView.m and edit initWithFrame … Continue reading

Posted in iPhone, Tips and tricks | Tagged , , , , , , , , , | 3 Comments

Find and decrypt cisco group password on Mac

So today I wanted to move one Cisco VPN connection from my MBP to another mac. The problem was that I didn’t received any .pcf file from admin, I got only group login and password (which I didn’t wrote down). … Continue reading

Posted in Tips and tricks | Tagged , , , , , , , , , | Leave a comment