Post

Replies

Boosts

Views

Activity

Custom offer codes - no sales revenue
Hi, I recently adopted custom offer codes to offer a free month trial which then converts to an annual subscription. When the conversion occurs, I can see in the Trends section a unit of the annual subscription, but there is no sales revenue. I reached out to technical support, which sent me around in circles to different reports, but still did not show any sales revenue. Then I went to a lab during WWDC, and the two engineers agreed that it was odd and they took down my case number (101707403851). I still have not heard back from them. I recently had another custom offer code convert to a subscription and the same thing has happened again. I have another 15-20 converting soon, and I suspect the same will happen. So am I making any sales from these custom offer codes, or should I stop offering them? Thanks.
1
2
1.1k
Jul ’22
NLTagger support for Japanese
Hi, I am trying to use the natural language tagger for Japanese. I used this sample code: var stringToRecognize = jpTextView.text &#9;&#9;let range = stringToRecognize!.startIndex ..< stringToRecognize!.endIndex &#9;&#9;let tagger = NLTagger(tagSchemes: [.lexicalClass]) &#9;&#9;tagger.string = stringToRecognize &#9;&#9;tagger.enumerateTags(in: range, unit: .word, scheme: .lexicalClass) { (tag, range) -> Bool in &#9;&#9;&#9;print("Word [\(stringToRecognize![range])] : \(tag!.rawValue)") &#9;&#9;&#9;return true &#9;&#9;} and applied it on some dummy data: 東京では11月から、コロナウイルスの病気で入院する人が多くなっています。このため、お腹の中に赤ちゃんがいる看護師も仕事を続けています。家に小さな子どもがいる看護師は、子どもにウイルスがうつらないか心配しながら仕事をしています。 The output was: Word [東京] : OtherWord Word [で] : OtherWord Word [は] : OtherWord Word [11] : OtherWord Word [月] : OtherWord Word [から] : OtherWord Word [、] : Punctuation Word [コロナ] : OtherWord Word [ウイルス] : OtherWord Word [の] : OtherWord Word [病気] : OtherWord Word [で] : OtherWord Word [入院] : OtherWord Word [する] : OtherWord Word [人] : OtherWord Word [が] : OtherWord Word [多く] : OtherWord Word [なっ] : OtherWord Word [て] : OtherWord Word [い] : OtherWord Word [ます] : OtherWord Word [。] : SentenceTerminator Word [この] : OtherWord Word [ため] : OtherWord Word [、] : Punctuation Word [お腹] : OtherWord Word [の] : OtherWord Word [中] : OtherWord Word [に] : OtherWord Word [赤ちゃん] : OtherWord Word [が] : OtherWord Word [いる] : OtherWord Word [看護] : OtherWord Word [師] : OtherWord Word [も] : OtherWord Word [仕事] : OtherWord Word [を] : OtherWord Word [続] : OtherWord Word [け] : OtherWord Word [て] : OtherWord Word [い] : OtherWord Word [ます] : OtherWord Word [。] : SentenceTerminator Word [家] : OtherWord Word [に] : OtherWord Word [小さな] : OtherWord Word [子ども] : OtherWord Word [が] : OtherWord Word [いる] : OtherWord Word [看護] : OtherWord Word [師] : OtherWord Word [は] : OtherWord Word [、] : Punctuation Word [子ども] : OtherWord Word [に] : OtherWord Word [ウイルス] : OtherWord Word [が] : OtherWord Word [うつら] : OtherWord Word [ない] : OtherWord Word [か] : OtherWord Word [心配] : OtherWord Word [し] : OtherWord Word [ながら] : OtherWord Word [仕事] : OtherWord Word [を] : OtherWord Word [し] : OtherWord Word [て] : OtherWord Word [い] : OtherWord Word [ます] : OtherWord Word [。] : SentenceTerminator It looks like every word is just being picked up as OtherWord, and it can detect some punctuation. Is this correct, or will there be an improvement to the Japanese tagger soon so we can differentiate between nouns, verbs, conjunctions, particles, etc. ?
1
2
927
Dec ’20
Rename 'Cancel' on modal sheet in SwiftUI
The Apple documentation gives some user interface design tips on modal sheets including renaming Cancel to something like Dismiss where relevant. But there's no guide whether this is possible in SwiftUI. There's a link that takes you to setTitle for Watchkit: https://developer.apple.com/documentation/watchkit/wkinterfacecontroller/1619570-settitle But is there something equivalent for SwiftUI on a Watch app?
0
0
624
Oct ’20