adam-siton / auiselectivebordersview Goto Github PK
View Code? Open in Web Editor NEWA CALayer subclass that allows to add selective borders
Home Page: http://corecocoa.wordpress.com/2012/03/04/selective-layer-borders/
License: MIT License
A CALayer subclass that allows to add selective borders
Home Page: http://corecocoa.wordpress.com/2012/03/04/selective-layer-borders/
License: MIT License
So if you have a
UILabel *leftLabel;
and you set it to have a left hand border
leftLabel.selectiveBorderFlag = AUISelectiveBordersFlagLeft;
leftLabel.selectiveBordersColor = [UIColor redColor];
leftLabel.selectiveBordersWidth = 3.0;
but that label is a subview of a UIView then the left hand border never shows up
When using in table cells, it has very low performance when rotating screen. I guess, in this moment layoutsubviews called several times, and layer does many calculations
Hi, first of all thank you for your project. It's really handy.
I get this Warning: "Category is implementing a method which will also be implemented by its primary class" and it's related to the code:
+(Class) layerClass {
return [AUISelectiveBordersLayer class];
}
at line 29 in UIView+AUISelectiveBorder.m.
Do you think this could be a problem for App Store submission?
Hi, if applied to UILabel, it will crash on iOS 8. Have you experienced the same issue?
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.