Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7903841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:50:51+00:00 2026-06-03T09:50:51+00:00

I have some simple buttons in my iOS app. I’m able to draw them

  • 0

I have some simple buttons in my iOS app. I’m able to draw them propperly with quartz 2d, but I could also use png-slices to build them.

What would be nicer to the iPads CPU and allocations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:50:53+00:00Added an answer on June 3, 2026 at 9:50 am

    If I were you I’d take the factors of resolution independence and application size into account as well. Simple UI elements even Apple recommends to draw in Quartz (See WWDC 2011 – Practical Drawing). Most of Apple’s own Apps do it that way as well (Stocks App, Weather App, a good part of iPhoto etc.)

    Performance wise I’ve ran some tests here ( https://github.com/pkluz/PKCoreTechniques ) by creating an AngryBird solely in Quartz with Bezier Curves of fairly high degrees. Now for an iPad 3 I’d have to provide fairly large images to do so (>2-3 MB just for ONE image on said device) but with Quartz it’s just a couple of bytes of code. The rendering of said Angry Bird was most of the time about 15-18% slower than loading an image but I assume that’d quickly change if the pixel density increased any further. For simple shapes Quartz should most of the time be faster than loading images from the bundle. Though remember, the growth isn’t linear, so depending on complexity and size those can quickly change in favor of images.

    Remember how Apps doubled in size when the iPad 3 came out. You wouldn’t have that problem with Quartz and your app would be ready for high-res without any additional work:)

    The rule of thumb I advise people to follow is: “If I can’t wrap my head around the geometric description of an object right off the bat, I will use an image.”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some simple code like: $('#modal-buttons [href*=close]').bind('click.modalClose',function(){ app().modal('close') }); But let's say I
I have a simple question. In my app, I have a some buttons for
i have some WinForms app (Framework to develop some simple apps), written in C#.
i have some WinForms app (Framework to develop some simple apps), written in C#.
I have created some simple charts (of type FastLine) with MSChart and update them
I have created some documents and managed to make some simple queries but I
I have a Google Map with some simple buttons added to pan to different
I have a project that I am working on for some simple CSS buttons,
I have a simple form with some radio buttons. I want to disable some
I have some simple markup: <table> <tr> <td>Menu Item</td> </tr> </table> <div> <table> <tr>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.