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.
You have an UILabel and want to know which letter was pressed on touch.
From a question on stackoverflow, I’ve implemented in this fast and stupid way.
Today, how to make a 3d rotation using two UIView.
I want to rotate my view in 3d perspective, but after animation, buttons not responds to touch events.
This happens because after a 3d trasform, the point of view is different, and the frame go out for a walk…
Just for fun, of course, changed default action for the Info Button of Zbar library on iOS.
enjoy nm! \m/
Your project minimum iOS version is 5.0.
You are using SDK 6.1 and want to know if some method or some classes used in project are unavailable for iOS < 6.1?
Since Xcode don’t warn about it… here a trick to warn by yourself!
Today, a simple class to make easily an UILabel letters animation, that scroll in “circular” way.
Using private Framework, in particular SoftwareUpdateServices.frameworkyou can distinguish between carrier network, in particular, if your connection is 3G or GPRS/EDGE, or WiFi.
today a simple way to get device UID from code because in iOS5, function uniqueIdentifier was deprecated.
Do you want use google speech api to recognize text from a dictate?
Today i show how is possible to connect iPhone to Arduino without any Wifi or Ethernet shields!
Here the app that controls 4 leds (green yellow, red and orange), a DC motor with a fan, a piezo speacker and the room temperature with LM32 sensor!