Skip to content

while (true) { }

notes from a developer, tutorials, how-to, ideas

Tag: enum

Posted on 7 September 202022 July 2020

Swift – Useful NotificationName extension

Very often you should use a notification name in your code and every time you miss something, you write the wrong name and so on…

I want to simplify the coding like, so I use this solution. Easy and simple for me and I want to share:

Continue reading “Swift – Useful NotificationName extension”
Posted on 10 September 201224 May 2018

[PHP] A custom ENUM

PHP has not enum, but there is a simple way to simulate it, using Class in php5.

I like to use this structure:

Continue reading “[PHP] A custom ENUM”


Recent Posts

  • Swift – Simple full screen loader 11 August 2022
  • macOS – Disable microphone while typing 11 April 2022
  • iOS – Secure app sensitive information 25 March 2022
  • DIY: Hack Weward for iOS 8 March 2022
  • Swift – Circular button bubbles with gravity 26 November 2021
  • Swift – Have fun with GravityBehavior and DynamicAnimator 19 November 2021

Archives

Proudly powered by WordPress