Custom UILabel with glyph layout

You may have noticed that several popular iOS apps make use of text visual effects to create unique user interfaces and enhance the user experience. Animating the text isn’t a very common thing yet and could help set you app apart in the crowded App Store. But, as any kind of animation, it should be Continue reading…

 

Text wrapping around a shape

Since the introduction of iOS7 and the emphasis of content over decoration, text and its presentation on screen became even more important for creating appealing user interfaces. The Text Kit framework provides a set of tools to process text and manage its layout. It’s easier to use than the low-level Core Text framework and it’s Continue reading…

 

UIButton with dynamic highlight

There is a special type of UIButton that allows several degrees of customization, like adding an image to the left side of the label and using custom artwork as the background image. This type of button is UIButtonTypeCustom; it is the default type for a UIButton instance created with alloc + init. There isn’t any Continue reading…

 

Centered content in UIScrollView using Auto Layout

As its name suggests, the purpose of the scroll view is to present content that is larger than the visible area on the screen. The hidden content is revealed by scrolling horizontally and / or vertically using the pan gesture, which is natively supported by the UIScrollView class. Because the content can be any size Continue reading…

 

UIAppearance for custom properties

Creating visual consistency between all screens of an application is a goal we should set when we start designing the user interface. The UIAppearance protocol, introduced by Apple in iOS5, has the ability to propagate styling attributes UIView and UIBarButton instances. If you’re not familiar with UIAppearance and need an overview of its features and Continue reading…

 

Consistent user interface styling with UIAppearance

One distinguishable trait all successful applications have in common is the quality of their user interface. Users first impression depends mostly on the visual aspect, and we all know how important it is to create a positive perception when the application is launched for the first time. Visual consistency is an essential principal of good Continue reading…

 

How to customize UINavigationBar

The navigation bar is one of the most commonly used UIKit visual components, often as part of a UINavigationController. Users are so familiar with the navigation bar, that even single-screen applications, which don’t organize the content in a hierarchy of view controllers that get pushed on and popped off the screen, use it to display Continue reading…

 

Core Data for iOS: Part 4 – Core Data syncing with iCloud

This is the fourth and last part of the blog post series about Core Data in iOS. In case you were not following along, here is a short description of the previous articles: Part 1: setting up the application data model Part 2: polling data from the persistent store using NSFetchedResultsController and basic data updating Continue reading…

 

Core Data for iOS: Part 3 – Migrating the data to a new data model

As developers, we constantly try to improve our apps by adding features and optimizing the code. Sometimes these changes have an impact on the data model. Assuming we use Core Data, what options do we have when we need to modify the data structure of an existing app? Because it’s not the first release, we Continue reading…

 

Core Data for iOS: Part 2 – Fetching and creating objects

This article builds upon the last week’s blog post on Core Data. In the Part 1 of the series I explained what the Core Data stack is and how to create a data model for a simple application. This article goes one step further and shows how to extract and display the data from the Continue reading…