swift-style-guide
SwiftLint
swift-style-guide | SwiftLint | |
---|---|---|
3 | 23 | |
13,021 | 18,349 | |
0.1% | 0.6% | |
3.8 | 9.4 | |
3 months ago | 6 days ago | |
Swift | ||
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swift-style-guide
-
How to automatically put Swift parameters on each line in Xcode?
I've been researching and can't find any setting to make Xcode put parameters on new lines like in the Swift style guide: https://github.com/kodecocodes/swift-style-guide
-
Swift All-Stars: unit-testing and auto-correct
"action-swiftlint" is an action that provides SwiftLint, which is a linter that had been inspired by the rules as described in detailed write-ups such as Ray Wenderlich's Swift Style Guide. SwiftLint features a --fix option that rewrites source code in-place with auto-corrections (where possible).
- Como escrever códigos mais padronizados?
SwiftLint
- A problem when adding Swiftlint as a dependency on my won package?
- I need some answers on something very beginner unfriendly
-
Your favourite Xcode programming tools.
SwiftLint is a big one.
-
Just looking for advice on formatting code for clarity - [SwiftUI Shape]
I actually don't see anything worth changing. It looks good to me. I think the most important thing is just to maintain the constructive attitude you already have about future-you dealing with the code, because only future-you will really know where you could have done better. One personal-preference thing I carried over from working on Go code is to look for a tool like gofmt [1,2] for Swift. I've been using swift-format [3] for about 2 years and haven't been dissatisfied enough to reach for something more fully featured like SwiftLint [4]. I didn't like the idea at first of delegating most formatting control over to a tool designed with someone else's subjective idea of formatting. But my feeling afterward was that it was freeing: it was no longer (completely) my job/burden/responsibility. An "assistant" would clean up the formatting of my code every time I saved the file. That's a nightmare if you can't configure the tool as much as you need, but if you're lucky and find a configuration you can live with, it lets you focus more on naming and other conventions that aren't so easily automated (yet). [1] https://go.dev/blog/gofmt [2] https://twitter.com/bitfield/status/953395343353315329 [3] https://github.com/apple/swift-format [4] https://github.com/realm/SwiftLint
-
A Practical Approach to Automated Accessibility
iOS SwiftLint
-
Ask HN: Xcode users – how do you make it more usable?
1) Here are some tips & tricks for refactoring: https://developer.apple.com/documentation/xcode/finding-and-...
The “rename in project” or “rename in scope” functions are quite neat.
2) Check out SwiftLint: https://github.com/realm/SwiftLint
I have not used it in a while, but it comes with good defaults and is highly customizable to your own preferred Swift style.
-
How do you enforce that everyone in your team and your CI pipeline all use the same SwiftLint version?
Check this as well https://github.com/realm/SwiftLint
-
I am applying for jobs. Feedback and suggestions welcome.
Try SwiftLint. https://realm.github.io/SwiftLint/
-
Enforce Swift style and conventions with SwiftLint
if which swiftlint >/dev/null; then swiftlint else echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" fi
-
Awesome macOS Libraries List
SwiftLint - A tool to enforce Swift style and conventions. Language: Swift.
What are some alternatives?
action-swiftlint - GitHub Action for SwiftLint
SwiftFormat - A command-line tool and Xcode Extension for formatting Swift code
install-swift - GitHub Action to install a version of Swift 🏎
Tailor - Cross-platform static analyzer and linter for Swift.
OCLint - A static source code analysis tool to improve quality and reduce defects for C, C++ and Objective-C
Swimat - An Xcode formatter plug-in to format your swift code.
Flex - An in-app debugging and exploration tool for iOS
FBMemoryProfiler - iOS tool that helps with profiling iOS Memory usage.
IBLinter - A linter tool for Interface Builder
FBRetainCycleDetector - iOS library to help detecting retain cycles in runtime.
chisel - Chisel is a collection of LLDB commands to assist debugging iOS apps.
MLeaksFinder - Find memory leaks in your iOS app at develop time.