Categories
Swift Kick

Swift Kick: Resources for getting started with the Swift programming language

swift kickIf you’re a regular reader of this blog, chances are that you’re itching to take Apple’s new programming language, Swift, out for a spin. Global Nerdy’s largely about mobile technology these days, and since I’m looking to make it more about mobile development as well, I thought “Hey, here’s a great opportunity to write about programming and cover something new and exciting. I’ve already got my hands on the Xcode 6 beta and iOS 8, as well as Apple’s Swift programming book, and will be noodling with the language for the next little while. I’ll post my observations here, under the category “Swift Kick”.

(If you think that name is silly, my friend David Janes came up with a worse one: “Tailored Swift”. I may still use that name for a presentation.)

Swift stuff that’s available to the general public

swift site

The Swift site, located at developer.apple.com/swift/, is open to the general public and the first place you should head. Its landing page gives you a quick overview of the language and provides a number of useful links, including the online edition of the ebook The Swift Programming Language.

swift cheat sheet

There’s a reason RayWenderlich.com is one of the go-to sites for iOS developers: they’ve got great articles, and they’re quick to put out tutorials on how to use the latest iDevelopment tools. They’ve done it again by putting out a cheat sheet and reference card for Swift.

swift stack overflow

And finally, there’s a Swift tag — swift-language — in Stack Overflow, and as of this writing (2:00 pm on Tuesday, June 3, 2014), there are 155 questions with this tag.

Swift stuff that’s available to people with Apple devices

swift ibook

If you have a Mac (necessary if you want to developer for iOS) or an iPhone/iPad/iPod Touch, you can get your hands on the iBook The Swift Programming Language, which is available for free.

Swift stuff that’s available to registered developers

swift xcode

If you’re a registered iOS or OS X developer, you’ll be able to download the betas for Xcode 6 and iOS 8. Remember that this is beta code: don’t build anything that you’re putting on the market with the Xcode beta, and don’t install the iOS beta on a device that’s critical to your work!

What can we talk about? Where does the NDA apply?

Ole Bergmann points out that Apple has eased up on their NDA (non-disclosure agreement) for the iOS 8 / OS X Yosemite releases. He points to this sentence in the agreement from section 10.1, titled Information Deemed Apple Confidential:

Further, Apple agrees that You will not be bound by the foregoing confidentiality terms with regard to technical information about pre-release Apple Software and services disclosed by Apple at WWDC (Apple’s Worldwide Developers Conference), except that You may not post screen shots, write public reviews or redistribute any pre-release Apple Software or services.

It appears to mean that we can talk about material that’s covered in the Swift book, at the very least. Can anyone enlighten us and tell us what else we can talk about?

 

 

Categories
Swift Kick

Swift fun fact #1: You can use emoji characters in variable, constant, function, and class names

swift kickBy allowing Unicode characters in constant and variable names, Apple’s new Swift programming language will allow programmers whose native languages don’t use the Roman alphabet to write code that makes more sense to them. Since emoji are part of the Unicode set, expect to see amusing code demos and search-and-replace pranks that look like this:

poopy swift code example

(And yes, this code compiles and runs on Swift using the XCode 6 beta.)

Want to see more Swift content?

Click here or on the “Swift Kick” logo near the top of this article to see all the Swift-related articles on Global Nerdy.

Categories
Uncategorized

One technology that’ll play a big role at Apple’s WWDC today is…

samsung copier

…the Samsung copier.

Categories
Uncategorized

What software patches would look like in the physical world, and the first 3 laws of consulting

what software patches would look like in the physical world

I captioned this picture after finding it and being reminded of Weinberg’s Second Law: 

If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.

And then I thought: Didn’t he have some clever quips about consulting? A little searching found these gems I’d read about and forgotten:

weinberg's laws of consulting

Ah, Weinberg’s Laws of Consulting, from his 1985 book, The Secrets of Consulting:

  • There’s always a problem, with the corollary “Never promise more than 10% improvement”
  • It’s always a people problem, with the corollary “Whatever they’re doing, advise them to do something else”
  • They’re paying you by the hour, not the solution, with the corollary “You’ll never accomplish anything if you care who gets credit”

For more of Jerry Weinberg’s wisdom on consulting (and writing, too!), check out his Secrets of Writing and Consulting blog.

Categories
Uncategorized

Infographic: The mobile internet may hit 10 billion units/users

Orders of magnitude

Click the chart to see it at full size.
Feel free to use it in your articles and presentations; just credit us!

We’ve already hit the point where there are about as many mobile subscriptions as there are people. In Internet Trends 2014, Mary Meeker’s presentation for the venture capital firm Kleiner Perkins Caufield Byers, each new generation of computing carries ten times the installed base of the previous one. With desktop internet having reached one billion users and the current growth of mobile, the pattern looks like it will hold true, giving mobile 10 billion units/users.

Meeker’s presentation is a 164-slide gold mine of information and insight into the present and future of mobility. If you have anything at all to do with mobile tech, you’ll want to at least give it a quick read. We’re going to be consulting it regularly for the next little while, and doing things like taking this chart…

original kpcb orders of magnitude chart

Click the graphic to read the report.

…and sprucing it up into the one at the top of this article.

See more of our infographics on Pinterest!

gsg pinterest

Want to see more of our infographics? Keep an eye on our Pinterest page, which we’re using as a library for them. And yes, because we want to spread the knowledge, you can use our infographics in your own articles and presentations — just credit us.

this article also appears in the GSG blog

Categories
Uncategorized

GSG’s first “Mobility 101” video: Intro to MMS

intro to mms cover

Mobility 101 is our series of videos that covers various aspects of enterprise mobility: mobile technology, applications, services, and management. Over the next several weeks, we’ll be post a new video explaining some part of business mobility. We know that the last thing that you want to do is sit through another long, boring presentation, so we’ve made sure that every video is ten minutes or shorter and not like most of the stultifying slide decks you’ve had to suffer through. We’ve worked to make them entertaining as well as educational.

mms components

The first video is intro to MMS — what some call “Managed Mobility Services” and others call “Mobility Managed Services”. No matter what you call it, we’ll explain what it is, why businesses need it, and what its key components are. It’s 8 minutes, 18 seconds long, and we think you’ll like it:

In case you were wondering, that’s Yours Truly as the narrator.

All our videos can be found on GSG’s YouTube channel, and we’re going to post videos there often! The easy-to-remember URL for our channel is .

this article also appears in the GSG blog

Categories
Uncategorized

T-shirt of the moment: “Data is the new bacon”

data is the new bacon

Click the photo to see the source.

Of all the geek T-shirts I saw at Ignite Tampa Bay 2014 last Thursday, “Data is the New Bacon” was my favourite. Apparently it’s Cloudera swag.