In one of my recent projects I added a content inset on the top of my table to push the start of the content down. Unfortuantely when you set the content inset the table assumes that all your sticky section headers now also start from the end of the content inset. This was not the behaviour I wanted, and instead I needed them to stick to the top of the table where the cells start to go out of bounds.
Whenever you have a couple of apps that are extremely similar, it will make sense to share the code between the two. For example, a Lite version and a Paid version of the same app, or the same app skinned differently for different clients. At first you might be tempted in duplicating the project. Don’t. If the code splits then it’s going to be a nightmare copying changes between two places, or even just having them in two separate projects.
Something I often see with pretty much every app on the AppStore with In App Purchases is that they don’t update prices if I login with an account linked to a different store than the one the prices have already loaded for.
At b2cloud we feel strongly that every App should be designed with the vision impaired in mind. The result will be a stable, intuitive and logical App that your mum could use without instruction. Take a moment out of your day and switch voice over on in accessibility settings on your iPhone or Android device.
The other week I compiled a calculator to determine what bar tint color to set a UINavigationBar to if you want the blur effect on iOS 7. This works well, but only if your RGB values are >= 102 – because Apple adjusts the RGB you set the bar to.
Lately I’ve been experimenting with darker colors, those with RGB values under 102. There is a work around, however it requires some tricks.
Too often I see UIAlertViews and UIActionSheets being setup poorly. When adding more than 2 buttons, I see a lot of people in the delegate method hardcoding button indexes (if you find yourself hardcoding anything, often you should look for a better solution).
An attributed string is a way of storing a piece of text with styling. Similar to the way html works, it can specify certain styles for bits and pieces of the text. They are pretty simple to work with if you’re adding new attributes. If you are changing attributes then things can get a bit trickier as your existing attributes may be overwritten.
In iOS7 the UIActivityViewController now supports AirDrop to share files wirelessly between two devices. Because the share tray can support a lot of different share types you may not want your users sharing the same thing with AirDrop that they can share via email or Facebook.
In iOS7, if a user wants to go back a page they can now choose between using the old back button or a newly introduced method by dragging from the left side of the screen. However this may not suit every developer’s app, and there’s a pretty easy way to disable it.
One of the new effects in iOS7 is blurred content. At WWDC this year they were showing off how to do this with snapshots and image filtering. The downside to that is that it’s a static image and wont change with the content behind the view.