0:00:00Hello and welcome to Developing Perspective. Developing Perspective is a
0:00:03podcast discussing news of note in iOS development, Apple, and the like. I'm your
0:00:07host, David Smith. I'm an independent iOS and Mac developer based in Herne, Virginia.
0:00:10This is show number 127 and today is Thursday, May 30th. Developing
0:00:16Perspective is never longer than 15 minutes, so let's get started.
0:00:18Alright, so for today I'm gonna talk about, I guess, iOS 7 generally. I'm gonna
0:00:23kind of throw my hat into the circle of speculation, prediction, prognostication,
0:00:29wish film thinking, whatever you want to call it, that we tend to do right around big new
0:00:33announcements. We definitely know it's coming. It's been announced both in the press releases.
0:00:37Tim Cook at the All Things D conference was talking about it. We definitely know iOS 7
0:00:41is coming. And these are just some of the thoughts that I've been having as I think
0:00:45about it as someone who makes, you know, makes apps, who thinks who makes apps on, you know,
0:00:50as my living and some of the things that I'm worried about some things I'm hopeful about.
0:00:54And we'll see. The first thing I want to say is, I was thinking about this in the more
0:00:58and more I hear about how iOS 7 is going to have a dramatic or will have a significant
0:01:04visual update in the way that it looks, in the way that potentially that it feels, but
0:01:09definitely in the way that it looks. That makes me hope that Apple takes full advantage
0:01:14of that in terms of allowing them to sort of to go big in terms of some of the broader
0:01:20changes that they can make. And the reason for that, I say, is if the fundamental visual
0:01:26appearance of the app of the the OS is changing, that I think
0:01:29will a sort of create an environment where a lot of
0:01:32people need to go iOS seven only fairly quickly in a way that is
0:01:39different than a lot of the other updates, you know, I was
0:01:41six or those types of things. There are changes, you know, I
0:01:43remember when the I with a UI switch went from, you know,
0:01:46being somewhat square to being rounded, like those types of
0:01:49changes are, you know, visual, if they could be significant,
0:01:52potentially, if your layout was very, very specific to it, but
0:01:55But generally speaking, they're not that bad.
0:01:58But if Apple is going to come in here and make
0:02:00these massive changes to the visual appearance
0:02:02of the application, it'll become very difficult
0:02:05to support both the old and the new, potentially.
0:02:08In terms of if your UI is based and laid out and structured,
0:02:12assuming a certain kind of style and flavor,
0:02:15that interspersing different UI elements between the two
0:02:18will be kind of complicated.
0:02:19And so if you have any part of your app
0:02:21that isn't completely native, it could look very out of place,
0:02:25Either if you design for iOS 7 and then it's run on iOS 6,
0:02:29or conversely, if you run an iOS 6 app on iOS 7.
0:02:32So my gut says there's going to be a bit more of a push for--
0:02:36where people feel like they need to go iOS 7 only very quickly.
0:02:41And I think that'll create a great opportunity for Apple,
0:02:44where they can, I think, go a bit bigger with the changes
0:02:47they make and kind of riding on that adoption curve.
0:02:50That there's likely going to be that kind of a push.
0:02:54so they can do a bit more. And I hope they do. I have to take advantage of that. And
0:02:57I hope that works out as, as, as, as we would expect. Definitely, if anyone you know, for
0:03:04a long time, I've collected iOS version stats, you know, for my audiobooks app, which has
0:03:10the widest audience. And so it gets pretty good sense. And I will say it was quite impressive
0:03:14that the adoption rate that iOS has these days, I mean, you can get very solid, you
0:03:19know, greater than 50%, 60% adoption of a new OS, we pushed out over with over the air
0:03:25updates within a couple of weeks. And so I think generally speaking, the prospect of
0:03:31going iOS seven only early is much more likely now than it would be otherwise. And so that's
0:03:36just something that I was thinking about, that those two things may actually play together
0:03:40well, but the big UI overhaul could force larger iOS seven only adoption, and so on.
0:03:46And so that's kind of an interesting thing.
0:03:48The thing I'm most curious about there
0:03:50is to see what devices they support iOS 7 with.
0:03:54And so that's kind of an interesting question.
0:03:56My guess is they'll drop the 3GS and then go iOS, I guess,
0:04:01iPhone 4, 4S, iPhone 5, and probably
0:04:05the fourth and fifth gen iPod touch, something like that.
0:04:09Which is interesting because, of course, on the handset side,
0:04:11that's all Retina devices.
0:04:13And then there's still obviously non-Retina devices
0:04:16the iPad, but it's kind of interesting that it may end up in that world.
0:04:19In terms of the actual visual changes and things that they're doing, I don't really
0:04:23have too strong of an opinion about that.
0:04:24I think people who understand and know this stuff better than I do will make better choices.
0:04:32And the reality is hearing that something is like, say it's more flat, it's more
0:04:36monochrome, whatever that is, is entirely kind of irrelevant until you actually see
0:04:41it. Because describing something visually, you can vaguely have a sense of if it's good
0:04:46or not, but it's entirely up to execution, what it actually looks like what it actually
0:04:49feels like. There are a few things that I I'm hopeful for, I hope that it feels natural
0:04:56that it's not something that's going to confuse, you know, confuse people. It's not, you know,
0:05:00that someone who's who's been using the old system will won't be confused on the new one.
0:05:05But generally speaking, my Apple is pretty good on that kind of stuff. And I doubt it's
0:05:08going to be some radical, everything's upside down. It's a
0:05:11totally new interface. It's a totally new everything. It'll
0:05:13just be the old thing, but just updated and better. Some of the
0:05:18things that I'm hoping for in iOS 7, and just generally, these
0:05:22are kind of the things that we're starting to get into. I
0:05:24think most people go through the there's like the, their
0:05:27wants, their wishes, and the things that they kind of always
0:05:29throw out there, but never really expect to happen. So
0:05:32something that I hope in iOS 6, iOS 7 is a more pervasive use of
0:05:35blocks. I think we've been seeing a strong progression for this over time in iOS since
0:05:43I guess I was four when blocks were first introduced. I think there's a lot of places
0:05:47where it would make a lot of sense, but they're still not in there. The classic ones are things
0:05:51like UI alert views and action sheets and those types of places where there's a lot
0:05:56of, kind of any time you see that there's a lot of activity on the open source side
0:06:00of people building libraries to create that behavior, it's usually a pretty good indication
0:06:04that it's something that I think that they should adopt
0:06:06and they should be sort of moving towards.
0:06:08And I think especially in those cases,
0:06:09it makes the code so much better.
0:06:11That if there's a lot of these places
0:06:12where you're attaching actions and methods to buttons,
0:06:17doing that with a block-based thing makes a lot of sense.
0:06:19So I hope we see a lot more pervasive blocks.
0:06:22I hope that we see, and then related to that,
0:06:23I hope we see a much better networking interface stack.
0:06:27It's something that I always think is kind of funny
0:06:28that it seems like the de facto standard right now
0:06:31is that I'll probably, it seems like
0:06:33vast majority of projects use something like AF networking, if for their network communication,
0:06:39not everybody, but I'd say that it's a significant percentage of code in the store right now
0:06:45is running something like AF networking or an equivalent kind of networking stack on
0:06:49top of it. And that's the same kind of way that makes me think that Apple is missing
0:06:54something there that would be much better if the OS provided a richer, more robust networking
0:07:01stack beyond just kind of what they provide now with NSURL connection.
0:07:05Networking is probably one of the most common actions
0:07:09across all applications. There's very few applications now
0:07:13that do nothing with a network
0:07:17request that I think would
0:07:21that's something that could really benefit from an overhaul. That could be made more robust
0:07:25given a richer API, a much more, instead of giving a lot more
0:07:29It's funny because it's not that I necessarily need to do more because obviously AF networking
0:07:34is built on top of it.
0:07:35But I think a lot of it is to wrap up the common operations, the common problems, the
0:07:39common issues, especially in a mobile environment where networking and connectivity can come
0:07:43and go in something that's a bit more robust and a bit more easy to use in a powerful way.
0:07:48I'd also be interested to see Apple introduce some new UI paradigms at an OS level.
0:07:56And this is something that I've been thinking about a little bit in terms of say like the
0:08:00massive explosion of this sort of the sidebar side drawer navigation approach, where rather
0:08:07having a tab bar, which can only have up to maybe four or five or six items in it, you
0:08:12know, have the hamburger button in the top left that swipes out and you have a drawer
0:08:17there with all kinds of other options and navigations.
0:08:20Something like that I think would be interesting for them to introduce at an OS level, whether
0:08:25that's the exact paradigm or something that accomplishes
0:08:28the same goal.
0:08:29I think it would be good generally,
0:08:31the more kind of standardization that can come out of this
0:08:35would be good in terms of,
0:08:36it's like when the app, I guess when iOS first launched,
0:08:40and I guess iPhone SDK, or the iPhone SDK in two,
0:08:44or even just an iOS or iPhone OS one,
0:08:47we've had the same basic navigation styles,
0:08:51UI navigation controller and UI tab bar controller,
0:08:55that work, but I feel like there's something that could be refreshed and improved there
0:09:00to create something a bit more, just something different.
0:09:04You can give it a freshness, and it'd be great if it was built at the OS level, I think,
0:09:09and to allow some more, just to sort of, I guess, yeah,
0:09:14to be able to take advantage natively and have a common experience
0:09:19across all applications with some new navigation paradigms.
0:09:22and I could see them definitely bringing
0:09:24those types of things into some of their own applications,
0:09:26like mail, if it comes to mind, or messages.
0:09:29Where the navigation controller can feel a little heavy,
0:09:33where you're constantly going back, back, back, back, forward,
0:09:35forward, forward.
0:09:36You could imagine so much better UI paradigms potentially there
0:09:40with stacks and drawers and stuff.
0:09:43So anyway, that's something that I've
0:09:45been thinking about that I think would be great,
0:09:47to see them doing it, to be pushing and driving
0:09:50in that direction, so that rather than now,
0:09:52everyone's going off in their own direction.
0:09:54The applicant can maybe focus that attention back down,
0:09:57and the user experience will likely improve as a result,
0:09:59because then there's a much more common set of experiences
0:10:02that people are used to.
0:10:04And then lastly, I think one thing I'd love--
0:10:06it's like every year, there's going
0:10:08to be new improvements to Xcode.
0:10:10Xcode is kind of where I make my living,
0:10:12and I think a lot of people-- a lot of you make your living.
0:10:14You're spending a lot of time in there.
0:10:15And any improvements and changes that can happen there
0:10:18are certainly always appreciated.
0:10:19that can make me more productive as a developer
0:10:22is always appreciated and great.
0:10:24This is the kind of thing that every time,
0:10:25I always love going to the LLVM talk.
0:10:28Most of it is over my head, but I love just hearing
0:10:32all the stuff that they're doing there
0:10:33to make it faster, to make it better.
0:10:35There's all these things where they can,
0:10:37having good tools can give people productivity for free
0:10:42in some ways, and that's something I always love,
0:10:44as someone who makes my living doing this.
0:10:47If Apple can make some changes to their tool set
0:10:50that just increases my ability to get my job done,
0:10:54that's great.
0:10:55Even the simple stuff, it seems like at FLVM,
0:10:58they're always making it faster and more streamlined
0:11:01and faster and faster and faster.
0:11:02And so if I can install a new version of Xcode
0:11:05and all my compilations take 10% less time, that's great.
0:11:08That is a free benefit for me.
0:11:11So I expect we'll see a lot of those.
0:11:15Generally speaking, in terms of the actual layout and structure, I've gotten used to
0:11:18it and I'm pretty happy with the overall structure of Xcode.
0:11:22There's always the niggling things that aren't quite like I'd like them, but generally it's
0:11:26pretty good in structure.
0:11:27What I'd like to see though is if they can kind of take to the next level and to help
0:11:35Xcode to write, help me to write better code, it would be something that I'd love to see
0:11:39more of.
0:11:40And they've been heading this direction with Analyze, with the static analysis tools, with
0:11:43with some of the things they do in instruments and so on.
0:11:46But I think there's two parts of that
0:11:48that I think I'd love to see.
0:11:49And one of them, I think, would be integrating instruments
0:11:52more tightly with Xcode itself in terms of allowing--
0:11:56right now, there's always this funny thing
0:11:58where if I want to go off and do the analysis side of things,
0:12:02I have to--
0:12:03I feel like I'm context switching off
0:12:05into this other thing.
0:12:06And it's a separate activity, and it's a separate place.
0:12:08I feel like it would be great if there
0:12:09was a lot-- if there was a bit more of a tighter integration
0:12:12there, that it's kind of, you know, if I'm running in the simulator, it's just always
0:12:15running the basic analysis tools. Or by default, they're being displayed as part of the application.
0:12:20And there's those types of things that I think you could, or, I mean, even there, when I
0:12:24think about it, there's a lot of things that I think the, oh, it could do during debugging.
0:12:28That could be very helpful. That, you know, if it's running its cycle detector, for example,
0:12:33you know, for memory, for free, you know, for memory cycles and retain cycles, it's
0:12:37It's like it's just running that all the time
0:12:39when you're debugging.
0:12:41Or it's doing it in such a way that it's just running
0:12:43in the background and you can,
0:12:45but anytime it detects a cycle,
0:12:46it logs out to the console and says,
0:12:47"Hey, I found a loop here.
0:12:51"Maybe you should go look at it."
0:12:52Kind of being more proactive about it.
0:12:54And obviously you can turn these things off
0:12:55and blah, blah, blah, in terms of
0:12:56it doesn't have to be on all the time.
0:12:58But I would love if I could just kind of
0:12:59set up my environment so that it's,
0:13:02there's all these things watching what I'm doing
0:13:03to try and catch issues and bugs
0:13:06before I have to actually go track them down
0:13:09and look for them.
0:13:10Because typically, there's a certain class of problems
0:13:14that could just be solved that way.
0:13:15Another one that I think of is-- and I believe
0:13:18there's actually a way to do this in Android development.
0:13:20But it would be great if there was flags when you're debugging
0:13:23that you can set that any time, for example,
0:13:25the main thread blocks, it puts up a big warning
0:13:28in your console and says, oh, you just
0:13:30blocked the main thread on this.
0:13:31Here's the function you called, and this blocked the main thread.
0:13:34Don't do that.
0:13:35or those types of things where you can help me write better
0:13:39code by watching what I'm doing, watching the application run,
0:13:43and be proactive about telling me about problems
0:13:45rather than me having to go and find them.
0:13:47And that's obviously the next level.
0:13:49That's the next level of tool beyond just allowing me
0:13:51to build it in the first place.
0:13:53And then static analysis or those types
0:13:55of tools, which are great in terms of telling me
0:13:57at a high level, here are some things that
0:13:59don't look quite right, to be able to actually--
0:14:01the dynamic analysis, I guess.
0:14:03So rather than just the static looking at my code,
0:14:05actually looking at the application running.
0:14:08And so those are some of the things
0:14:08that I've been thinking about.
0:14:10Those are the kind of things I'm hopeful for.
0:14:12Generally speaking, I'm excited about it.
0:14:13This time of year, I always find that I get kind of sad--
0:14:17not sad.
0:14:17I get a little bit worn down, a little bit--
0:14:21it's a little bit rough in terms of keeping
0:14:24motivated, keeping engaged.
0:14:25And so I always like going to W2C, having something new,
0:14:28having something fresh, having something exciting to wrap
0:14:30my head around and dive into.
0:14:32And so I'm excited about WWDC in two weeks.
0:14:35And I look forward to seeing a lot of you there.
0:14:37Anyway, that's it for today's show.
0:14:39As always, if you have questions, comments, concerns,
0:14:41compliments, complaints, I'm on Twitter @_davidsmith.
0:14:44I'm on AppNet @davidsmith.
0:14:45If you want to email me, david@developingperspective.com.
0:14:48Otherwise, if you have a great week, weekend, happy coding.
0:14:51I'll talk to you later.