Unity Development
Jan 15, 2019

Vzor singleton v Unity

Pokud vytváříte komponenty v Unity jako je game manager nebo localization manager, návrhový vzor singleton je pro vás užitečný. V tomto blog postu se podělím o implementaci, kterou můžete použít ve svém projektu. Inspirace získaná z různých zdrojů a kód k dispozici v článku.

Visual Studio General .NET Core
Jan 10, 2019

Cool new way to fill array with a value in .NET Core

Introducing the new way to count: Array.Fill in .NET Core 2.0! Say goodbye to endless for-loops and slow performance. With Array.Fill, you get the best of both worlds - speed and simplicity. Peek under the hood and see how it works. Plus, discover how to specify which indices to fill. Check it out!

Visual Studio General .NET Core
Jan 10, 2019

Cool způsob jak naplnit pole hodnotou v .NET Core

Zajímá vás, kolikrát jste psali opakované cykly nebo LINQ? Pokud odpovíte "nekonečněkrát", máme pro vás dobrou zprávu! Nový způsob v .NET Core Vám to usnadní. Array.Fill je stručný a rychlý. A nejlépe na tom je, že je dostupný ve všech verzích .NET Core 2.0 a novějších. Zjistěte, jak funguje a podívejte se i pod kapotu!

General
Jan 7, 2019

A story about why cautious parentheses never hurt

Discover how a seemingly innocent operator precedence mistake led to completely wrong results when implementing read operations for ushort values from a little-endian byte array. Learn why adding parentheses is crucial for code clarity and avoiding errors. Check out the full article to find out how this mistake was fixed and the lesson learned.

General
Jan 7, 2019

Příběh o tom, že závorky navíc nikdy neuškodí

Dnes jsem se pokoušel implementovat čtení **hodnot ushort z little-endian pole bytů**. Co by se mohlo pokazit? Kód dával úplně nesprávné výsledky. Ponaučení z tohoto příběhu je - kdykoliv váháte, **dvě stisknutí kláves se závorkou vás zachrání před matoucí ladící seancí**.

Xamarin WinUI
Dec 22, 2018

Supporting Chinese localization in UWP apps

Are you struggling to add Chinese translation to your UWP app? Check out this blog post to find out why the system doesn't recognize Chinese culture and learn how to fix it. Don't miss the important takeaway that will help you properly display Chinese resources in your app!

Xamarin Development WinUI XAML
Nov 22, 2018

XAML Compiled Bindings (Xamarin.Forms performance reminder)

Discover the power of compiled bindings in Xamarin.Forms! Not only do they improve performance, but they also provide compile-time confidence, avoiding common data binding errors. Learn how to enable and use compiled bindings in your XAML pages and boost your developer productivity. Check out the full article for more details and examples.

Xamarin Development WinUI XAML
Nov 22, 2018

XAML Compiled Bindings (výkonnostní tip pro Xamarin.Forms)

"Chcete, aby vaše Xamarin.Forms aplikace běžela rychleji a bez chyb? Zjistěte, proč byste měli zvolit compiled bindings a jak je použít. Zlepšete výkon a kontrolu při kompilaci s touto úžasnou funkcí!"

Xamarin Development WinUI
Nov 19, 2018

Supporting light theme taskbar icons in UWP

Discover how to add support for light theme taskbar icons in your UWP apps! With the new beautiful light theme of the Windows Shell, it's the perfect time to update your app's icons. Learn how in this article.

Xamarin Development WinUI
Nov 19, 2018

Podpora světlého motivu u taskbar ikon v UWP

Zkušební verze Windows 10 Insider Preview 18282 představila krásný světlý motiv systémového shellu. Podívejte se, jak můžete přidat podporu světlého motivu taskbar ikon do UWP aplikací!

Development General
Oct 17, 2018

Tip: Použití format stringu v C# string interpolation

Při práci s řetězcovou interpolací v C# 6 jsem objevil úžasnou vlastnost - podporu formatovacího řetězce. Díky ní se můžete vyhnout starému string.Format a zapsat formátování mnohem kompaktněji pomocí jednoho řádku kódu. Znak dvojtečky je vaším novým nejlepším přítelem! 🚀

Development General
Oct 16, 2018

Quick tip: Using format strings with string interpolation in C#

Discover the convenient and readable alternative to string.Format in C# 6 with the introduction of string interpolation syntax. But did you know it also supports format string syntax? Say goodbye to falling back and embrace the succinct and analogous approach. Find out more in the full article.