Parts in Category ‘Cocoanetics’
DTRichTextEditorView a view that combines the richness of DTCoreText with UITextInput to give you the editing capabilities you need to change text editing on iOS forever.
The component is currently in an accelerated availability stage with one commercial pilot app being almost finished. Or put differently this is sort of a BETA stage where you can get access to the component for testing and adding the last few features to it that you need for your own special case of rich text editing.
UPDATE: Now available as time-limited Demo version.
DTRichTextEditorView is fantastic! I was able to implement syntax highlighting behavior in under an hour. Performance is stellar as well. – Illya Busigin
This looks like Apple’s Calendar control which you see on the iPhone’s built-in Calendar.
It features dragging to change the day. Fast scrolling months by tapping and holding on an arrow, scrolling to adjacent months either by arrow or tapping on a month belonging to different month. You can show a dot for days with an event. You can even show your own icon instead of the dot.
The component also comes with a view controller that shows a regular UITableView below the calendar which you can customize with your own cells.
A simple to use, yet highly customizable Charting class.
Data is fed to it via delegate methods. The Chart supports endless scrolling, orientation changes, tap to show data labels. It currently has lines, bars next to each other and bars that are stacked on top of each other.
Bars or areas below/above lines can be custom-shaded. Line Points can also be custom-drawn.
BarCodeKit is a library which allows for generating common 1D bar codes on iOS. You can display them on the device, add them to PDF documents or print them to stickers via Air Print.
You get a FREE license for BarCodeKit with purchase of my book Barcodes with iOS!
This project aims to duplicate the methods present on Mac OSX which allow creation of NSAttributedString from HTML code on iOS.
The project covers two broad areas:
- Layouting – Interfacing with CoreText, generating attributed strings from HTML code
- User Interface – UI-related classes render these objects, specifically DTAttributedTextView, DTAttributedLabel and DTAttributedTextCell.
This is useful for drawing simple rich text like any HTML document without having to use a UIWebView. For text selection and highlighting (as you might need for an Editor or Reader) there is the commercial DTRichTextEditor component which can be purchased in the Cocoanetics Parts Store.
Now updated for iPad
This component can be used whenever you want the look of yellow lined notepaper. There are several challenges that you need to overcome if you want your notepad’s look to closely resemble the built-in Notes.app.
The latest version comes in a demo to show how to use DTNotePadView in a universal app that runs on iPhone as well as iPad. Don’t waste time trying to put it all together yourself! Rather get the polished component including lifetime personal support from us.
Safari uses the WebKit class WebArchive to transfer rich data from e.g. Safari. This project aims to give you the capability of accepting such pasteboard data in your apps. WebArchive and the related WebRessource classes are tightly coubled with WebKit and private. This project is a reverse-engineered class giving you the same functionality on iOS.
For example you could allow your users to copy something from a web page and paste it into your app preserving the formatting.
DTLoupeView is closely resembling the original Loupe (aka Magnifier) that you see whenever you long press on something that can be selected. Since there is no public API to get the built-in functionality we had to developed DTLoupeView for use in DTRichTextEditor, our Rich-Text-Editor component.
We realize that you might have your own rich text editing view or might not even want to use this Loupe for simply editing text. The loupe is also of great use if you want to give your users an metaphor of selecting something on screen that they are familiar with.
You have AdMob ads in your apps? Wondering if you could make a bit more money if you also had iAds were available?
DTBannerManager solves this problem for you. It allows for easily adding both networks to your code. Under iOS 4 it will first try to get an iAd because those also pay for just being displayed. If none is available then it automatically switches to AdMob, so your banner space is never wasted.
It also features elegant sliding in and out of the banners and is able to display ad banners even over a tab bar controller, so they are always visible for maximum effect.
DTClusterMaker employs a very efficient method to spatially sort and cluster closeby POIs.
In the presented demonstration app you can explode any of the purple pins into it’s original POIs. You get two different algorithms to choose from: The perfect one, that tends to slow down if you feed it hundrets of POIs.
And it’s ultra-fast cousin which works by “boxing” the POIs. It’s so fast in fact, that I am thinking of letting it run multiple times with a shifted grid and then choose the output that gives me the smallest number of POIs. If you have hundreds of POIs then you won’t see a difference.
Recently updated to work also on iPad and Retina. Now with awesome beautiful design with a custom keyboard just like on the iPad original passcode lock.
Just like the passcode lock mechanism of the iPhone, you can allow your users to set a 4-digit PIN for your own app. Then when starting your app’s personal data will only be available to the user.
It mimicks the animations of the original for entering and confirming the PIN. You can also change the number of PIN digits from 4 to 5,6 or 7.
Note: this is not the code that is included with MyAppSales, it has more features and on this gives you the right to use this in your applications.
This part simplifies dropping a standardized set of components you need to have a strong “About” section of your app.
You configure the things you like in a plist and add the view controller to your app. There is even an in-app-support section with FAQs and a scrollview with icons of all your apps, showing which apps are already installed.