Open in app

Sign In

Write

Sign In

Rahul Goel
Rahul Goel

192 Followers

Home

About

4 days ago

Five common Generics use-cases in Swift

Here are five common examples of using generics in Swift: 1. Array Sorting: The `sort` function in Swift’s standard library uses generics to allow sorting of arrays containing elements of any comparable type. func sort<T: Comparable>(_ array: inout [T]) { array.sort() …

Swift Programming

2 min read

Five common Generics use-cases in Swift
Five common Generics use-cases in Swift
Swift Programming

2 min read


Apr 11

Improve App performance with Autoreleasepool

Autorelease pools and operation queues are two different concepts in iOS programming, but they can be used together to manage memory and improve performance in certain situations. An autorelease pool is a mechanism in Objective-C and Swift that manages the lifetime of objects created using the autorelease keyword. When an…

Memory Management

2 min read

Improve App performance with Autoreleasepool
Improve App performance with Autoreleasepool
Memory Management

2 min read


Jan 27

Graph & It’s Applications : | Part-2

Part of Quick ramp up Data Structure series to understand standard operations implemented using Swift. Do check out Part-1 before proceeding further. Course Schedule: https://leetcode.com/problems/course-schedule/ 2. Course Schedule II: https://leetcode.com/problems/course-schedule-ii/

Programming

1 min read

Graph & It’s Applications : | Part-2
Graph & It’s Applications : | Part-2
Programming

1 min read


Nov 13, 2022

Top Array Programs For Interview: Swift 5.0 | Part -9

Part of Quick ramp up Data Structure series to understand standard operations implemented using Swift. Do check out Part-8 before proceeding further. 51. Check If N and Its Double Exist : https://leetcode.com/problems/check-if-n-and-its-double-exist/ 52. Check If It Is a Straight Line : https://leetcode.com/problems/check-if-it-is-a-straight-line/

Leetcode

2 min read

Top Array Programs For Interview: Swift 5.0 | Part -9
Top Array Programs For Interview: Swift 5.0 | Part -9
Leetcode

2 min read


Feb 3, 2022

Level up Mac Terminal Like Pro

Make your terminal talk of the town with super convenient autocomplete options and elevated user experience with tons of plugins and themes. If You are a frequent terminal user this post would change the way you used to think about terminal on mac and would make it a breeze as…

IOS App Development

2 min read

Level up Mac Terminal Like Pro
Level up Mac Terminal Like Pro
IOS App Development

2 min read


Oct 12, 2021

Concurrency Games: async/await in Swift 5.5

For this article context term concurrency refer to the common combination of asynchronous and parallel code. Parallel code means multiple pieces of code run simultaneously — for example, a computer with a four-core processor can run four pieces of code at the same time, with each core carrying out one…

Swift Programming

2 min read

Concurrency Games: async/await in Swift 5.5
Concurrency Games: async/await in Swift 5.5
Swift Programming

2 min read


Oct 6, 2021

Curated iOS Interview Questions Series — Part 3

Series aiming to cover as many Q&A’s as possible from iOS interview perspective. Do check out Part-1, Part-2 before proceeding further. Q 35. Is there any difference between nil and .none Output : are same Q36. What is the output in Playground?

IOS App Development

3 min read

Curated iOS Interview Questions Series — Part 3
Curated iOS Interview Questions Series — Part 3
IOS App Development

3 min read


Jul 28, 2021

Scalable Design : Your Next Unicorn iOS App

This article intends to give the testable start-off point for ios-devs trying to ship their very first app to App Store. What : List of latest news to be pulled from news-api, parsed and shown as a list on home screen of the iOS app. …

Swift

3 min read

Scalable Design : Your Next Unicorn iOS App
Scalable Design : Your Next Unicorn iOS App
Swift

3 min read


Jun 17, 2021

Dynamic Programming : Swift 5.0 | Part-2

Standard LeetCode problems with solutions written in Swift using Dynamic Programming. Do check out Part-1 before proceeding further. 4. Unique Paths : https://leetcode.com/problems/unique-paths/ 5. Best Time to Buy and Sell Stock : https://leetcode.com/problems/best-time-to-buy-and-sell-stock/

Swift

1 min read

Dynamic Programming : Swift 5.0 | Part-2
Dynamic Programming : Swift 5.0 | Part-2
Swift

1 min read


Jun 1, 2021

Top Array Programs For Interview: Swift 5.0 | Part -8

Part of Quick ramp up Data Structure series to understand standard operations implemented using Swift. Do check out Part-1, Part-2, Part-3, Part-4, Part-5, Part-6, Part-7 before proceeding further. 45. Letter Combinations of a Phone Number : https://leetcode.com/problems/letter-combinations-of-a-phone-number/ 46. Check If Two String Arrays are Equivalent : https://leetcode.com/problems/check-if-two-string-arrays-are-equivalent/

Swift

2 min read

Top Array Programs For Interview: Swift 5.0 | Part -8
Top Array Programs For Interview: Swift 5.0 | Part -8
Swift

2 min read

Rahul Goel

Rahul Goel

192 Followers

Computer Science Enthusiast | 10+ Year of Software Evolution | @Sharechat, Groupon, Paytm, Myntra https://www.linkedin.com/in/therahulgoel/

Following
  • Aman Jain

    Aman Jain

  • Jessica Powell

    Jessica Powell

  • Schrodinger's Cat

    Schrodinger's Cat

  • Mudit Sen

    Mudit Sen

  • GunjanMaddan

    GunjanMaddan

See all (50)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech