<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ObjectiveC",
  "identifier" : "/documentation/ObjectiveC/NSObject-swift.class/new",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Objective-C Runtime"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObject(cm)new"
  },
  "title" : "new"
}
-->

# new

Allocates a new instance of the receiving class, sends it an [`init()`](/documentation/ObjectiveC/NSObject-swift.class/init()) message, and returns the initialized object.

```
+ (instancetype) new;
```

## Return Value

A new instance of the receiver.

## Discussion

This method is a combination of [`alloc`](/documentation/ObjectiveC/NSObject-swift.class/alloc) and [`init()`](/documentation/ObjectiveC/NSObject-swift.class/init()). Like [`alloc`](/documentation/ObjectiveC/NSObject-swift.class/alloc), it initializes the `isa` instance variable of the new object so it points to the class data structure. It then invokes the [`init()`](/documentation/ObjectiveC/NSObject-swift.class/init()) method to complete the initialization process.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)