public marks

PUBLIC MARKS from kruty with tag iphone

December 2010

August 2010

April 2010

March 2010

January 2010

Medallia Blog: Fun with the iPhone accelerometer

(via)
In your main application code files (myApp.h and myApp.m), just override the acceleratedInX method, like this: myApp.h: @interface myApp : UIApplication { } - (void)acceleratedInX:(float)xTilt Y:(float)yTilt Z:(float)zTilt; myApp.m: #import "myApp.h" @implementation myApp - (void)acceleratedInX:(float)xTilt Y:(float)yTilt Z:(float)zTilt { // do something with the tilt values, like write them to a textView //[_textView setText:[NSString stringWithFormat:@"%f,%f,%f",xTilt,yTilt,zTilt]]; } @end Obviously I cut out all of the code to setup the textview and window and stuff. I'm going to post my code for the simple moving ball app over at macrumors. This was my first ever Cocoa application (I'm a C# developer) so I was kind of weary about releasing it, especially because the collision detection never worked right.

Yriase » DataTables : Manipuler ses tableaux HTML avec jQuery

(via)
DataTables est tout simplement un plugin pour jQuery hallucinant ! Il permet la manipulation complète des tableaux HTML. Il offre tout aussi bien le filtrage des données à la volée que le tri des colonnes avec auto-détection du type de données que la pagination ou bien encore l’internationalisation.

A List Apart: Articles: Put Your Content in My Pocket

(via)
You also need to be aware that the iPhone adjusts text sizes as the viewport changes. The font size increases automatically to make text as readable as possible. Sometimes this negatively affects elements that use absolute positioning or fixed sizes (especially when using pixels to specify page coordinates). If you find that this causes overflow or other unsightly results, you can easily turn it off using the following CSS rule: -webkit-text-size-adjust: none;

December 2009

kruty's TAGS related to tag iphone

3d +   accelerometer +   accelerometres +   app +   apple +   art +   ball +   blog +   code +   css +   design +   dev +   flash +   forum +   google +   html +   internet +   ipod +   jQuery +   js +   links +   live +   mac +   mdr +   photo +   photoshop +   php +   pixels +   plugins +   site +   son +   sources +   video +   web +