how can I detect tilemap collission?

I can only find tutorials for cocos2d iphone wich contain a lot deprecated/removed stuff.

I have a tilemap loaded with block on wich my player should be able to stand and should not be able to go through.
I tried rewriting this http://www.raywenderlich.com/15230/how-to-make-a-platform-game-like-super-mario-brothers-part-1
to cocos2dx but I’m stuck with the NSDictionary