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 8420199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:49:37+00:00 2026-06-10T02:49:37+00:00

I wanted to know the benefits of creating a static library – will it

  • 0

I wanted to know the benefits of creating a static library – will it effect the app load time? .. I needed to know how it works. If I create a library of custom controls would it benefit me in terms of performce and load time?

So if I am creating custom controls e. g. by Graphic context drawing instead of using images would it be beneficial?
E. g. if I am planning to use the minimal number of images and use drawing on context as an option would it be better? What effect would it have on performace?

  • 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-10T02:49:39+00:00Added an answer on June 10, 2026 at 2:49 am

    Static libraries don’t really effect performance. It’s just a way to organize your code differently. You could say that once your code compiles (and links), the resulting app is pretty much identical. Compilation fanatics, please excuse my simplification here 🙂

    Working with a static library in iOS has some benefits:

    1. Code re-use. You could share the same library between several of your projects. If you make a change in your library, the change will easily be reflected in all projects once you build them.

    2. You could share your library with others without providing them with a full source. This could be useful if you want to sell your code to other developers.

    But, from my experience, a static library has some drawbacks. The main one is that XCode does not handle them very intuitively. It personally took me about a day of work to get my project settings working correctly.. it was quite a hassle.

    Regarding the image part of your question.. it’s somewhat unrelated to the static library decision.

    Using images mostly costs space (your app is larger to download) and memory consumption. Drawing yourself on the context costs CPU cycles (you actually do the drawing every time the frame is refreshed). In my eyes, the main difference is actually ease of development. In some cases, drawing manually on the context takes more work but you can make changes more easily. Regarding performance, I think images may have a slight advantage but unless you plan to draw some crazy stuff, it’s pretty much negligible. I would decide according to ease of development and not according to performance in this case.

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

Sidebar

Related Questions

I wanted to know what are the benefits, if any, to calling either of
I wanted to know that how can we find how much time android device
I wanted to know that, is it possible to create a pool of objects?
Wanted to know, because side effect of this could be to alert user that
just wanted to know: In my rails 3 app when a user logs in,
I wanted to know that if I do start excel temp.xls The os will
I just wanted know, whether it is possible to create database tables in SDL
I wanted to know if this is possible? I would like to create a
Just wanted to know if it is possible to create a hidden window using
I wanted to know if there are any ways in which we can create

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.