Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modal blocked #84

Conversation

juangdelvalle
Copy link

Set a presentationController delegate to be able to capture the event when the presented view is dismissed by a swap down with the new modality management of iOS 13, implementing the presentationControllerDidDismiss method

@juangdelvalle
Copy link
Author

@paulmiard @MichaelCampbell I couldn't add you as a reviewer on the PR, so if you can add it to your list of pending reviews to check it when you have a chance it would be great. Thanks on advance!

Copy link
Contributor

@MichaelCampbell MichaelCampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for working on it @juangdelvalle. Sorry for the delay on reviewing.

I left some inline comments, but I think we should be good to merge once the travis build passes. Let me know if you need some support getting it to pass.

Yoshi.podspec Outdated
Comment on lines 19 to 21
s.description = <<-DESC
Yoshi is a convenient wrapper around the UI code that is often needed for displaying debug menus. Out of the box, Yoshi provides easy-to-implement date, list and custom menus.
DESC
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the description no longer required — curious why you removed it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was by mistake, I'll add it back right away

s.author = { "Michael Campbell" => "[email protected]" , "Luna An" => "[email protected]"}
s.source = { :git => "https://github.com/prolificinteractive/Yoshi.git", :tag => s.version.to_s }

s.platform = :ios, '8.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is platform no longer required?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

platform is now specified in s.ios.deployment_target = '8.0'

s.name = 'Yoshi'
s.version = '3.0.1'
s.summary = 'A helpful companion for your iOS app.'
s.license = 'MIT'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we no longer link reference the license file?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as I understand, is no longer required to make a reference to a license file, but I can change it to make the reference anyway.

Yoshi.podspec Outdated
s.screenshots = 'https://raw.githubusercontent.com/prolificinteractive/Yoshi/a6e85e87cbd67f2bb3bfe60157e7b13281d80f20/Images/Yoshi.png", "https://raw.githubusercontent.com/prolificinteractive/Yoshi/c66cdf8dc2ab643fe57996d20d3cd37b8b70ceff/Images/Yoshi_iPad.png'

s.ios.deployment_target = '8.0'
s.swift_versions = ['4.2', '5.0', '5.1']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an open PR that takes care of Swift 5 changes. Don't we need to merge it before adding 5.x to the list?
See #83

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this PR I also migrated the code to Swift 5 (the other PR wasn't approved yet so I thought about killing two birds with the same stone)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't look at the details in the other PR but looked like there was more going on. Are you saying the other PR can be declined all together once this is merged? I guess I will diff it to see what else was in there once we merge but happy to hear your thoughts

@juangdelvalle
Copy link
Author

This looks great, thanks for working on it @juangdelvalle. Sorry for the delay on reviewing.

I left some inline comments, but I think we should be good to merge once the travis build passes. Let me know if you need some support getting it to pass.

@MichaelCampbell I might need help to get it to pass, the error that I'm getting is: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'YoshiTests') I wonder if the supported swift version is something that must be setted on Travis

@MichaelCampbell
Copy link
Contributor

MichaelCampbell commented Mar 9, 2020

@MichaelCampbell I might need help to get it to pass, the error that I'm getting is: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'YoshiTests') I wonder if the supported swift version is something that must be setted on Travis

I took a look into this framework and it seems that they're doing something similar to us: https://github.com/DianQK/TransitionTreasury/blob/master/.travis.yml

Maybe try bumping the pod version to latest @juangdelvalle

@Armenm
Copy link

Armenm commented Jul 28, 2021

Hi @juangdelvalle, any progress on this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants