Using soft hyphens in Swift 3.0

There can be cases when we will need to support hyphens in the iOS app. But it can be crucial thing to detect at which place we should put hyphen and then break the line. Instead of detecting places manually and creating the wheel again we can use Soft Hyphens . The logic behind it is to use unicode value of soft hyphen and put it at every possible place where the word can be split. Lets grab the example, the sentence "I love singing" can be split "I lo-ve sing-ing". So instead of hyphens we will use  \u{00AD}  unicode characters. let loveSinging = "I lo\u{00AD}ve sing\u{00AD}ing" After having the correctly formatted string just assign the string to your label. iOS operating system will decide on its own to show/hide the unicode characters which represents hyphen. Do not forget to set line break mode to truncate tail. label . text = loveSinging Note for .strings file When using the resource file, the escaping character

Test Case Generation - Model Checker

Introduction In all software development process the time really matters. This is the aspect which is valued as a high-cost. When the beginner programmers start to learn programming languages, they try to learn basic syntax, some language related paradigms as well. They are so enthusiastic, doing their best to acquire knowledge and study. Some time passes, and now they can write basic to-do list application, it can be mobile, web-based or desktop. At this moment, they don't care about the tests, since they can't evaluate how important can the test be. This is the first phase of every single programmer. The second phase for them is to find a job or internship in a company, to gain more experience and earn experience and money. So this is the time when they encounter real project structure and processes how the big projects are done. Understanding the different people responsibilities, separation of the business side and development teams. Here they see the values of quali

Finding iBeacons without ProximityUUID Xamarin Android

            The iBeacon is the small Low Energy Bluetooth device which constantly broadcasts the radio signals to phones and tablets using Bluetooth. Mobile devices can listen to these signals and trigger an action. User's mobile device identifies the concrete iBeacon via it’s ProximityUUID  which is the unique hexadecimal number. ProximityUUID is essential to get the radio signals from the iBeacon.  I was developing my first iBeacon app on iOS, I was unable to connect the iBeacon and finally came to conclusion that, the ProximityUUID which I was using was, unfortunately incorrect. Despite the fact that I was checking the ProximityUUID with various iOS apps such as Locate and eBeacon, the ProximityUUID still seemed incorrect. After a day research and posting the question to stackoverflow , I was suggested to use Android app called Locate to find the correct ProximityUUID of the iBeacon. The android Locate app worked like a charm, it gave the correct UUID and finally I connected