Giter Club home page Giter Club logo

lordcodes-dev-tips's Introduction

Lordcodes Development Tips ๐Ÿ˜Ž

ARCHIVED. This repository is no longer updated or maintained. Tips have been moved to my website.

License @lordcodes Lord Codes Blog

I love writing code and I am always trying out new ideas and discovering interesting ways of solving problems. My main focuses are on Android and iOS development, using Kotlin and Swift. To help find the tips and tricks, I will keep them all collected here, grouped by language.

Each tip will include links back to where it was originally shared on Twitter and sometimes Reddit. If you have any thoughts or questions on any I have shared, then please reach out to me there. I am always looking to learn so would love to discuss any better or alternative ways of doing things.

If you like what I am sharing, please don't hesitate to follow me on Twitter and check out my blog.

Kotlin Tips

Swift Tips

Kotlin Tips

#5 Android signing key-store details from Gradle properties

#4 Set up Kotlin sources in src/main/kotlin from Gradle Kotlin DSL

#3 Make the ktlint Gradle task incremental

#2 Enable Java 8 compatibility for Kotlin sources

#1 Manage Gradle dependencies using Kotlin code in buildSrc

Swift Tips

#15 Dealing with file extensions and Uniform Type Identifiers

#14 Ignore nil elements in an RxSwift Observable stream

#13 Simpler categories using os_log

#12 Map the keys of a dictionary to a different type

#11 Match parent's constraints

#10 Animating view colour changes

#9 Create time intervals with explicit units

#8 Accessing localised strings from code using SwiftGen

#7 Protocol function with default values

#6 Safely index items within a collection

#5 Access the call site using Swift special literals

#4 Sharing accessibility identifiers between app and tests

#3 Protocol function that returns the Self type

#2 Using metatype Self to return current type

#1 Child view controller constraints within a subview

Contributing

If you notice any typing mistakes or errors in the code snippets, then please feel free to let me know with a PR.

lordcodes-dev-tips's People

Contributors

lordcodes avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.