Twitter | Search | |
Bruno Rocha
Software Engineer (iOS) , Writer of
194
Tweets
54
Following
1,005
Followers
Tweets
Bruno Rocha 15h
Replying to @mattie
Thanks a lot! 😀
Reply Retweet Like
Bruno Rocha Aug 19
Replying to @_tiagoalmeida
I'm happy that you find it useful! ♥️Thanks!
Reply Retweet Like
Bruno Rocha Aug 16
Replying to @r0unak
Running the tool creates a json in the root of the repo, and subsequent runs use this json to compare the new info (and store the old ones). So I just have a workflow in the CI to commit the json in the master branch after running it.
Reply Retweet Like
Bruno Rocha Aug 16
Replying to @stevenhepting
It goes super well with Buck! I got all "first party" modules in the same folder, so after some scripting I can now make the tool print module-related info like this:
Reply Retweet Like
Bruno Rocha Aug 15
Just pushed SwiftInfo 2.3.5 to add support for reading Buck Build logs. Because iFood doesn't use Xcode anymore, I'll be adding Buck versions of the providers to the tool so we and other Buck-using companies can keep using it. First is 🎯TestCountProvider!
Reply Retweet Like
Bruno Rocha Aug 15
This is an old trick, but you can type `defaults write .dt.Xcode ShowBuildOperationDuration YES` into the terminal to show the build time for a target. Neat for complaining to your colleagues when things are slow
Reply Retweet Like
Bruno Rocha Aug 13
Although I added Buck to this project over a month ago, I just started developing an iOS feature on it this week. The feature has its own module, and oh god how good it is to have instant build times in a project this big 😍
Reply Retweet Like
Bruno Rocha Aug 8
Tired of recompiling the app to test a change? How about changing assembly instructions on the fly? I wrote about some of lldb's more exotic uses:
Reply Retweet Like
Bruno Rocha Aug 8
Replying to @byaruhaf
That's fast! Thank you :) Fixed
Reply Retweet Like
Bruno Rocha Aug 7
Oh no they didn't
Reply Retweet Like
Bruno Rocha Jul 31
Replying to @nov__
I'll push an update to a branch once I get the new Xcode 😉
Reply Retweet Like
Bruno Rocha Jul 31
Replying to @nov__
Wait, it doesn't work? I thought ABI stability would cover that I'll push a 5.1 update if that's the case
Reply Retweet Like
Bruno Rocha Jul 31
I made SwiftInfo for PRs a while ago, but we only added it for real in iFood yesterday. I want to track the individual coverage of each monorepo module and warn if something diverges by a lot. We use Buck, so this means I had to make custom rules for everything 😫
Reply Retweet Like
Bruno Rocha Jul 22
There are three internal ExpressibleBy types in Swift: ExpressibleByColorLiteral, ExpressibleByImageLiteral and ExpressibleByFileReferenceLiteral, used for Xcode's asset catalog and file references. I wish you could use these, would be useful for macOS apps!
Reply Retweet Like
Bruno Rocha Jul 18
Thanks for those who went to my talk at ! Hope you liked it.
Reply Retweet Like
Bruno Rocha Jul 18
Ready to roll at iOS, get your SwiftRocks stickers at my talk 4PM 🎯
Reply Retweet Like
Bruno Rocha Jul 17
You can use the ExpressibleBy family of protocols in Swift to convert literal tokens into full objects - but how the hell does that work and why would you do that? Check it out in my latest post!
Reply Retweet Like
Bruno Rocha Jul 12
Replying to @stevenhepting
I direct this to you and Buck related subjects in conferences 😛
Reply Retweet Like
Bruno Rocha Jul 12
Me: Have great idea for a talk in a specific conference Also me: Sees that someone gave the exact same talk in the conf's previous edition OH COME ON
Reply Retweet Like
Bruno Rocha Jul 11
Replying to @_iains
The only problem I had is that it can't commit to protected branches, so I had to disable codeowner requirements... The way I'm fixing that is changing the code so it commits as an admin instead of the regular app user.
Reply Retweet Like