Unfortunately, there is no property for UITextField that allows controlling the maximum length of text entered into it. Instead, this behavior can, for instance, be achieved by using an appropriate delegate method of the UITextFieldDelegate.
I’ve came across the problem that i cannot create a new virtual machine of Mac OS X Yosemite 10.10 on my new Mac Mini. The problem I experience is that there is no option on the install screen prompting me to »Install OS X Using the Recovery Partition«. The screenshot below shows this option.
Well, that thing looks promising.
If you – like me – copy image files regularly to an external HD, you might also have come across the problem that sometimes the file references are created but the eventual copying of the file contents failed. Thus, I regularly end up with a lot of dead files that block the way for the […]
<update date=″17.9.15″> Fixed a bug when checking ‘authorization always’. Added a Swift extension that does the same. </update> When you use the location of the user in your app and want also your iOS8 users to be able to enable using their location, you have to explicitly ask the user for it using this or […]
EDIT: Please make sure at first that you are using an enterprise account and not a normal account before following any guidelines! Provisioning an iOS app for in-house distributione is damn complicated. As my efforts to do so were eventually successful, I decided to prepare this comprehensive tutorial documenting my best practice approach for future […]
I had the problem that my RSS feed was broken due to HTML that appeared above the XML declaration.
[UPDATE] You can now try out the Car UI yourself in Safari on your iPad. Well, the title says it all: »A New Car UI: How touch screen controls in cars should work«. I am not convinced that car user interfaces should work exactly that way but I have to admit that the user interface […]
This one is a classic in the use of shell scripts: batch renaming (image) files. You can find solutions on how to batch rename files on stackoverflow (e.g., here and here).
In a recent iOS project for the iPad, I wanted to open a popover view from a bar button in the navigation bar. However, tapping somewhere on the navigation bar would not dismiss the popover view but (depending on where I tapped on the bar) open an additional popover view or even navigate to another […]