Best pods that I use in the most projects

  1. SwiftLint

SwiftLint enforces the style guide rules that are generally accepted by the Swift community.

  1. Firebase

Mostly I am using Firebase for Analytics and Crashlytics.

  1. IQKeyboardManagerSwift

IQKeyboardManager allows you to prevent this issue of keyboard sliding up and covering UITextField/UITextView without needing you to write any code or make any additional setup.

  1. Localize-Swift

Localize-Swift is a simple framework that improves i18n and localization in Swift iOS apps – providing cleaner syntax and in-app language switching.

  1. Kingfisher

Kingfisher is a powerful, pure-Swift library for downloading and caching images from the web. It provides you a chance to use a pure-Swift way to work with remote images in your next app.

How to Make SEO Friendly URL’s with VAPOR?

First of all you should add new Field to your Model as a string which named ‘slug’.

Entry.swift

After that, you should edit your migration. Important thing is, slug shouldn’t be ‘.required’. Otherwise, when you creating new data you have enter your slug manually every request. Also, your field should be unique. This prevents duplicate pages.

CreateEntries.swift

As a third step, you should create new file which named ‘String+Ext.swift’ or other name what you wish. Also there is link for copying for code. https://www.hackingwithswift.com/example-code/strings/how-to-convert-a-string-to-a-safe-format-for-url-slugs-and-filenames

String+Ext.swift

Lastly, you should 2 lines for your create function. Let’s say, our model name is ‘Entry’. We should create slug for new entries.

EntryController.swift

I used title Field for slug. You could use different field for your url’s. Don’t forget to ‘:slug’ parameter to add your routes. Like this:

EntryController.swift

This is the image that how I am catching slug’s.

EntryController.swift

Note: I know this is very basic tutorial for slugs but it is better than sharing nothing.

My Xcode Tips for Better Coding!

I want to share my shortcuts and tips on Xcode that I use mostly. I am using latest Xcode version as much as possible. If you are here, probably you already downloaded Xcode but in any case I am dropping link here. Download Latest Xcode!

1. Hide Errors

When you deal with large projects and want to see only warning instead of like framework warnings etc. press ‘Show only errors’ button in the Issue Navigator.

Continue reading “My Xcode Tips for Better Coding!”

How to Passing Data Between Controllers and Switch View Controllers in Swift?

You started to learning iOS development and you are searching one simple answer! Just passing a data one controller to different controller or want to show different controller from another controller. Let me show you!

First of all we are creating new project as always do when we starting a new tutorial.

Continue reading “How to Passing Data Between Controllers and Switch View Controllers in Swift?”

What Should You Do When You Start to Study Software Engineering?

I will graduate from the Izmir University of Economics in 2 months. The experiences and thoughts that I will share are gained from that school. End of this article you will find some tables from AirTable and useful links with descriptions. Let’s start with my first advice.

  1. Create 8 folders with named 1. semester, 2. semester and go on until 8. As you see in the image:

For 4 years, different 8 semesters.
Continue reading “What Should You Do When You Start to Study Software Engineering?”

Doing Everything In English

Today, I decided to use English as much as possible in my life. In this post, I will update all my changes one by one.


Continue reading “Doing Everything In English”