Why Nostr? What is Njump?
2024-06-22 21:00:07

David Beck :xcode: on Nostr: Since iOS 18 has a lot of “how did that take 18 releases”, I’ll throw an api ...

Since iOS 18 has a lot of “how did that take 18 releases”, I’ll throw an api quark that has driven me nuts since the first SDK: UIViewController.dismiss behaves differently based on the state of presentation. It dismisses self if it doesn’t have a presented VC, but if it does it dismisses that VC. And if it is *currently* dismissing a presented VC, presentedViewController will be non nil but it will dismiss self.

This api is bad and should be replaced. And it should have been 10 years ago.
Author Public Key
npub1x3l9d6qc25r7q4plwzhgfwuhea057gadg7pd4tx5x7k98g23jc6qagnlv0