Author Archives: Sorin Dolha

About Sorin Dolha

My passion is software development, but I also like physics.

Around me

Software development for Android and iOS increases. New projects appear, old projects continue and flourish. More than ever before. Enterprises (I’ve saw a couple of them in this situation) are this way “forced” to go from PC-only approach for employees … Continue reading

Posted in Miscellaneous | Tagged , | Leave a comment

Invariant string interpolation

I’m sure you like C# string interpolation support ($”{…}”): var start = DateTime.Now; var end = start.AddDays(7); string weekIntervalText = $”{start}-{end}”; But you also know that this uses the current thread’s culture to format the string, so you think “Oh, … Continue reading

Posted in C# | Tagged , , , , | Leave a comment

Attached properties and the WPF DataGrid

WPF attached properties. They look like such a difficult topic. But you only need to see a single example in action to understand their true potential: as long as your objects inherit from DependencyObject you can add as many extra … Continue reading

Posted in WPF | Tagged , , , , | Leave a comment

How to git stash from a devenv that doesn’t have it integrated

Git stash enables you to switch from one branch to another without committing changes. Still, not all environments (including Visual Studio up to 2017, at least) have it integrated. Of course, if you’re a standard dev, the command line is your … Continue reading

Posted in Miscellaneous | Tagged , , , , , | Leave a comment

Embedding custom Cocoa macOS views with xibs into frameworks

Ever thought of defining a custom Cocoa class (inheriting from NSView or a descendant), associate it with a xib to be able to define its UI with xCode designer, and then put everything into a framework that you could reuse … Continue reading

Posted in macOS | Tagged , , , , , | Leave a comment

“Local” git repo remote on iCloud

Disappointingly, Apple doesn’t (yet?) have cloud based git repo hosting (and it seems even xCode server which previously could have allowed teams to host repos on macOS Server doesn’t offer this anymore, either – maybe awaiting for code integration features … Continue reading

Posted in iOS, macOS, Swift | Tagged , , , , , , , | 1 Comment

Afraid of AI?

OK (or not OK). But (anyway) you shouldn’t be afraid of AI programming. This post, written by one of the best young programmers I’ve ever worked with (he has just started to blog – good luck Zoli!), mentions that there … Continue reading

Posted in Development | Tagged , | 1 Comment