I want to get into building simple apps and learning Xcode and Swift. I don't have a Mac yet and can't afford the latest models. My question is what year model I need to get for developing. I've read online that some get by with 2009-2010 and some say you need a later model. I know you need the latest OS X version. What I don't want to do is budget so low, get a Mac and then find out that next year it won't be supported anymore and I'm stuck with an outdated machine. I appreciate all the input. Thank you.