Swift Tips: Switch

Please find Swift playground at github.com

This post shares from simple to advance the use of switch cases in swift. These can be enhanced and some time shorthand of more lines of code. I hope you would enjoy them and try to use in your coding style. Please let me know your feedback in the comments if you have any. Happy coding.

Continue reading
Blog Post Rating :

Git (Chapter 13: Plumbing)

In Rewriting History, I talked about the internal representation of a Git repository. I may have misled you a bit. While the reflog, interactive rebasing, and resetting may be more complex features of Git, they are still considered part of the porcelain, as is every other command we’ve covered. In this module, we’ll take a look at Git’s plumbing—the low-level commands that give us access to Git’s true internal representation of a project.

Continue reading
Blog Post Rating :

Git (Chapter 12 – Tips & Tricks)

This module presents a broad survey of useful Git utilities. We’ll take a step back from the theoretical aspects of Git and focus on common tasks like preparing a project for release and backing up a repository. While working through this module, your goal shouldn’t be to master all of these miscellaneous tools, but rather to understand why they were created and when they might come in handy.

Continue reading
Blog Post Rating :

Git (Chapter 10: Distributed Workflows)

Now that we know how to share information via a centralized workflow, we can appreciate some of the drawbacks of this collaboration model. While it may be convenient, allowing everyone to push to an “official” repository raises some legitimate security concerns. It means that for anyone to contribute content, they need access to the entire project.

Continue reading
Blog Post Rating :

Git (Chapter 9: Centralized Workflows)

In the previous module, we shared information directly between two developers’ repositories: my-git-repo and marys-repo. This works for very small teams developing simple programs, but larger projects call for a more structured environment. This module introduces one such environment: the centralized workflow.

Continue reading
Blog Post Rating :