News/Blog
Corner Radius for iOS icons
- April 20, 2012
If you are designing icons for iOS in say Photshop or Illustrator and you want to have a border aroud the icon, you need to know the corner radius (radii?) so iOS doesn't cut them out.
We tried to find the exact information for ages, but couldn't get a definitive answer. Until now.
Taken from http://stackoverflow.com/questions/2105289/iphone-app-icons-exact-radius/10239376#10239376
The radii are:
- Icon512.png - 512px - 89.8245614035098
- Icon.png - 57px - 10
- Icon@2x.png - 114px - 20
- Icon-72.png - 72px - 12.6315789473686
- Icon-72@2x.png - 144px - 25.2631578947371
- Icon-Small.png - 29px - 5.08771929824567
- Icon-Small@2x.png - 58px - 10.1754385964913
Very handy bit of information
UIPopover without an arrow
- April 04, 2012
Ever wanted to place a UIPopover on a View but not have an arrow?
The UIPopoverDirectionArrowDirection enum is defined as
enum {UIPopoverArrowDirectionUp = 1UL << 0,UIPopoverArrowDirectionDown = 1UL << 1,UIPopoverArrowDirectionLeft = 1UL << 2,UIPopoverArrowDirectionRight = 1UL << 3,UIPopoverArrowDirectionAny = UIPopoverArrowDirectionUp | UIPopoverArrowDirectionDown |UIPopoverArrowDirectionLeft | UIPopoverArrowDirectionRight,UIPopoverArrowDirectionUnknown = NSUIntegerMax};
Which doesn't include UIPopoverArrowDirectionNone, or does it?
There is an undocumented feature that if you call presentPopoverFromRect with a 0 for permittedArrowDirections, it will show no arrows. I'm not sure if this is 100% supported by Apple, but a trawl around the internet suggests that apps using this have been accepted.
So call the code like below, and hey presto! No arrows
[self.configPopover presentPopoverFromRect:CGRectMake(setupButton.center.x,
setupButton.center.y,
250, 200)
inView:self.view
permittedArrowDirections:0
animated:YES];
Operators Standing By
- April 03, 2012
Just a quick note to say that we have developers available and ready for work. One of our clients has moved on, so that has freed up some time for Rohan our web guru.
Rohan specialises in HTML/CSS integeration, with a particular interest in Joomla, WordPress and Magento. He can take your design, convert it to HTML/CSS and then integrate into CMS of your choice.
His latest work includes:
Carvin Streetwear - this was doing the complete markup and integration into Magento, including mobile site
Extrem Sport - if the site is not live it should be any day. This is a shopify site.
A few other sites that aren't live yet, and this site you are reading now!
Our prices start at $500 +GST for converting designs into HTML/CSS with integration into CMS a little more.
Or if you prefer, our hourly rate is $55+GST / hr. You won't find better value.
All sites fully tested on OSX and Windows and all major browsers.
