Author Archives: Peter Brockmann

I have a new Super Power

Well, I surprised myself this week.

Read more ...

Apple Pencil

Well, it sure took me a while to identify the use case for the $99 Apple Pen. Although I am sure there are folks who use the Pencil every day, I have been skeptical of the value the device could bring to my work style, until this month.

Read more ...

Finding the Location of the Cursor in UITextView – Swift 3.0

My post from 2015 (Finding the Location of the Cursor in UITextView, UITextField), works great in objective C. However, here’s the UITextView methodology for Swift 3.0.

Read more ...

Keeping Track of Moved TableViewCells

Some tableviews require users to be able to edit the cell’s row position. Easily done by enabling the -(void) tableView:(UITableView *)tableView commitEidtingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath delegate of UITableView.

Read more ...

Swift 3.0 Working With Sets

What a relief today! I had to be able to add an array of elements of an array, and then later, if so chosen by the user, remove an from the resultant array. How could I do this efficiently (fast and with a minimum of code)?

Read more ...