iOS Tips

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 ...

Deprecate an obsolete method in Pod

At work yesterday, I learned a cool method for letting other engineers know about the deprecated state of a particular method. We use privately created and supported Cocoapods to offer software modules, maintained by us, for use by the various and sundry corporate properties. Access to the Cocoapods private repository is good enough to earn […]

Read more ...

ITMS-90164 and ITMS-90046

These annoying errors when uploading to Apple App Store can be avoided.

Read more ...