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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:39:45+00:00 2026-05-21T12:39:45+00:00

I know and heard most UI related shouldn’t be done in thread other than

  • 0

I know and heard most UI related shouldn’t be done in thread other than main.
I also know that you can update non-view related data member(that you added) of UIView derived class.

I wonder if the below operations are fine or not to do in background thread.

  1. allocing UIView
  2. init UIView with/without(CGRectZero or just init) frame info
  3. modifying frame/image(UIImageView’s) property of UIView
  4. modifying image property of NSObject derived class. (treating UIImage as data)
  5. accessing subviews with subviews method
  6. etc.. Is there a well defined documentation on this issue?

Thank you

  • 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-05-21T12:39:45+00:00Added an answer on May 21, 2026 at 12:39 pm

    You shouldn’t be doing anything view related in a background thread. All of the items you listed should not be done in a background thread. If you’re breaking your app up correctly for MVC, the view should only contain items that dictate how it is displayed. So anything relating to one should only be in the main thread.

    All of your data manipulation should be residing in your model. It can be threaded as needed for performance. Just be careful that you send any messages to update the UI for the data manipulation on the main thread. This includes notifications. They gets sent on the same thread they were created on. So it’s easy to forget to switch into mainThread when sending one.

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

Sidebar

Related Questions

I know this shouldn't be that hard, but I couldn't find the answer on
This is a simple question: I know and have heard from almost everyone that
What is the most efficient WYSIWYG editor that can be used on a blog?
I heard that Event Espresso can do anything that the Eventbrite do. But I
I heard most elegant property of java is Garbage Collection I wanna know does
I've heard lots of people saying that the IN keyword in most relational databases
I've heard of window.status and that it can be used to control the browser's
I know that polymorphism can add a noticeable overhead. Calling a virtual function is
Provably most of you know AdDuplex to cross-promote WP7 apps and games. That ad
I know this question may well be the silliest question you've heard today, but

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.