---
title: makeSmartCard()
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: cryptotokenkit/tksmartcardslot/makesmartcard()
---

# makeSmartCard()

Creates a new TKSmartCard object representing the currently inserted Smart Card.

## Declaration

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

## Return Value

Return Value A new TKSmartCard object, or nil if no Smart Card is currently inserted.

## Discussion

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.
