Profile cover photo
Profile photo
Gaurav S Tomar
206 followers -
Bootstrapping Intelligence
Bootstrapping Intelligence

206 followers
About
Gaurav's interests
View all
Gaurav's posts

Post has attachment

Post has attachment
In-Out Parameters | Swift 3
inout keyword is a powerful alternative to tuples for Swift and one thing to make a mistake. PFB- Some notes worth considering When the function is called, the value of the argument is copied. (also known as copy-in copy-out or call by value result) In the ...

Post has attachment
Variadic Functions | Go by Example - Swift 3.0
Variadic functions can be called with any number of trailing arguments. Same like print(...) for Swift. Can be used with define type e.g. "String, Int.." or Any protocol. /// variadic
func variadic (any: Any...) {

if any.isEmpty {
return
...

Post has attachment
SieveSort Algorithm | Swift 3.0
SieveSort, based on the technique of divide-and-conquer, that takes time O(n2) in the worst-case. Given a number n, print all primes smaller than or equal to n. It is also given that n is a small number. /// sieve algo
func sieve (numbers: [Int]) -> [Int] {...

Post has attachment
pankaj verma and 1 other was tagged in Gaurav S Tomar's album.
Photo
Photo
Rensoft Times
81 Photos - View album

Post has attachment

Post has attachment
**
UIActionSheet and UIActionSheetDelegate is deprecated in iOS 8. To create and manage action sheets in iOS 8 / later, we need to use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet because if we have used the same in our previous...

Post has attachment
India Slams US Case Which Seeks to Summon PM Narendra Modi

Post has attachment
UIImage fill color Objective C
Just created an ObjectiveC POC for UIImage color filling with flood fill algorithm. Sample code: https://github.com/gauravstomar/Image-fill-color-ObjectiveC

Post has attachment
Yet another profile pic
Photo
Wait while more posts are being loaded