mruegenberg / ios-numberrangeselector Goto Github PK
View Code? Open in Web Editor NEWGranular selection from a numeric range for iOS.
License: MIT License
Granular selection from a numeric range for iOS.
License: MIT License
I copied:
NSObject+ObserveActions.h/m
UIColor+HelperAdditions.h/m
DLSeamlessTiledLayer.h/m
NumberRangeSelector.h/m
project gets the following compile error:
/Users/.../NumberRangeSelector.m:73:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
__block typeof(self) bself = self;
~~~~~~~ ^
/Users/.../NumberRangeSelector.m:73:24: error: a parameter list without types is only allowed in a function definition
__block typeof(self) bself = self;
^
/Users.../NumberRangeSelector.m:73:29: error: expected ';' at end of declaration
__block typeof(self) bself = self;
^
;
/Users/.../NumberRangeSelector.m:75:14: error: use of undeclared identifier 'bself'; did you mean 'self'?
[bself setNeedsDisplay];
^~~~~
self
note: 'self' is an implicit parameter
/Users/.../NumberRangeSelector.m:75:14: warning: capturing 'self' strongly in this block is likely to lead to a retain cycle [-Warc-retain-cycles]
[bself setNeedsDisplay];
^~~~~
/Users/.../NumberRangeSelector.m:74:10: note: block will be retained by the captured object
[self addObserverAction:^{
^~~~
2 warnings and 3 errors generated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.