there is "a thing" called xdebug ;)
Very nice little trick!
iOS7 has buildin helpers to define the size of the statusbar + navigationbar height. It is a good idea to add a contentsubview to your mainview. this way you only have to take the statusbar and navbar size into account on 1 view.
In your viewcontroller use self.topLayoutGuide.length
to get the amount of points that take up your statusbar and navigationbar (if there is one)
You can also use self.bottomLayoutGuide.length
to get the size of the tabbar if you need it.
It's pretty logic that when your ViewController is inside the NavigationController, the setting is ignored. It's because the ViewController is added as a SubView for your NavigationController. :)
Extra tip:
I find it easier to define the main styles in the AppDelegate, so I have my default style like I want it. If I need to deviate from it, just change it in your ViewController.
You change default behavior of a command, that is the dangerous part i'm talking about. Perhaps it's personal preference, but I wouldn't do it. Just to prevent screw ups!
If you need to update a repo on a remote server, you first need to check the behavior of git pull otherwise you will need to fix stuff
I agree with you that it's always fixable.
This is very dangerous! Your adjusting the default behavior of git pull. If you are on a system that isn't setup correctly, than you will merge instead of rebase.
If you create a short alias for git pull --rebase, or use the full command, you will never get into trouble!
you should add a small note; this only works as of PHP 5.4