Comments (1)
Thanks for raising this issue.
I agree that there are many reasons why the currently chosen names (uiView_mainContent
etc.) are not great.
- too long
- contain underscores
- start with redundant information (the type of the property)
- do not follow 'natural word order' (e.g. 'view left' vs. 'left view')
- not consistent with UIKIt / Cocoa Touch.
However for my projects I have come to prefer this style of naming, for various reasons, including the fact that all my IBOutlets (or subview properties) sort together by type in auto-complete lists and in interface builder. I have my justification for the underscore and the overly descriptive names too, but not sure if I should go into all these details in this message.
I understand I should strive to follow conventions and naming styles and why that's important. And I do it most of the time, unless there is a situation where I feel the benefits of 'breaking' the established style outweigh the drawbacks. This is one such situation.
Of course I am always open to changing my mind on this (being persuaded otherwise), but for now I will close the issue.
from revealingtableviewcell.
Related Issues (11)
- Animation does not stop when dragging begins. HOT 1
- Delegate callbacks needed for when sliding or animations start and stop. HOT 1
- The cell's subviews start jumping everywhere when dragging starts. HOT 1
- The library would not work if storyaboards/xibs are not used HOT 4
- Content view bouncing on start swipe if cell contains UICollectionView HOT 2
- Disable when < iOS10 instead of the strict DeploymentTarget HOT 3
- Swift 4 support HOT 3
- Get Pangesture Direction HOT 2
- Error compiling in xCode 11
- Update to Swift 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revealingtableviewcell.