• How to add Scrollview constraint in IOS Xib file


    When I started using Scrollview, I first tested it in Xib, and I couldn’t slide after adding sub layout. Later, after many attempts to solve the problem, I just recorded the process of my own solution. Step 1: add Scrollview Step 2: set up, down, left and right constraints for Scrollview Step 3:Add a contentview […]

  • Detailed explanation of using masonry on Scrollview in IOS


    Use a subview of Scrollview to adjust the content size _scroll_Bg = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 100, SCREEN_W, 200)]; _scroll_Bg.pagingEnabled = YES; _scroll_Bg.delegate = self; _scroll_Bg.backgroundColor = [UIColor redColor]; [self.view addSubview:_scroll_Bg]; 1. Now, Scrollview adds a main subview, which fits Scrollview UIView *bgView = [[UIView alloc] init]; bgView.backgroundColor = [UIColor blueColor]; [_scroll_Bg addSubview:bgView]; [bgView mas_makeConstraints:^(MASConstraintMaker *make) […]

  • Create interesting scrolling effects in Flutter – Sliver series


    1. Preface FlutterAs one of the most popular technologies nowadays, it has already attracted the attention of a large number of technology enthusiasts, even some of them, by virtue of its excellent performance and the advantage of smoothing out the differences among many terminals.Idle fish,American League,tencentLarge companies have been put into operation. Although its ecology […]

  • IOS custom scrollView scrollbar for display and interaction


    The previous article briefly described the package of pull-up and drop-down refresh controls. On this basis, a custom scrollView scrollbar was added to display and interact. First, take a look at the effect map. Simply elaborate the implementation logic: custom scrollbar view inherits UIView, adds scrollbar sliding events, other area click events, and associates with […]

  • Discussion on Realization of nested rolling effect


    This article will discuss the nested scrolling effect like instant, ticket-hunting home page, tremolo, personal home page of brief books. In fact, there are many related articles on the Internet, such as: Sliding Conflict Solution for Nested UIScrollview Another Solution to Sliding Conflict of iOS Nested UIScrollview Multi-tier UIScrollView nested scrolling solution And most of […]

  • Unlimited ScrollView ScrollView ScrollView ScrollView ScrollView by UGUI


    Take time to do an infinite scroll effect of UGUI. Only half done (scroll down infinitely). I also read many tutorials on the internet, and I think it might be better to write them according to my own ideas. The structure is as follows: The content node does not add any components. Layout components by […]