{"id":"5eda2907-bdf0-4364-b535-9b1d848c7d8f","shortId":"edfceT","kind":"skill","title":"Core Nfc","tagline":"Swift Ios Skills skill by Dpearson2699","description":"# CoreNFC\n\nRead and write NFC tags on iPhone using the CoreNFC framework. Covers NDEF\nreader sessions, tag reader sessions, NDEF message construction, entitlements,\nand background tag reading. Targets Swift 6.3 / iOS 26+.\n\n## Contents\n\n- [Setup](#setup)\n- [NDEF Reader Session](#ndef-reader-session)\n- [Tag Reader Session](#tag-reader-session)\n- [Writing NDEF Messages](#writing-ndef-messages)\n- [NDEF Payload Types](#ndef-payload-types)\n- [Background Tag Reading](#background-tag-reading)\n- [Common Mistakes](#common-mistakes)\n- [Review Checklist](#review-checklist)\n- [References](#references)\n\n## Setup\n\n### Project Configuration\n\n1. Add the **Near Field Communication Tag Reading** capability in Xcode\n2. Add `NFCReaderUsageDescription` to Info.plist with a user-facing reason string\n3. Add the `com.apple.developer.nfc.readersession.formats` entitlement with the tag types your app reads (e.g., `NDEF`, `TAG`)\n4. For ISO 7816 tags, add supported application identifiers to `com.apple.developer.nfc.readersession.iso7816.select-identifiers` in Info.plist\n\n### Device Requirements\n\nNFC reading requires iPhone 7 or later. Always check for reader session\navailability before presenting NFC UI.\n\n```swift\nimport CoreNFC\n\nguard NFCNDEFReaderSession.readingAvailable else {\n    // Device does not support NFC or feature is restricted\n    showUnsupportedMessage()\n    return\n}\n```\n\n### Key Types\n\n| Type | Role |\n|---|---|\n| `NFCNDEFReaderSession` | Scans for NDEF-formatted tags |\n| `NFCTagReaderSession` | Scans for ISO7816, ISO15693, FeliCa, MIFARE tags |\n| `NFCNDEFMessage` | Collection of NDEF payload records |\n| `NFCNDEFPayload` | Single record within an NDEF message |\n| `NFCNDEFTag` | Protocol for interacting with an NDEF-capable tag |\n\n## NDEF Reader Session\n\nUse `NFCNDEFReaderSession` to read NDEF-formatted data from tags. This is the\nsimplest path for reading standard tag content like URLs, text, and MIME data.\n\n```swift\nimport CoreNFC\n\nfinal class NDEFReader: NSObject, NFCNDEFReaderSessionDelegate {\n    private var session: NFCNDEFReaderSession?\n\n    func beginScanning() {\n        guard NFCNDEFReaderSession.readingAvailable else { return }\n\n        session = NFCNDEFReaderSession(\n            delegate: self,\n            queue: nil,\n            invalidateAfterFirstRead: false\n        )\n        session?.alertMessage = \"Hold your iPhone near an NFC tag.\"\n        session?.begin()\n    }\n\n    // MARK: - NFCNDEFReaderSessionDelegate\n\n    func readerSessionDidBecomeActive(_ session: NFCNDEFReaderSession) {\n        // Session is scanning\n    }\n\n    func readerSession(\n        _ session: NFCNDEFReaderSession,\n        didDetectNDEFs messages: [NFCNDEFMessage]\n    ) {\n        for message in messages {\n            for record in message.records {\n                processRecord(record)\n            }\n        }\n    }\n\n    func readerSession(\n        _ session: NFCNDEFReaderSession,\n        didInvalidateWithError error: Error\n    ) {\n        let nfcError = error as? NFCReaderError\n        if nfcError?.code != .readerSessionInvalidationErrorFirstNDEFTagRead,\n           nfcError?.code != .readerSessionInvalidationErrorUserCanceled {\n            print(\"Session invalidated: \\(error.localizedDescription)\")\n        }\n        self.session = nil\n    }\n}\n```\n\n### Reading with Tag Connection\n\nFor read-write operations, use the tag-detection delegate method to connect\nto individual tags:\n\n```swift\nfunc readerSession(\n    _ session: NFCNDEFReaderSession,\n    didDetect tags: [any NFCNDEFTag]\n) {\n    guard let tag = tags.first else {\n        session.restartPolling()\n        return\n    }\n\n    session.connect(to: tag) { error in\n        if let error {\n            session.invalidate(errorMessage: \"Connection failed: \\(error)\")\n            return\n        }\n\n        tag.queryNDEFStatus { status, capacity, error in\n            guard error == nil else {\n                session.invalidate(errorMessage: \"Query failed.\")\n                return\n            }\n\n            switch status {\n            case .notSupported:\n                session.invalidate(errorMessage: \"Tag is not NDEF compliant.\")\n            case .readOnly:\n                tag.readNDEF { message, error in\n                    if let message {\n                        self.processMessage(message)\n                    }\n                    session.invalidate()\n                }\n            case .readWrite:\n                tag.readNDEF { message, error in\n                    if let message {\n                        self.processMessage(message)\n                    }\n                    session.alertMessage = \"Tag read successfully.\"\n                    session.invalidate()\n                }\n            @unknown default:\n                session.invalidate()\n            }\n        }\n    }\n}\n```\n\n## Tag Reader Session\n\nUse `NFCTagReaderSession` when you need direct access to the native tag\nprotocol (ISO 7816, ISO 15693, FeliCa, or MIFARE).\n\n```swift\nfinal class TagReader: NSObject, NFCTagReaderSessionDelegate {\n    private var session: NFCTagReaderSession?\n\n    func beginScanning() {\n        session = NFCTagReaderSession(\n            pollingOption: [.iso14443, .iso15693],\n            delegate: self,\n            queue: nil\n        )\n        session?.alertMessage = \"Hold your iPhone near a tag.\"\n        session?.begin()\n    }\n\n    func tagReaderSessionDidBecomeActive(\n        _ session: NFCTagReaderSession\n    ) { }\n\n    func tagReaderSession(\n        _ session: NFCTagReaderSession,\n        didDetect tags: [NFCTag]\n    ) {\n        guard let tag = tags.first else { return }\n\n        session.connect(to: tag) { error in\n            guard error == nil else {\n                session.invalidate(\n                    errorMessage: \"Connection failed.\"\n                )\n                return\n            }\n\n            switch tag {\n            case .iso7816(let iso7816Tag):\n                self.readISO7816(tag: iso7816Tag, session: session)\n            case .miFare(let miFareTag):\n                self.readMiFare(tag: miFareTag, session: session)\n            case .iso15693(let iso15693Tag):\n                self.readISO15693(tag: iso15693Tag, session: session)\n            case .feliCa(let feliCaTag):\n                self.readFeliCa(tag: feliCaTag, session: session)\n            @unknown default:\n                session.invalidate(errorMessage: \"Unsupported tag type.\")\n            }\n        }\n    }\n\n    func tagReaderSession(\n        _ session: NFCTagReaderSession,\n        didInvalidateWithError error: Error\n    ) {\n        self.session = nil\n    }\n}\n```\n\n## Writing NDEF Messages\n\nWrite NDEF data to a connected tag. Always check `readWrite` status first.\n\n```swift\nfunc writeToTag(\n    tag: any NFCNDEFTag,\n    session: NFCNDEFReaderSession,\n    url: URL\n) {\n    tag.queryNDEFStatus { status, capacity, error in\n        guard status == .readWrite else {\n            session.invalidate(errorMessage: \"Tag is read-only.\")\n            return\n        }\n\n        guard let payload = NFCNDEFPayload.wellKnownTypeURIPayload(\n            url: url\n        ) else {\n            session.invalidate(errorMessage: \"Invalid URL.\")\n            return\n        }\n\n        let message = NFCNDEFMessage(records: [payload])\n\n        tag.writeNDEF(message) { error in\n            if let error {\n                session.invalidate(\n                    errorMessage: \"Write failed: \\(error.localizedDescription)\"\n                )\n            } else {\n                session.alertMessage = \"Tag written successfully.\"\n                session.invalidate()\n            }\n        }\n    }\n}\n```\n\n## NDEF Payload Types\n\n### Creating Common Payloads\n\n```swift\n// URL payload\nlet urlPayload = NFCNDEFPayload.wellKnownTypeURIPayload(\n    url: URL(string: \"https://example.com\")!\n)\n\n// Text payload\nlet textPayload = NFCNDEFPayload.wellKnownTypeTextPayload(\n    string: \"Hello NFC\",\n    locale: Locale(identifier: \"en\")\n)\n\n// Custom payload\nlet customPayload = NFCNDEFPayload(\n    format: .nfcExternal,\n    type: \"com.example:mytype\".data(using: .utf8)!,\n    identifier: Data(),\n    payload: \"custom-data\".data(using: .utf8)!\n)\n```\n\n### Parsing Payload Content\n\n```swift\nfunc processRecord(_ record: NFCNDEFPayload) {\n    switch record.typeNameFormat {\n    case .nfcWellKnown:\n        if let url = record.wellKnownTypeURIPayload() {\n            print(\"URL: \\(url)\")\n        } else if let (text, locale) = record.wellKnownTypeTextPayload() {\n            print(\"Text (\\(locale)): \\(text)\")\n        }\n    case .absoluteURI:\n        if let uri = String(data: record.payload, encoding: .utf8) {\n            print(\"Absolute URI: \\(uri)\")\n        }\n    case .media:\n        let mimeType = String(data: record.type, encoding: .utf8) ?? \"\"\n        print(\"MIME type: \\(mimeType), size: \\(record.payload.count)\")\n    case .nfcExternal:\n        let type = String(data: record.type, encoding: .utf8) ?? \"\"\n        print(\"External type: \\(type)\")\n    case .empty, .unknown, .unchanged:\n        break\n    @unknown default:\n        break\n    }\n}\n```\n\n## Background Tag Reading\n\nOn iPhone XS and later, iOS can read NFC tags in the background without\nopening your app. To opt in:\n\n1. Add associated domains or universal links that match the URL on your tags\n2. Register your app for the tag's NDEF content type\n3. Include your app's bundle ID in the tag's NDEF record\n\nWhen a user taps a compatible tag, iOS displays a notification that opens\nyour app. Handle the tag data via `NSUserActivity`:\n\n```swift\nfunc scene(\n    _ scene: UIScene,\n    continue userActivity: NSUserActivity\n) {\n    guard userActivity.activityType ==\n        NSUserActivityTypeBrowsingWeb else { return }\n\n    if let message = userActivity.ndefMessagePayload {\n        for record in message.records {\n            processRecord(record)\n        }\n    }\n}\n```\n\n## Common Mistakes\n\n### DON'T: Forget the NFC entitlement\n\nWithout the `com.apple.developer.nfc.readersession.formats` entitlement,\nsession creation crashes at runtime.\n\n```swift\n// WRONG -- entitlement not added, crashes\nlet session = NFCNDEFReaderSession(\n    delegate: self, queue: nil, invalidateAfterFirstRead: true\n)\n\n// CORRECT -- add entitlement in Signing & Capabilities first\n// Then the same code works:\nlet session = NFCNDEFReaderSession(\n    delegate: self, queue: nil, invalidateAfterFirstRead: true\n)\n```\n\n### DON'T: Skip the readingAvailable check\n\nAttempting to create an NFC session on an unsupported device (iPad, iPod\ntouch, or iPhone 6s and earlier) crashes.\n\n```swift\n// WRONG\nfunc scan() {\n    let session = NFCNDEFReaderSession(\n        delegate: self, queue: nil, invalidateAfterFirstRead: true\n    )\n    session.begin()\n}\n\n// CORRECT\nfunc scan() {\n    guard NFCNDEFReaderSession.readingAvailable else {\n        showUnsupportedAlert()\n        return\n    }\n    let session = NFCNDEFReaderSession(\n        delegate: self, queue: nil, invalidateAfterFirstRead: true\n    )\n    session.begin()\n}\n```\n\n### DON'T: Ignore session invalidation errors\n\nThe session invalidates for multiple reasons. Distinguishing user cancellation\nfrom real errors prevents false error alerts.\n\n```swift\n// WRONG -- shows error when user cancels\nfunc readerSession(\n    _ session: NFCNDEFReaderSession,\n    didInvalidateWithError error: Error\n) {\n    showAlert(\"NFC Error: \\(error.localizedDescription)\")\n}\n\n// CORRECT -- filter expected invalidation reasons\nfunc readerSession(\n    _ session: NFCNDEFReaderSession,\n    didInvalidateWithError error: Error\n) {\n    let nfcError = error as? NFCReaderError\n    switch nfcError?.code {\n    case .readerSessionInvalidationErrorUserCanceled,\n         .readerSessionInvalidationErrorFirstNDEFTagRead:\n        break  // Normal termination\n    default:\n        showAlert(\"NFC Error: \\(error.localizedDescription)\")\n    }\n    self.session = nil\n}\n```\n\n### DON'T: Hold a strong reference to a stale session\n\nOnce a session is invalidated, it cannot be restarted. Nil out your reference\nand create a new session for the next scan.\n\n```swift\n// WRONG -- reusing invalidated session\nfunc scanAgain() {\n    session?.begin()  // Does nothing, session is dead\n}\n\n// CORRECT -- create a new session\nfunc scanAgain() {\n    session = NFCNDEFReaderSession(\n        delegate: self, queue: nil, invalidateAfterFirstRead: false\n    )\n    session?.begin()\n}\n```\n\n### DON'T: Write without checking tag status\n\nWriting to a read-only tag silently fails or produces confusing errors.\n\n```swift\n// WRONG -- writes without checking status\ntag.writeNDEF(message) { error in\n    // May fail on read-only tags\n}\n\n// CORRECT -- check status first\ntag.queryNDEFStatus { status, capacity, error in\n    guard status == .readWrite else {\n        session.invalidate(errorMessage: \"Tag is read-only.\")\n        return\n    }\n    tag.writeNDEF(message) { error in\n        // Handle result\n    }\n}\n```\n\n## Review Checklist\n\n- [ ] NFC capability added in Signing & Capabilities\n- [ ] `NFCReaderUsageDescription` set in Info.plist\n- [ ] `com.apple.developer.nfc.readersession.formats` entitlement configured with correct tag types\n- [ ] `NFCNDEFReaderSession.readingAvailable` checked before creating sessions\n- [ ] Session delegate set before calling `begin()`\n- [ ] Session reference set to nil after invalidation\n- [ ] `didInvalidateWithError` distinguishes user cancellation from actual errors\n- [ ] NDEF status queried before write operations\n- [ ] Tag capacity checked before writing large messages\n- [ ] ISO 7816 application identifiers listed in Info.plist if using `NFCTagReaderSession`\n- [ ] Background tag reading configured with associated domains if needed\n- [ ] Only one reader session active at a time\n\n## References\n\n- Extended patterns (ISO 7816 commands, multi-tag scanning, NDEF locking): [references/nfc-patterns.md](references/nfc-patterns.md)\n- [Core NFC framework](https://sosumi.ai/documentation/corenfc)\n- [NFCNDEFReaderSession](https://sosumi.ai/documentation/corenfc/nfcndefreadersession)\n- [NFCTagReaderSession](https://sosumi.ai/documentation/corenfc/nfctagreadersession)\n- [NFCNDEFMessage](https://sosumi.ai/documentation/corenfc/nfcndefmessage)\n- [NFCNDEFPayload](https://sosumi.ai/documentation/corenfc/nfcndefpayload)\n- [NFCNDEFTag](https://sosumi.ai/documentation/corenfc/nfcndeftag)\n- [NFCNDEFReaderSessionDelegate](https://sosumi.ai/documentation/corenfc/nfcndefreadersessiondelegate)\n- [NFCTagReaderSessionDelegate](https://sosumi.ai/documentation/corenfc/nfctagreadersessiondelegate)\n- [Building an NFC Tag-Reader App](https://sosumi.ai/documentation/corenfc/building_an_nfc_tag-reader_app)\n- [Adding Support for Background Tag Reading](https://sosumi.ai/documentation/corenfc/adding-support-for-background-tag-reading)\n- [Near Field Communication Tag Reader Session Formats Entitlement](https://sosumi.ai/documentation/bundleresources/entitlements/com.apple.developer.nfc.readersession.formats)","tags":["core","nfc","swift","ios","skills","dpearson2699"],"capabilities":["skill","source-dpearson2699","category-swift-ios-skills"],"categories":["swift-ios-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/dpearson2699/swift-ios-skills/core-nfc","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under dpearson2699/swift-ios-skills","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T03:40:33.987Z","embedding":null,"createdAt":"2026-04-18T20:34:43.682Z","updatedAt":"2026-04-22T03:40:33.987Z","lastSeenAt":"2026-04-22T03:40:33.987Z","tsv":"'/documentation/bundleresources/entitlements/com.apple.developer.nfc.readersession.formats)':1368 '/documentation/corenfc)':1310 '/documentation/corenfc/adding-support-for-background-tag-reading)':1357 '/documentation/corenfc/building_an_nfc_tag-reader_app)':1348 '/documentation/corenfc/nfcndefmessage)':1322 '/documentation/corenfc/nfcndefpayload)':1326 '/documentation/corenfc/nfcndefreadersession)':1314 '/documentation/corenfc/nfcndefreadersessiondelegate)':1334 '/documentation/corenfc/nfcndeftag)':1330 '/documentation/corenfc/nfctagreadersession)':1318 '/documentation/corenfc/nfctagreadersessiondelegate)':1338 '1':94,815 '15693':466 '2':105,829 '26':40 '3':117,840 '4':132 '6.3':38 '6s':971 '7':152 '7816':135,464,1265,1295 'absolut':753 'absoluteuri':743 'access':457 'activ':1287 'actual':1249 'ad':918,1211,1349 'add':95,106,118,137,816,930 'alert':1028 'alertmessag':280,492 'alway':155,596 'app':127,811,832,843,867,1345 'applic':139,1266 'associ':817,1279 'attempt':956 'avail':160 'background':33,72,76,792,807,1274,1352 'background-tag-read':75 'begin':289,500,1120,1142,1236 'beginscan':266,481 'break':788,791,1070 'build':1339 'bundl':845 'call':1235 'cancel':1021,1035,1247 'cannot':1096 'capabl':102,222,934,1210,1214 'capac':394,613,1186,1258 'case':408,417,429,534,543,552,561,723,742,756,771,784,1067 'category-swift-ios-skills' 'check':156,597,955,1147,1167,1181,1227,1259 'checklist':85,88,1208 'class':257,472 'code':330,333,939,1066 'collect':202 'com.apple.developer.nfc.readersession.formats':120,907,1219 'com.apple.developer.nfc.readersession.iso7816.select':142 'com.example':699 'command':1296 'common':79,82,667,897 'common-mistak':81 'communic':99,1360 'compat':858 'compliant':416 'configur':93,1221,1277 'confus':1161 'connect':344,358,388,529,594 'construct':30 'content':41,246,715,838 'continu':879 'core':1,1305 'corenfc':9,19,167,255 'correct':929,989,1047,1126,1180,1223 'cover':21 'crash':911,919,974 'creat':666,958,1104,1127,1229 'creation':910 'custom':691,708 'custom-data':707 'custompayload':694 'data':234,252,591,701,705,709,710,748,761,776,871 'dead':1125 'default':446,571,790,1073 'deleg':273,355,487,923,944,982,1000,1135,1232 'detect':354 'devic':146,171,965 'diddetect':367,509 'diddetectndef':303 'didinvalidatewitherror':320,581,1040,1056,1244 'direct':456 'display':861 'distinguish':1019,1245 'domain':818,1280 'dpearson2699':8 'e.g':129 'earlier':973 'els':170,269,375,400,516,526,619,634,657,732,885,994,1192 'empti':785 'en':690 'encod':750,763,778 'entitl':31,121,904,908,916,931,1220,1365 'error':321,322,325,381,385,390,395,398,421,433,521,524,582,583,614,647,651,1012,1024,1027,1032,1041,1042,1045,1057,1058,1061,1076,1162,1171,1187,1203,1250 'error.localizeddescription':338,656,1046,1077 'errormessag':387,402,411,528,573,621,636,653,1194 'example.com':678 'expect':1049 'extend':1292 'extern':781 'face':114 'fail':389,404,530,655,1158,1174 'fals':278,1026,1140 'featur':177 'felica':198,467,562 'felicatag':564,567 'field':98,1359 'filter':1048 'final':256,471 'first':600,935,1183 'forget':901 'format':191,233,696,1364 'framework':20,1307 'func':265,292,299,316,363,480,501,505,577,602,717,875,977,990,1036,1052,1117,1131 'guard':168,267,371,397,512,523,616,628,882,992,1189 'handl':868,1205 'hello':685 'hold':281,493,1082 'id':846 'identifi':140,143,689,704,1267 'ignor':1009 'import':166,254 'includ':841 'individu':360 'info.plist':109,145,1218,1270 'interact':217 'invalid':337,637,1011,1015,1050,1094,1115,1243 'invalidateafterfirstread':277,927,948,986,1004,1139 'io':4,39,800,860 'ipad':966 'iphon':16,151,283,495,796,970 'ipod':967 'iso':134,463,465,1264,1294 'iso14443':485 'iso15693':197,486,553 'iso15693tag':555,558 'iso7816':196,535 'iso7816tag':537,540 'key':182 'larg':1262 'later':154,799 'let':323,372,384,424,436,513,536,545,554,563,629,640,650,672,681,693,726,734,745,758,773,888,920,941,979,997,1059 'like':247 'link':821 'list':1268 'local':687,688,736,740 'lock':1302 'mark':290 'match':823 'may':1173 'media':757 'messag':29,60,64,213,304,307,309,420,425,427,432,437,439,588,641,646,889,1170,1202,1263 'message.records':313,894 'method':356 'mifar':199,469,544 'mifaretag':546,549 'mime':251,766 'mimetyp':759,768 'mistak':80,83,898 'multi':1298 'multi-tag':1297 'multipl':1017 'mytyp':700 'nativ':460 'ndef':22,28,44,48,59,63,65,69,130,190,204,212,221,224,232,415,587,590,663,837,851,1251,1301 'ndef-cap':220 'ndef-format':189,231 'ndef-payload-typ':68 'ndef-reader-sess':47 'ndefread':258 'near':97,284,496,1358 'need':455,1282 'new':1106,1129 'next':1110 'nfc':2,13,148,163,175,286,686,803,903,960,1044,1075,1209,1306,1341 'nfcerror':324,329,332,1060,1065 'nfcextern':697,772 'nfcndefmessag':201,305,642,1319 'nfcndefpayload':207,695,720,1323 'nfcndefpayload.wellknowntypetextpayload':683 'nfcndefpayload.wellknowntypeuripayload':631,674 'nfcndefreadersess':186,228,264,272,295,302,319,366,608,922,943,981,999,1039,1055,1134,1311 'nfcndefreadersession.readingavailable':169,268,993,1226 'nfcndefreadersessiondeleg':260,291,1331 'nfcndeftag':214,370,606,1327 'nfcreadererror':327,1063 'nfcreaderusagedescript':107,1215 'nfctag':511 'nfctagreadersess':193,452,479,483,504,508,580,1273,1315 'nfctagreadersessiondeleg':475,1335 'nfcwellknown':724 'nil':276,340,399,490,525,585,926,947,985,1003,1079,1099,1138,1241 'normal':1071 'noth':1122 'notif':863 'notsupport':409 'nsobject':259,474 'nsuseract':873,881 'nsuseractivitytypebrowsingweb':884 'one':1284 'open':809,865 'oper':349,1256 'opt':813 'pars':713 'path':241 'pattern':1293 'payload':66,70,205,630,644,664,668,671,680,692,706,714 'pollingopt':484 'present':162 'prevent':1025 'print':335,729,738,752,765,780 'privat':261,476 'processrecord':314,718,895 'produc':1160 'project':92 'protocol':215,462 'queri':403,1253 'queue':275,489,925,946,984,1002,1137 'read':10,35,74,78,101,128,149,230,243,341,347,442,625,794,802,1154,1177,1198,1276,1354 'read-on':624,1153,1176,1197 'read-writ':346 'reader':23,26,45,49,52,56,158,225,449,1285,1344,1362 'readersess':300,317,364,1037,1053 'readersessiondidbecomeact':293 'readersessioninvalidationerrorfirstndeftagread':331,1069 'readersessioninvalidationerrorusercancel':334,1068 'readingavail':954 'readon':418 'readwrit':430,598,618,1191 'real':1023 'reason':115,1018,1051 'record':206,209,311,315,643,719,852,892,896 'record.payload':749 'record.payload.count':770 'record.type':762,777 'record.typenameformat':722 'record.wellknowntypetextpayload':737 'record.wellknowntypeuripayload':728 'refer':89,90,1085,1102,1238,1291 'references/nfc-patterns.md':1303,1304 'regist':830 'requir':147,150 'restart':1098 'restrict':179 'result':1206 'return':181,270,377,391,405,517,531,627,639,886,996,1200 'reus':1114 'review':84,87,1207 'review-checklist':86 'role':185 'runtim':913 'scan':187,194,298,978,991,1111,1300 'scanagain':1118,1132 'scene':876,877 'self':274,488,924,945,983,1001,1136 'self.processmessage':426,438 'self.readfelica':565 'self.readiso15693':556 'self.readiso7816':538 'self.readmifare':547 'self.session':339,584,1078 'session':24,27,46,50,53,57,159,226,263,271,279,288,294,296,301,318,336,365,450,478,482,491,499,503,507,541,542,550,551,559,560,568,569,579,607,909,921,942,961,980,998,1010,1014,1038,1054,1089,1092,1107,1116,1119,1123,1130,1133,1141,1230,1231,1237,1286,1363 'session.alertmessage':440,658 'session.begin':988,1006 'session.connect':378,518 'session.invalidate':386,401,410,428,444,447,527,572,620,635,652,662,1193 'session.restartpolling':376 'set':1216,1233,1239 'setup':42,43,91 'show':1031 'showalert':1043,1074 'showunsupportedalert':995 'showunsupportedmessag':180 'sign':933,1213 'silent':1157 'simplest':240 'singl':208 'size':769 'skill':5,6 'skip':952 'sosumi.ai':1309,1313,1317,1321,1325,1329,1333,1337,1347,1356,1367 'sosumi.ai/documentation/bundleresources/entitlements/com.apple.developer.nfc.readersession.formats)':1366 'sosumi.ai/documentation/corenfc)':1308 'sosumi.ai/documentation/corenfc/adding-support-for-background-tag-reading)':1355 'sosumi.ai/documentation/corenfc/building_an_nfc_tag-reader_app)':1346 'sosumi.ai/documentation/corenfc/nfcndefmessage)':1320 'sosumi.ai/documentation/corenfc/nfcndefpayload)':1324 'sosumi.ai/documentation/corenfc/nfcndefreadersession)':1312 'sosumi.ai/documentation/corenfc/nfcndefreadersessiondelegate)':1332 'sosumi.ai/documentation/corenfc/nfcndeftag)':1328 'sosumi.ai/documentation/corenfc/nfctagreadersession)':1316 'sosumi.ai/documentation/corenfc/nfctagreadersessiondelegate)':1336 'source-dpearson2699' 'stale':1088 'standard':244 'status':393,407,599,612,617,1149,1168,1182,1185,1190,1252 'string':116,677,684,747,760,775 'strong':1084 'success':443,661 'support':138,174,1350 'swift':3,37,165,253,362,470,601,669,716,874,914,975,1029,1112,1163 'switch':406,532,721,1064 'tag':14,25,34,51,55,73,77,100,124,131,136,192,200,223,236,245,287,343,353,361,368,373,380,412,441,448,461,498,510,514,520,533,539,548,557,566,575,595,604,622,659,793,804,828,835,849,859,870,1148,1156,1179,1195,1224,1257,1275,1299,1343,1353,1361 'tag-detect':352 'tag-read':1342 'tag-reader-sess':54 'tag.queryndefstatus':392,611,1184 'tag.readndef':419,431 'tag.writendef':645,1169,1201 'tagread':473 'tagreadersess':506,578 'tagreadersessiondidbecomeact':502 'tags.first':374,515 'tap':856 'target':36 'termin':1072 'text':249,679,735,739,741 'textpayload':682 'time':1290 'touch':968 'true':928,949,987,1005 'type':67,71,125,183,184,576,665,698,767,774,782,783,839,1225 'ui':164 'uiscen':878 'unchang':787 'univers':820 'unknown':445,570,786,789 'unsupport':574,964 'uri':746,754,755 'url':248,609,610,632,633,638,670,675,676,727,730,731,825 'urlpayload':673 'use':17,227,350,451,702,711,1272 'user':113,855,1020,1034,1246 'user-fac':112 'useract':880 'useractivity.activitytype':883 'useractivity.ndefmessagepayload':890 'utf8':703,712,751,764,779 'var':262,477 'via':872 'within':210 'without':808,905,1146,1166 'work':940 'write':12,58,62,348,586,589,654,1145,1150,1165,1255,1261 'writetotag':603 'writing-ndef-messag':61 'written':660 'wrong':915,976,1030,1113,1164 'xcode':104 'xs':797","prices":[{"id":"02787800-db5e-4d4f-a7a4-446f19e73611","listingId":"5eda2907-bdf0-4364-b535-9b1d848c7d8f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"dpearson2699","category":"swift-ios-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:34:43.682Z"}],"sources":[{"listingId":"5eda2907-bdf0-4364-b535-9b1d848c7d8f","source":"github","sourceId":"dpearson2699/swift-ios-skills/core-nfc","sourceUrl":"https://github.com/dpearson2699/swift-ios-skills/tree/main/skills/core-nfc","isPrimary":false,"firstSeenAt":"2026-04-18T22:00:52.993Z","lastSeenAt":"2026-04-22T00:53:42.349Z"},{"listingId":"5eda2907-bdf0-4364-b535-9b1d848c7d8f","source":"skills_sh","sourceId":"dpearson2699/swift-ios-skills/core-nfc","sourceUrl":"https://skills.sh/dpearson2699/swift-ios-skills/core-nfc","isPrimary":true,"firstSeenAt":"2026-04-18T20:34:43.682Z","lastSeenAt":"2026-04-22T03:40:33.987Z"}],"details":{"listingId":"5eda2907-bdf0-4364-b535-9b1d848c7d8f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"dpearson2699","slug":"core-nfc","source":"skills_sh","category":"swift-ios-skills","skills_sh_url":"https://skills.sh/dpearson2699/swift-ios-skills/core-nfc"},"updatedAt":"2026-04-22T03:40:33.987Z"}}