https://github.com/sinri/sinrixcodebasement
いろんなツールを独立して保存する。
https://github.com/sinri/sinrixcodebasement
Last synced: 10 months ago
JSON representation
いろんなツールを独立して保存する。
- Host: GitHub
- URL: https://github.com/sinri/sinrixcodebasement
- Owner: sinri
- License: gpl-3.0
- Created: 2015-02-26T14:45:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-16T14:21:47.000Z (over 10 years ago)
- Last Synced: 2025-01-29T18:33:21.693Z (over 1 year ago)
- Language: Objective-C
- Size: 4.36 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SinriXcodeBasement
~いろんなツールを独立して保存する~
## PrefixHeader
_Version 1.0, Since 2015 Feb 26_
Some common definitions could be used in nearly all projects for convenience.
## CommonUtil
_Version 1.0, Since 2015 Feb 26_
Common utilities including UI toolkit and system predefined class extensions.
## ActiveRow
_Version 1.0, Since 2015 Feb 26_
ActiveRow is a simple implement of horizontal UITableView. It uses DataSource and Delegate Protocol Structure as well.
It is almost the same with the design and usage of UITableView, but note that it is simplified:
*Direct UI Design*
Up to this version has not contained the header/footer alike design, and the size of each column (or Cell for familiarity) is defined in the DataSource Method.
*Light Memory Management*
It has no special memory management on column reusement. Only a column array is maintained for the storage of the columns. You can directly get the column object.
*MVC Design*
The column count and the UI for each column is defined by DataSource. It also use `reload` method to completely reload the columns. Comparely, it is not as cheap as UITableView, as it updates not only the visible columns but the entire column set.
## SinriAd
_Version 1.0, Since 2015 Feb 27_
An UIView based advertisement display tool, making advertisement integration as easy as an UIImageView(I thought to be). iAd, Google AdMob and SinriAd are initially capsulized in, only `rootViewControl` and `GAD_UNIT_ID` for AdMob are needed.
## SinriAlertView
_Version 1.0, Since 2015 Feb 27_
An `UIAlertController`-alike, block-based UIAlertView. With this sub class of `UIAlertView`, you have no need to write protocol method to handle Alert Response in view controllers, but in a block near the alert definition, even within!