SwiftLint is a tool to enforce Swift style and conventions. It is developed by Realm. Installation: In this page, we will install SwiftLint via Homebrew. Open terminal and run Once installed,…
Closures are blocks of code that defines functionality in your code. Closures can capture and store references to any constants and variables from the context. Basically, swift handles all of…
Swift uses ARC memory management model. Retain Cycles Problem: When two objects reference each other, or when capturing in closures may cause a retain cycles. 1. Referencing object increments object’s…
When it comes to Testing In Swift, there are 3 keys, 1 – Design your code for clear testability. Unified Input & Output: In the functional programming world there is…
https://github.com/rozeridilar/Data-Structure-Swift
Hey Everyone! I have started to create some cool apps(or at least trying to create) for IOS WatchKit recently and noticed that it is way too different than IOS iPhone…
Hey Guys! We all heard the term design patterns, and we know that this is very important for our project, yet when it comes to writing code we don’t pay…
Hey Guys! In android, we developers are really lucky to copy/paste the icons to our app. In IOS However, Apple makes you add very specific sizes. We need different sizes,…
Hey! Limiting number of characters is really easy if you have standard keyboard. The link below offers so many options for this prob: http://stackoverflow.com/questions/7010547/uitextfield-text-change-event But these options werent fit for…
I’m building an iOS app using a Storyboard. And I had to add custom keyboard for my own app. For designing keyboard I had soo many difficulties(Autolayout is an art,…
Hi! After I added custom fonts to my Swift – IOS project, I had some problems to reach my custom fonts.All I did was to add .otf folders to under the…
Hope you’ll enjoy Swifty Posts!