Objective-C   17822

« earlier    

[no title]
Learn short-cuts and become a keyboard ninja
c++  Cocoa  CompSci  CSS  iOS  HTML  Hacking  iPhone  JavaScript  Learning  Mac  Objective-C  PHP  programming  Python  Web  Tutorial  software  XCode  Ruby 
7 hours ago by mfernando
mpospese/MPFoldTransition
Folding transitions for iOS 5. Very impressive.
github  graphics  ios  objective-c 
10 hours ago by nickcharlton
Objective-C on GitHub
Objective-C is the #10 most popular language on GitHub
github  Library  ios  development  objective-c  from delicious
21 hours ago by ghardin
How to Make a Turn-Based Strategy Game – Part 1 | Ray Wenderlich
In this tutorial, you’ll learn how to create a turn-based strategy game for the iPhone. I’ve always liked this type of game, the Advance Wars series for Nintendo DS being one of my favorites. Simplified versions of turn-based strategy games, such as Hero Academy, have lately become popular.
gaming  objective-c  programming 
yesterday by patmcnally
CMPopTipView - a custom popup view for iOS
CMPopTipView is a custom iOS UIView that I have released on github. It is relatively simple, but solved a need I had in an app where I wanted a kind of speech bubble shaped popup to give the user a hint about where to tap next. (You might argue that good UI shouldn't need an extra hint for the user but then I would punch you in the arm and go about my day.)

CMPopTipView is simple to use. Just initialise it with a target view, a container view and a message to display and it handles positioning itself with the container view to point at the target view, sizing itself to fit the text. It is also smart about UIBarButtonItems (in either navigation or tool bars) and can position itself properly to point at them. Some example code is shown below.

Some features of CMPopTipView:

Automatically positioned in container view;
Positions pointer to point at target view (either above or below);
Automatically sizes itself to fit the text message;
Background and text colours can be customised;
User can tap CMPopTipView to dismiss it (with optional delegate callback);
Can be dismissed programmatically;
Not a modal view.

CMPopTipView draws itself using Core Graphics and so scales up nicely to the high resolution Retina display with no extra work. It might be a useful reference for iOS developers looking for Core Graphics drawing examples. The code demonstrates how to draw the path of a custom shape, how to draw a gradient fill within a clipped path, how to apply a shadow to the shape and how to draw text within the shape.
programming  iOS  Objective-C  graphics 
yesterday by atdrendel

« earlier    

Copy this bookmark:



description:


tags: