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.
Objc – Simple UIImage fade
Implementation of kCATransitionFade to fade an array of images.
Very easy using CATransition animation:
[Objective-C] Change default status bar content
Power of screenshot!!
Simply, make a screenshot of your app and render the frame f your captured image, adding the UI components that you want.
Continue reading “[Objective-C] Change default status bar content”
[Objective-C] Add image on UIAlertView/UIActionSheet buttons
A beautiful tricks to add simple images on every place you want using UNICODE characters!
Have you never tried this code?
Continue reading “[Objective-C] Add image on UIAlertView/UIActionSheet buttons”