OpenGL ES. Resize a UIImage the right way — Trevor’s Bike Shed. When deadlines loom, even skilled and experienced programmers can get a little sloppy. The pressure to ship may cause them to cut corners and look for a quick and easy solution, even if that solution is sure to cause trouble later on. Eventually, their coding style devolves into copy and paste programming, a lamentable tactic that involves cherry-picking snippets of code from a past project and putting them to use in the current one. Of course, the proper solution is to factor out the code into some kind of reusable library, but due to time constraints, it’s simply duplicated wherever it’s needed.
Any bugs in the original code have now spread to a dozen different places in a dozen different projects. Yet in the world of iPhone applications, copy and paste programming seems to be disturbingly common. This situation has transformed more than a few iPhone programmers into copy and paste programmers. Now imagine what happens when a thousand iPhone developers find the same snippet. License. Custom UIAlertView with UITableView « Starter Step.
Preventing a UITabBar from applying a gradient to its icon images. Changing Tint / Background color of UITabBar. iPhone Programming Tutorial. BackImage 4 Navigation.