<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CryptoTokenKit",
  "identifier" : "/documentation/CryptoTokenKit/TKSmartCardSlot/makeSmartCard()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CryptoTokenKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TKSmartCardSlot(im)makeSmartCard"
  },
  "title" : "makeSmartCard()"
}
-->

# makeSmartCard()

Creates a new [`TKSmartCard`](/documentation/CryptoTokenKit/TKSmartCard) object representing the currently inserted Smart Card.

```
func makeSmartCard() -> TKSmartCard?
```

## Return Value

A new [`TKSmartCard`](/documentation/CryptoTokenKit/TKSmartCard) object, or `nil` if no Smart Card is currently inserted.

## Discussion

You can create multiple instances of `TKSmartCard` that represent the same Smart Card. Exclusivity of data transfer is handled by sessions on the individual `TKSmartCard` objects.

---

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)