Post

Replies

Boosts

Views

Activity

NFCTagReaderSession on iOS unable to detect nor format blank ICODE SLIX tags
Hi all, While trying to format blank ICODE SLIX or SLIX2 tags with my iOS swift own app, I cannot manage to have NFCTagReaderSession detect the tag. The NXP's "NFC TagInfo" App does detect the empty, factory blank, tag but my app fails Even the Apple's NFCFishTag demo app of WWDC 2020 fails to detect the blank tags My app displays the standard iOS NFC scanning panel but that's all it can do ... it keeps waiting to sense a tag, before timing out. AFAIK I properly set the entitlements (with both NDEF and TAG formats specified) and info.plist (with scan usage description string) files I have spent countless hours on Internet without success Any helps is much appreciated
0
0
665
Apr ’21
Applescript "open image sequence" in Quicktime now fails, why ?
Hi All, Back to scripting Quicktime with Applescript, I assess the following line now fails : open image sequence seq1 frames per second 24 What I want it to automate .mov generation form numerous and large jpeg image sets, in Quicktime, through pure Applescript or Automate. I have spent hours on Google to sort it out and it seems there are no recent talks on such an issue. What is the issue ? Any helps or scriptlet will be much appreciated
3
0
1.8k
Jan ’21
\.self as an id in Swiftui ForEach: refers to parent Core Data class
Hi all, I hope you can help me on an issue about Core Data Entity inheritance and id parameter in SwiftUI ForEach My data model has « Person » as the parent class of class « Kid» Person has id: UUID has an attribute, so Kid inherits this attribute Kid has an attribute « schoolName ». Person does not have this attribute Kid has a relationship with Toy (many to many) In the class Kid, I have a class function : @nonobjc public class func kids(for toy: Toy) -> [Kid] In a toys dedicated swiftUI view, I want to list the schools of the kids playing with a given toy So, I have this : ForEach(Kid.kids(for: toy), id: \.self) { kid in 								Text(kid.schoolName) 						} The issue is that Xcode associate id: \.self to the class Person and not to Kid Hence, the line Text(kid.schoolName) gives the compiler error : Value of type ‘Person’ has no member ‘schoolName My question is: which value should I give to the id parameter in ForEach so that kid in the closure is actually of Kid Type ? Or what else should I do in order for the ForEach to loop on kids, not on persons ? I am using Xcode 11.6 Any helps would be much appreciated
1
0
1.9k
Jul ’20