Post

Replies

Boosts

Views

Activity

Reply to App Rejection: Guideline 4.2 - Design
I don't necessarily mean to critisize how Apple, Inc. runs App Store and Mac App Store. But dealing with their reviewers is like playing the Russian roulette. Most reviewers find no problem if I give users one week of free trial and then validate their in app purchase status. But one reviewer now says no. Some reviewers seem to accept the idea that a desktop application can have a subscription-based IAP. Mine was rejected several months ago. It's very difficult for me to figure out what is acceptable and what is not.
Dec ’19
Reply to Updating NSView With SubViews and a Memory Leak
Claude,The following code shows sub view counts.class MainViewController: NSViewController { @IBOutlet weak var displayView: NSView! override func viewWillAppear() { super.viewWillAppear() print("No. of subviews before the display view shows up", displayView.subviews.count) // => 0 for sub in displayView.subviews { sub.removeFromSuperview() } } override func viewDidAppear() { super.viewDidAppear() for sub in displayView.subviews { sub.removeFromSuperview() } print("No. of subviews after the display view shows up", displayView.subviews.count) // => 0 } override func viewWillDisappear() { super.viewWillDisappear() print("No. of subviews right before the display view hides itself", displayView.subviews.count) // => 3 for sub in displayView.subviews { sub.removeFromSuperview() } } override func viewDidDisappear() { super.viewDidDisappear() print("No. of subviews after the display view hides itself", displayView.subviews.count) // => 0 } }Initially, the memory consumption stays around 100 MB. After I hide the window and bring it back five times or so, it will go up to around 480 MB.
Dec ’19