Giter VIP home page Giter VIP logo

codeexamples's Introduction

codeexamples's People

Contributors

caiodias avatar dvanwinkle avatar kharrison 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  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

codeexamples's Issues

ListCollection example crashes

Project
ListCollection

Environment
Please include at least the following details:

  • Xcode version: Version 12.0 beta 2 (12A6163b)
  • iOS version: iOS 14
  • Device or simulator used to reproduce the bug: simulator

Describe the bug
Check out CodeExamples. Open the ListCollection example and run it. This will result in the following:

DiffableDataSource[68322:3360678] -[UICollectionViewListCell _updateCurrentSystemTypeAccessoryViews]: unrecognized selector sent to instance 0x7fa823f26f40
-[UICollectionViewListCell _updateCurrentSystemTypeAccessoryViews]: unrecognized selector sent to instance 0x7fa823f26f40

Adding cell accessory breaks autosizing

In the SelfSize example, if an accessory (e.g a disclosure indicator) is added to the cell, the autosizing of the cell no longer works.

I'm new to GitHub, sorry if this is the wrong way to tell you.

Doesn't scroll

Following this it doesn't scroll for me like the prior used to.

Swift implementation

hi, I am trying to print footer UIViewPrintFormatter in swift, is there an example in swift for drawFooterForPageAtIndex that I can look at?

UIRefreshControl not working

Hello, There is a question about UIRefreshControl, I tried to rewrite your RefreshScroll Project in Xcode 12.2.1, but found that UIRefreshControl needs manual pull to work, and your Demo directly calls scrollView.refreshControl?.beginRefreshing() Can work, what are you doing?

class SignUpViewController: UIViewController {

    @IBOutlet private weak var scrollView: UIScrollView!
    @IBOutlet private weak var orangeLabel: UILabel!
    @IBOutlet private weak var orangeButton: UIButton!

    private var orangeAvailable = true {
        didSet {
            orangeLabel.isHidden = !orangeAvailable
            orangeButton.isHidden = !orangeAvailable
        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()

        if #available(iOS 10.0, *) {
            let refreshControl = UIRefreshControl()
            let title = NSLocalizedString("PullToRefresh", comment: "Pull to refresh")
            refreshControl.attributedTitle = NSAttributedString(string: title)
            refreshControl.addTarget(self,
                                     action: #selector(refreshOptions(sender:)),
                                     for: .valueChanged)
            scrollView.refreshControl = refreshControl
            
            scrollView.refreshControl?.beginRefreshing()
        }
    }

    @objc private func refreshOptions(sender: UIRefreshControl) {
        orangeAvailable = !orangeAvailable
//        sender.endRefreshing()
    }
}

Even more strange is that I copied the Main.storyboard file of the RefreshScroll Project to my Demo Project and it works fine.

self size doesn't working

I had remove the explicit content width.

and set as follow
self.tableView.estimatedRowHeight = 100.0;

self.tableView.rowHeight = UITableViewAutomaticDimension;

but doesn't work.it still need to add the follows:
- (void)viewDidAppear:(BOOL)animated


{


[super viewDidAppear:animated];


[self.tableView reloadData];}

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.