---
title: "How to use Thread?"  
description: "How to use Thread?"  
author: "Tarun Kumar"  
published: 2015-10-14  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/22862/how-to-use-thread  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to use Thread?

Here we provide two ways to create threads:

ü detachNewThreadSelector: toTarget: withObject:

ü Create instances of NSThread and start them at a later time using the "start" method.

ü NSThread is not as capable as Java's Thread class, it lacks

ü Built-in communication system.

ü An equivalent of "join()"

## Answers

### Answer by Tarun Kumar

Here we provide two ways to create threads:

ü detachNewThreadSelector: toTarget: withObject:

ü Create instances of NSThread and start them at a later time using the "start" method.

ü NSThread is not as capable as Java's Thread class, it lacks

ü Built-in communication system.

ü An equivalent of "join()"


---

Original Source: https://www.mindstick.com/interview/22862/how-to-use-thread

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
