It’s been a while… hell, looking now it’s been over a year since I posted something. Very sorry about that… busy times! Anyway, I’ve been doing a lot of C# development recently and may start posting some tutorials for that soon. In the meantime I needed a regular expression testing utility and although there were a few out there, I just needed something really quick and easy which would store my regex attempts. So I wrote one and am making it available for general use (but NOT resale) here.
** This application is tiny, but does require .NET 4 framework to run! **
Read more »
It was my original intention to make a universal application for iPhone and iPad but due to time constraints I’m going to throw out this tutorial on using Core Data instead. With a bit of luck it’ll help someone out! A quick note before you start, so you’re not confused later – one of the screenshots later is missing an add button. Don’t worry if yours has one – I moved a chunk of the tutorial to make it easier to follow.
This tutorial will probably take about half an hour if you’re following it carefully. Good luck! Read more »
Given the recent popularity of a few recent tutorials and the feedback / questions – I’ve opened up a simple forum so that people can discuss these tutorials and posts properly (instead of using comments). You can find the link for the discussion forums up at the top of the page or in the side bar.
Feel free to post comments in here as any future tutorials will not have commenting switched on – mainly to cure my OCD about posting tidyness!
Hello again! If you’re reading this tutorial I’m going to assume that you read part 1 and are ready to continue. In this tutorial we will take the project from part 1 and expand the second tab (the table) to include some actual table data and a transition to a ‘detail’ screen. In this instance I’m using movie names and movie images to make it look pretty. There’s a tiny bit of coding taking place here, but nothing exceptional. We won’t be making use of Core Data at this stage, just to keep things simple. Lets get on with it shall we? (*keep in mind this was written in a hurry, but has been tested!*)
Read more »
Today I’m going to present a very brief tutorial on how to use storyboarding in Xcode 4.2. When storyboarding appeared it was pretty intimidating compared to how Interface Builder used to work and I felt that Apple really threw a curve ball with this one. In reality it’s really not all that bad when you start to use it. The tutorial will show (from scratch) how to link two view controllers with a button, without coding a single line! Lets jump right in and create a new Xcode project.
Read more »
I just thought I’d write a very quick post on the above message which some of you may have seen when syncing your iPhone / iPad with iTunes. Now ordinarily this may be a self explanatory message, however it’s ‘self explanatory-ness’ may very well depend on the file it’s talking about. So for the past month or so, I’d been getting this message when syncing with iTunes…
iTunes could not copy “Phone Calls” to the iPhone <insert phone name> because the file could not be converted.
Immediately over thinking the issue, I assumed this was something to do with the register of phone calls made / received and went looking for a resolution. I didn’t find one. Finally today (after installing iOS5) it occurred to me what’s going on.
The file it’s talking about is an MP3 from an album I have. The file is corrupt and therefore cannot be converted to the 128 kbps AAC format that I have selected in the Summary screen for my phone. It just so happened that the filename looked like it could be related to the system somehow. Duh!
Technology 1 – Simon 0
Following a series of annoying ‘happenings’, late last week I decided in my wisdom that I was going to upgrade my 24″ iMac to unleash a new lease of life. After some digging around and faffing with serial numbers (and eventually digging out the original packaging) I managed to identify my mac as being a 2.8Ghz Intel Core 2 Duo (24″ – 800 Mhz) (early 2008) model, or an iMac 8,1.
Next I went onto the web to check out who’d been doing what – and discovered various posts of people upgrading their iMacs. I couldn’t find anyone who’d done specifically what I was after. Finally I decided to go with the maximum memory my iMac would allow and a chunky 240Gb SSD drive. Here’s what I eventually went for (and the locations where I bought them)…
It’s worth mentioning that Crucial have a tool which you can run on your Mac just to check what exactly is required for your specific machine. Give it a run to be sure you’re buying the right thing. So I ordered late last week (memory on Thursday and the drive on Friday) and both luckily turned up on the Saturday – sweeeeeeet. I got to work…
Read more »
A couple of days ago I wrote a quick tutorial on how to support multiple orientations in an iPhone app without any stress. Then the more astute of you will have noticed it disappeared. Well, I decided to make my Layout Manager a little more friendly and easy to use. Down at the bottom of this post you’ll find a project with a couple of demo views and the manager itself. It’s very easy to follow. Here’s the back story…
Until recently I’ve only bothered supporting portrait orientation in my iPhone apps. I suspect this was largely driven by a lack of need to support anything else, and partially an inherent laziness which always seems to prevail over my work. Anyway, turns out that sometimes I DO need to support different orientations so I went to work looking for a clean way to do it and arrived at the following solutions….
- Create two view controllers and swap them out with a navigation controller.
- Programmatically move stuff when the orientation changes.
- Run around panicking about the fact you can’t support orientation changes.
In all my searching, I didn’t find an easy way to do it, so I went for option 2 and set about making a nice clean way to get it all to just ‘happen’ without too much effort. Eventually I arrived at the solution that this blog post is all about. Here’s what I did… Read more »
I’ve probably written about the Core Data Helper too many times for one blog, but I thought just to finish it off I’d write one more article with a good solid downloadable project to demonstrate the use of Core Data Helper. Basically the helper wraps core data stuff to make accessing it a little tidier… in fact, instead of re-inventing the written wheel (?), why not read about it in the other article HERE and then come back.
So what’s this article all about then? Well, just below this paragraph is a download link to my project which very basically shows how to use the Core Data Helper. It also has a useful XML parser for pulling in some default data from an XML file to your Core Data store. I use this similar format for data which will appear in static lookups and suchlike. Go download it and take a look…. Read more »