Rajai kumar (@rajai_iOSDev) header
Rajai kumar (@rajai_iOSDev) profile picture

Lead @ PITS | Workaholic📱iOS dev | 🕵🏽 - UX and product efficiency. 📝 @ https://teapawt.org/t.co/BoE20bYzng. 🖥️ @ https://teapawt.org/t.co/mSKQqcY9Jd

Chennai, India
Joined May 2017
Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)Photo by Rajai kumar (@rajai_iOSDev)
Rajai kumar retweeted
Fun fact: the creator of CoreAnimation is one of the creators of SwiftUI! The decision to run animations in the app process rather than the render server (as CoreAnimation does) was one of the earliest and most fundamental decisions we made when designing SwiftUI. Some of the most distinctive experiences of using an iPhone, like UIScrollView rubber banding and SpringBoard app switching are only possible as client-side animations. But these experiences aren’t easy to build with UIKit! This is because if you want a UI to be fully interactive and interruptible by the user while it’s animating, it has to be running in the same process as the event handling. In fact, in iOS 18 we added new APIs to AppKit and UIKit to adopt the SwiftUI client-side animation model. There are a lot of valid critiques of SwiftUI. The fact that SwiftUI doesn’t use CoreAnimation for its animations is not one of them.
SwiftUI isn’t native and here’s why SwiftUI apps may sometimes feel janky. It ditches the key element that made animations run so smoothly on iOS since the original iPhone: Core Animation. In SwiftUI animations run in-app without CA backing. Block the main thread: SwiftUI ball stalls while UIKit’s keeps moving on the render server.
51
117
27
1,582
349,115
Rajai kumar retweeted
My son's Minecraft server has been running in our data center for 18 months. I built it for his birthday because my home internet was too slow. The company had an unused server with 256GB of RAM. He had six friends. This seemed efficient. Last month our infrastructure team noticed one machine generating constant outbound traffic to residential IPs after 4 PM. Security asked what application lived on it. I said it was a Java-based distributed collaboration environment. They asked who owned it. I said a small external user group. Nobody asked the next question. Instead, engineering requested access because they thought I had built an internal sandbox platform. I gave them a separate instance. Now 32 developers use it for testing. The CTO approved two new servers for “non-production experimentation.” My son just got upgraded to 512GB of RAM. Happy early birthday.
104
948
49
40,715
1,456,870
Rajai kumar retweeted
“The Green Tea Garbage Collector” by Michael Knyszek and Austin Clements — go.dev/blog/greenteagc #golang
8
103
10
494
44,233
Rajai kumar retweeted
Modular programming is a software design technique that breaks your project into a smaller maintainable module which promotes separation of concern and reusability. Swift Package makes this process easier than it ever was. sarunw.com/posts/how-to-modu…
9
41
3,138
All about dates #swift #xcode
In this article👇 1. Find number of days between two dates 2. Find number of years between two dates 3. Find whether the given date is the current year 4. Find whether the given date is the yesterday link.medium.com/mHVUYu8Vxxb
84
In this article👇 1. Find number of days between two dates 2. Find number of years between two dates 3. Find whether the given date is the current year 4. Find whether the given date is the yesterday link.medium.com/mHVUYu8Vxxb
1
117
I'm sorry to see you go through this ordeal @KenneyNL
Sorry, had to remove my last tweet because when I told my software got cloned once again (and promoted in my own community) reactions like 'should've gotten a patent', 'it's not a clone if no code is copied' and 'deal with it' started pouring in.
1
Rajai kumar retweeted
20 years ago today, Douglas Adams posted his final message on his forum – just two weeks before he died. He wrote about trying Mac OS X for the first time, and his final words were: "the promise of what's to come once people start developing in Cocoa is awesome." He was so right!
13
78
2
540
Replying to @MisaelLandero
Apple menu > About This Mac > Storage, you’ll see the colored storage map has a new section called Developer.
7
32
14
154
The bigger the project gets, the most you need to decouple responsibilities. That’s how I ended up with the PIKACHU architecture. What's yours?
15
152
41
695
First of all, sorry for the delay. My father had a surgery last week, I stayed with him in the hospital. It was not planned, so I didn’t have time to complete the draft on the weekend. #Swift #Xcode