{"repo":"mmackh/BaseComponents","free":true,"listed":false,"github":"https://github.com/mmackh/BaseComponents","clone":"git clone https://github.com/mmackh/BaseComponents.git","description":"BaseComponents aims to provide easily reusable and understandable components to increase productivity with UIKit and Foundation APIs","language":"Swift","stars":143,"topics":["swift5","uikit","uitableview","uicollectionview","autolayout","uistackview","cloudkit","ui-components"],"license":"MIT","category":"ui-components","readme_excerpt":"BaseComponents Introduction BaseComponents aims to provide easily reusable and understandable components to increase productivity with UIKit. Formerly written in Objective-C and used extensively in production, the time has come to transition to Swift. Components Layout ConditionalLayoutView Adjust the order, size and selection of subviews based on traitCollections, userInterfaceIdiom, screen size or any other condition. The actual layout is performed by a SplitView instance. First Steps Use on any . To add conditional layout paths use and return if a layout condition is met. Code Sample --- ScrollingView A subclass of UIScrollView to programatically layout subviews in a given direction. The size of a subview along a horizontal or vertical direction can be determined automatically, e.g. UILabel , or by providing a fixed point value. First Steps Use on any . Code Sample --- SplitView Divide the available width or height of a UIView amongst its subviews programmatically. First Steps Use on any . Code Sample --- Storage DiskData Store and retrieve Codable objects, images, strings or data on the local file system. Has the ability to compress directories into a .zip archive. First Steps Create an instance of or . Use to store data. Code Sample --- CloudKitData Store and retrieve objects conforming to CloudKitDataCodable in CloudKit. First Steps Create a class conforming to the protocol. Create an instance of to perform CRUD operations on objects. When first trying to query objects,","default_branch":null,"files":null,"tree":[],"storefront":"/r/mmackh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mmackh/BaseComponents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}