Giter VIP home page Giter VIP logo

swiftyoverlay's Issues

Naming convention/Auto Dismissal

I really liked this library and thanks for this repo.

  • Is there a specific reason why the pod is called SwiftyOverlay, and view is called GDOverlay while the delegate is called SkipOverlayDelegate (probably instead of the delegate may be a completion handler will simplify the process further)

  • Also there is no auto dismissal for the overlay view

    I would not mind in creating a PR for the name consistency and auto dismissal. Any thoughts?

Autolayout error when drawOverlay on UIView

How can I fix the following auto layout error?

2021-02-24 21:12:44.963119+0100 App-iOS[2690:546041] [LayoutConstraints] Unable to simultaneously satisfy constraints.
	Probably at least one of the constraints in the following list is one you don't want. 
	Try this: 
		(1) look at each constraint and try to figure out which you don't expect; 
		(2) find the code that added the unwanted constraint or constraints and fix it. 
	(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x283d60dc0 h=--& v=--& SwiftyOverlay.GDOverlay:0x10bf14c40.minX == 0   (active, names: '|':UIWindow:0x10bf06ba0 )>",
    "<NSAutoresizingMaskLayoutConstraint:0x283d60e60 h=--& v=--& SwiftyOverlay.GDOverlay:0x10bf14c40.width == 0   (active)>",
    "<NSAutoresizingMaskLayoutConstraint:0x283d602d0 h=--- v=--- UIWindow:0x10bf06ba0.width == 375   (active)>",
    "<NSLayoutConstraint:0x283d6c910 UIView:0x10f114290.right == SwiftyOverlay.GDOverlay:0x10bf14c40.right - 16   (active)>",
    "<NSLayoutConstraint:0x283d6c870 UIView:0x10f114290.centerX == UIWindow:0x10bf06ba0.centerX   (active)>",
    "<NSLayoutConstraint:0x283d6c960 UIView:0x10f114290.left == SwiftyOverlay.GDOverlay:0x10bf14c40.left + 16   (active)>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x283d6c910 UIView:0x10f114290.right == SwiftyOverlay.GDOverlay:0x10bf14c40.right - 16   (active)>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

Center Bottom View

If a view is at the center bottom the arrow and the message doesn't show up in the screen. I have attached screenshot for the reference.
IMG_23401624B440-1

App crash - createTargetView

Hello @saeid

For some users, my app keeps crashing on the following lines.
What can be the possible reason as I cannot reproduce this issue?

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.