GithubHelp home page GithubHelp logo

gametimesf / gtsheet Goto Github PK

View Code? Open in Web Editor NEW
278.0 42.0 33.0 426 KB

An easy to integrate solution for presenting UIViewControllers in a bottom sheet

License: MIT License

Objective-C 1.21% Swift 98.79%
ios swift swift-4 carthage sheet bottomsheet iphone apple applemusic transition

gtsheet's People

Contributors

manjirimoghe avatar mikesilvis avatar ss18 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtsheet's Issues

Cocoapods?

I don't find the Pod name in the README file? Any plan with CocoaPods?

Stick the sheet at bottom

Is there a way where we can swipe up the sheet from bottom to top as requires and when swipe it down that it will not hide completely but visible by half height of the actual height? And user can do interaction in both the parent as well as the sheet view controllers?

"broken" on iphone X

Look at your screenshot from readme file. According to apple guidelines you shouldn't overlap the bottom horizontal line with active UI elements.

Note I could understood if your project just didn't support iphone X. But placing this incorrect picture in readme may confuse programmers and they may get a reject from apple on app submission

Expand

Is that possible to scroll/swipe up a tableview/collectionview/scrollview to expand?
Open up half screen, but a possible way to expand it to fullscreen

Or set the distance from top to the modal

Crash in iOS 13 When Dismissing Sheet

Upon dismissing the sheet without animation, I'm seeing the following crash:

Crashed: com.apple.main-thread
0  UIKitCore                      0x19f032170 -[UIPresentationController transitionDidFinish:] + 116
1  (Missing)                      0x5304ac819f036400 (Missing)
2  (Missing)                      0x0 (Missing)
3  (Missing)                      0x0 (Missing)
4  UIKitCore                      0x19edc0044 -[UIViewPropertyAnimator _executeCompletionHandlerWithFinalPosition:] + 212
5  (Missing)                      0x0 (Missing)

HalfSheetPresentingProtocol

How can I use it in objective c project
UIStoryboard* storyBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
ScrollingVC* controller = [storyBoard instantiateViewControllerWithIdentifier:@"ScrollingVC"];
controller.arrayOfObjects = [[NSMutableArray alloc]initWithObjects:@"1rere", @"2fdfd", @"3gdfg", nil];
ScrollingNC *viewCon = [[ScrollingNC alloc]initWithRootViewController:controller];
presentUsingHalfSheet(viewCon); // This line showing following error
Implicit declaration of function 'presentUsingHalfSheet' is invalid in C99
please help

Swipe issue

When we swipe the sheet little bit, then try to tap in the overlay to dismiss, that is not happening in ios 13

A better example?

Right now, the code is so confusing to understand. Please provide a better example.

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.