News for hackers. Stuff that matters.

blackshtef

UIGestureRecognizer dependencies iOS development tutorial

http://www.planet1107.net/uigesturerecognizer-dependencies-159

Common sense for gestures detection in iOS programming is to use UIGestureRecognizer class. Gestures you can detect are: tap, pinch, rotation, swipe, pan and long press. To define gesture recognizer you’ll have to use one of UIGestureRecognizer subclasses...

( Read More... | no comments | on HN )

How to Shuffle NSMutableArray in XCode

http://www.planet1107.net/?p=73

Most of puzzle games use some kind of shuffle algorithm. For example, memory games would be really boring to play without tiles shuffle before you start playing game, if you solved it once you would remember position of most tiles. Same thing is with card games, before playing game you need to shuffle deck. Very often when programming such games you’ll store values in mutable array.

( Read More... | no comments | on HN )
Re:The Future of Google+? Log in, look around and log out on Thursday June 30, 2011 @12:03PM (#2714553)
IMHO, that navbar might just be the thing that would somehow make Plus popular. I've got my Gmail tab open at all times, but I don't want to have the Plus tab just to see if someone mentions me. That's why I'd forgot about any new social network.

But on the other hand, do I need notifications in my e-mail? No. And if notifications get too much right in my face, I'll probably disable Plus somehow.

The Future of Google+? Log in, look around and log out

http://www.domain.me/blog/the-future-of-google-plus-1769

Google releases Orkut, their social network service on January 24th, 2004. Orkut gets popular in India and Brasil. On February 9th of 2010 we got Google Buzz, which was criticized over and over again. In the meantime, Facebook and Twitter conquered social media and are probably laughing at Google which services keep stumbling.But now, Google has some new shiny technology in the form of Google+,...

( Read More... | 16 comments | 6 points | on HN )