iOS Team Technical Fanboy
  • Home
Subscribe
Tagged

UI

A collection of 3 posts

objective c

Scaling a UIView with subviews staying the same size

Easiest way to scale a UIButton or a UITableViewCell is to set a transform on it: view.transform = CGAffineTransformMakeScale(1.5f, 1.5f); If this works for you that's perfect, but sometimes some subviews start looking bad when zoomed in, especially images and text. To make the UIView zoomed in,

  • Aleksander Balicki
Aleksander Balicki Nov 1, 2014 • 1 min read
pixel perfect

Aligned UIViews

The iOS Simulator has some nice debugging options. One of the is the Color Misaligned Images option. According to the documentation: Places a magenta overlay over images whose bounds are not aligned to the destination pixels. If there is not a magenta overlay, places yellow overlay over images drawn with

  • Aleksander Balicki
Aleksander Balicki Oct 1, 2014 • 3 min read
objective c

Human Interface Guidelines compliant UIButton subclass

iOS Human Interface Guidelines tell us: Make it easy for people to interact with content and controls by giving each interactive element ample spacing. Give tappable controls a hit target of about 44 x 44 points. Sometimes icons for the buttons, provided by designers, are smaller than the above mentioned

  • Aleksander Balicki
Aleksander Balicki Sep 5, 2014 • 2 min read
iOS Team Technical Fanboy © 2022
Powered by Ghost