29

Code structure and organization is a matter of pride for developers. Clear and consistent code signifies clear and consistent thought. Even though the compiler lacks a discerning palate when it comes to naming, whitespace, or documentation, it makes all of the difference for human collaborators.

Readers of NSHipster will no doubt remember the article about documentation published last year, but a lot has changed with Xcode 6 (fortunately, for the better, in most cases). So this week, we’ll be documenting the here and now of documentation for aspiring Swift developers.

Read More »

29
29
29
29

In this OpenGL ES pixel shaders tutorial, take a deep dive into GLSL and fragment shader math – including how to make gradients and random noise!

What this means is that you’ll make a low-level, graphics-intensive app that will paint every pixel on your screen individually by combining interesting math equations.

Read More »

28

Hydra allows you to write helpful scripts (in Lua language) that makes working on OS X GUI easier.

Some brief examples of what you can do with Hydra:

  • Using hotkeys to move and resize a window along a grid
  • Using a hotkey to open Dictionary.app and show an alert
  • Exploring the built-in docs
  • Using hydra-cli to control Hydra from the command line

Read More »

28
28

With thanks to the genius who suggested this plugin, GitDiff displays deltas against a git repo in the Xcode source editor once you’ve saved the file. To use, copy this repo to your machine, build it and restart Xcode. Differences should then be highlighted in orange for lines that have been modified and green for new code. A red line indicates code has been removed. Hover over deleted/modified line number to see original source.

Read More »

28

Boost your XCode efficiency and learn how to become a coding ninja by following this tutorial.

This tutorial will teach you how to be more like that programmer, in Xcode. Call it what you like — magic, mad skillz, pure luck or hacks, there is no doubt you’ll feel much cooler (and have improved Xcode efficiency) after following along this tutorial, and maybe even save the world from destruction with your newly found prowess.

Read More »

28

Here’s an open source component called PKHUD providing a customizable Swift based reimplementation of Apple’s HUD (as seen when adjusting volume/ring, and changing the rotation switch) for iOS 8 utilizing UIVisualEffectsView for the blur effect.

Here’s an image from the readme showing PKHUD in action the iPhone and iPad:

Read More »