Another great week has gone by, and if you are a regular visitor to this site you have probably noticed that I am now using a new theme. Hopefully this betters the user experience for everyone.
In the last week there were some great resources shared, those included a number of open source libraries relating to topics such as Core Text, web services, data storage, and user interface improvements.
Here are the most viewed resources that were new in the last week listed in order of popularity:
Open Source: Lightweight Asynchronous Networking Library For Easy Communication With Web Services – A great lightweight library for communicating with web services allowing you to code complex interactions quickly by taking advantage of Objective-C blocks.
Tutorial: Custom In View Popup Windows – A guide and library for creating popup windows within your main view so that you can display content without needing to navigate to another view.
Open Source: Rich Text-Editing View Using Core Text – A drop in UITextView replacement that allows for easily creating and editing richly formatted text.
Open Source: Library For Easy Data Saving/Loading – A straightforward data saving library allowing you to save or load int, float, and NSString data with just one line of code.
Open Source: UITableView Replacement With Swipeable Cells – A slick UITableView replacement that allows you to create table view cells that can be swiped by the user revealing new content behind the cell.
Open Source: Library Allowing For Tab Bars With An Infinite Number Of Items – A tab bar library that allows you to place an unlimited number of items and allowing the user to scroll between different tab bars accessing the icons without the user having to use the more screen.
Tutorial: Format Text Magazine Style Using Core Text – A great step-by-step tutorial on how to format your text in multiple columns, and format the text with different styles using Core Text. Excellent for anyone developing a magazine style app.
Open Source: Easily Extensible Objective-C Math Parser Library – A very useful math parsing library that uses similar syntax to NSPredicate but allows you to very easily add new functions.
Open Source: Library And Guide For NinePatch Image Support On iOS Platforms – A libary for support of NinePatch format images that are commonly used for interface elements on Android.
Thanks for reading, please share and bookmark this post!
The default behavior for a UITextField on pressing the return key is to execute the textFieldShouldReturn: method of the UITextFieldDelegate.
What if we wanted to create similar behavior with a a UITextView which does not have an equivalent method and by default just creates a new line?
Nick Dalton has come up with a snippet of code that uses the:
method of the UITextViewDelegate to do just that.
You can check the article out here: Handling The Return Key In A UITextView
It’s a very handy bit of code to have as there are many situations where you may want to implement custom behavior when the return key is pressed in a UITextView.
Please post any comments below, thanks.