Adrian Zubarev via swift-users schrieb am Mi. 20.
Sep. 2017 um 22:13:
> I don’t get your problem here. If you don’t want to debate the correctness
> of your code, why are you asking for help or even showing error messages
> for a code snippet that cannot work?
>
> 1. Drop the access modifier from
Thank you, Adrian.
(What I meant by “debating the correctness of my code” was that I wanted to
talk about the approach and not about the content of the viewDidLoad() method.)
Cheers,
Rick Aurbach
> On Sep 20, 2017, at 3:13 PM, Adrian Zubarev
> wrote:
>
> I don’t get your problem here. If
I don’t get your problem here. If you don’t want to debate the correctness of
your code, why are you asking for help or even showing error messages for a
code snippet that cannot work?
1. Drop the access modifier from the extension itself, because this is only for
convenience, which may or may
I am trying to write an extension to a UIKit class, but am running into a
can’t-win situation:
The code I ‘want’ to write looks like:
public extension UISplitViewController {
override public func viewDidLoad() {
super.viewDidLoad()
if UIDevice.current.use