Il codice fiscale in Italia è un codice alfanumerico a lunghezza fissa di 16 caratteri, ispirato dall’uso biblioteconomico, che serve a identificare in modo univoco ai fini fiscali e amministrativi i cittadini, le associazioni non riconosciute, i contribuenti e gli stranieri nati e domiciliati nel territorio italiano.
Nota: questo post è in Italiano, visto che il codice fiscale… è italiano!
Continue reading “[Objc] Calcolo codice fiscale”
The NSTextContainer class defines a region in which text is laid out. An NSLayoutManager object uses one or more NSTextContainer objects to determine where to break lines, lay out portions of text, and so on. An NSTextContainer object defines rectangular regions, and you can define exclusion paths inside the text container’s bounding rectangle so that text flows around the exclusion path as it is laid out. You can create subclasses that define regions of nonrectangular shapes, such as circular regions.
Continue reading “Objc – Draw text along UIImage”
Implementation of kCATransitionFade to fade an array of images.
Very easy using CATransition animation:
Continue reading “Objc – Simple UIImage fade”
Today, a simple snippet to learn how to use IBOutletCollection and image spritesin your applications.
IBOutletCollection are introduced with iOS4 as you can see on Apple iOS diff guide ( http://goo.gl/C8NRZz ) and are a collection of IBOutlets.
Continue reading “Objc – Digital clock using IBOutletCollection”
This is the best feature on the new OSX, Maverick (10.9)!
Continue reading “Maverick & multiple displays”
A simple UIAlertView category to show an alert view in a simple and more readable way!
Continue reading “[Objc] UIAlertView and blocks”
A UIStoryboardSegue object is responsible for performing the visual transition between two view controllers. In addition, segue objects are used to prepare for the transition from one view controller to another. Segue objects contain information about the view controllers involved in a transition. When a segue is triggered, but before the visual transition occurs, the storyboard runtime calls the current view controller’s prepareForSegue:sender: method so that it can pass any needed data to the view controller that is about to be displayed.
Continue reading “Objective-C – UIStoryboard segue custom transition”
A crash (or system crash) in computing is an event in which a computer or a program (such as a software application or an operating system) ceases to function properly, often exiting after encountering errors. The program responsible may appear to freeze or hang until a crash reporting service documents details of the crash. If the program is a critical part of the operating system kernel, the entire computer may crash, often resulting in a fatal system error. […]
Continue reading “0x8BADF00D and others crashes”
Last night i destroyed everything in my kitchen to not turn on the light, and after that i decide to make this stupid motion night lamp.
Continue reading “[Arduino] – Motion night lamp”