Thursday, March 10, 2016

Show hidden files in mac osx

1.Open the terminal and enter

   defaults write com.apple.finder AppleShowAllFiles YES

2.Relaunch the finder by holding alt/option and rightclick on finder and choose relaunch

The other way is true for hiding the hidden files in finder

Thursday, March 3, 2016

Find URL Schemes of any app

Here you can find url schemes for most of the apps.
http://handleopenurl.com/

iTunes Link Maker

Link directly to an app in the App Store app on the device. Determine the link to the app itself using the iTunes Link Maker at http://itunes.apple.com/linkmaker

Thursday, February 4, 2016

How to use http in iOS 9

From iOS 9 apple has adopted ATS(Application Transport Security) which is set of standards that paves way for secured communication and https is one of them.

You can bypass this adding the following key in iOS

NSAppTransportSecurity</key> NSAllowsArbitraryLoads</key> <true/></dict>

Monday, February 1, 2016

Location of provisioning profile

~/Library/MobileDevice/Provisioning Profiles

Sunday, January 31, 2016

MIME Types in Apache Web Server OSX

Its in /private/etc/apache2 there you can find mime.types configuration file.
You can change after that restart the apache to take effect of your changes

Monday, January 25, 2016

xcode make a file non-arc


  1. Build Phases -> Compile Sources
  2. Choose the file and click on it enter -fno-objc-arc on compiler flags