Skip to content

while (true) { }

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

Tag: iOS

Posted on 10 April 201325 May 2018

[ObjectiveC] Text to Speech with Google Translate

Today, an easy way to use google translate as Text to Speech service.

Do you know this one?
http://www.translate.google.com/translate_tts?tl=it&q=ciao,%20come%20stai?

Continue reading “[ObjectiveC] Text to Speech with Google Translate”

Posted on 2 July 20126 June 2022

[Objective-C] Network type (WIFI, 3G, EDGE/GPRS)

Using private Framework, in particular SoftwareUpdateServices.frameworkyou can distinguish between carrier network, in particular, if your connection is 3G or GPRS/EDGE, or WiFi.

Continue reading “[Objective-C] Network type (WIFI, 3G, EDGE/GPRS)”
Posted on 1 February 201224 May 2018

[iOS] Technical Interview possible question – 01

Suppose that we have a ViewController.h and .m like this:

Continue reading “[iOS] Technical Interview possible question – 01”

Posted on 2 August 201025 May 2018

[Objective C] UIColor from RGB

Do you want to create an UIColor from RGB value?
Here the snipplet:

Continue reading “[Objective C] UIColor from RGB”

Posted on 23 July 200925 May 2018

[Objective-c] Conversioni numeriche su iPhone

A differenza di Java ed altri linguaggi, Objective-C non ha un metodo per convertire da decimale a binario e viceversa, o almeno… io non l’ho trovato!

Ecco qui:

Conversione da decimale a binario:

Continue reading “[Objective-c] Conversioni numeriche su iPhone”

Posts navigation

Previous page Page 1 Page 2 Page 3

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