Why don't we have code hot swapping on mobile?
smotko.si
smotko.si
You typically just have a 'cheat code' to take you to any level or whatever so you are never far play-wise from where you want to be debugging.
If the state that you're in is more coplicated, you might need to type something, log in and do some crazy stuff to get to where you're debuging, then you see how much more anoying that gets.
While this is handy for development work, the temptation to leave it in the final version ("Hey, it works now, why 'fix' it?") would be pretty high.
Sadly, Apple doesn't allow apps to use this in release versions, as apps could more easily exploit potential flaws in the system this way, since one could bypass Apple's approval process.
More info on NSBundles here: https://developer.apple.com/library/ios/#documentation/Cocoa...
Apparently a more "low-level" approach is possible as well, but again not allowed by Apple: http://stackoverflow.com/a/10509453/250164
It packages it all up as a plugin for Xcode.
Compile, re-deploy