UIScrollView control enables you to present more content than can appear on a single screen. Scrolling is a common approach to managing content overflow, typically when the amount of content far exceeds the view.
Scroll view controls are broken in to two parts:
If you need in your app to present a document like a PDF, a bunch of images, or even a Microsoft Office or iWork document, you can use the Quick Look Framework that ships with iOS.
You start by importing the
QuickLook framework into your project file. You then create…
I’ve been an iOS developer for a good few years now, and I have never managed to release anything under my own name… until now.
It gives me great pleasure to introduce to you Morris:
Miners Run has been a work in progress since February 2014. I used the new SpriteKit framework that Apple released with iOS7; I greatly enjoyed working with this framework — despite finding the inevitable bugs you find along the way when you work with anything that new and complex.
A UITextView does not automatically resize in a UIView when you use AutoLayout alone; code is required—specifically, code similar to this:
CGSize size = self.textView.contentSize;
self.textViewHeightConstraint.constant = size.height;
For this approach to work it is important that you place these lines in the right place—in the viewDidAppear method—and that you…
Make all visual distinctions as subtle as possible, but still clear and effective.
Edward R. Tufte—Visual Explanations p.73
Tufte describes this principal as the ‘Occam’s razor’ of information design. You take a visual element, such as a border on a image or a background for a table cell, then ask yourself: is the difference here noticeable, and no more.
Use less to show more. When creating designs, screens, web pages, information graphics, the idea is to use just noticeable differences.
I love working with text on my Mac; I tend to write large documents in iA Writer and code with TextMate 2 or Xcode, which for me, is a very pleasing experience all round—having recently bought a Raspberry Pi I wanted to extend the awesome into that world too. …