Quantcast
Channel: Cocoanetics
Browsing all 428 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Image Decompression Benchmark: iPad 4 + Mini

It’s been a while since the unveiling of the iPad mini and new new Retina iPad (aka iPad 4). I like to compare image decompression performance between device generations because personally I believe...

View Article


Image may be NSFW.
Clik here to view.

Our Revenues

I received a spreadsheet from our accountant that totals our company revenues over the various categories of income that we receive. I figured, why not share this with you? I won’t tell you the...

View Article


Image may be NSFW.
Clik here to view.

Radar: UITextView Ignores Minimum/Maximum Line Height in Attributed String

I’m working on making DTCoreText iOS 6 compatible and when implementing line heights I found this problem. Naturally I filed a radar. This is one of many shortcomings of UIKit’s support for attributed...

View Article

Image may be NSFW.
Clik here to view.

Commercial Development License

Recently I’ve been getting more and more requests from potential clients to show them the license that is attached to components they would purchase from my parts store. I didn’t have any except some...

View Article

Image may be NSFW.
Clik here to view.

Airship Commander 1.0

In June we announced that we had begun a private BETA of Airship Commander. Several of our clients had also began to use the app internally to push notifications to users of their apps. Today we are...

View Article


Image may be NSFW.
Clik here to view.

UITextView Caught With Trousers Down

I had begun development on DTRichTextEditor a few months before WWDC 2012. This was the time when Apple announced that UIKit would support attributed strings beginning with iOS 6. 3 classes to be exact...

View Article

Image may be NSFW.
Clik here to view.

Radar: UITextView Ignores Font Kerning

While researching the root cause for the UITextView line-height bug I also found another difference between attributed strings rendered via CoreText and UITextView. The latter ignores font kerning....

View Article

Image may be NSFW.
Clik here to view.

Radar: Support Multiple Shadows in NSHTMLWriter

That was an easy Radar for me to file. It’s not a bug, but it is bugging me nevertheless. I am disturbed by the disparity between the NSShadowAttributeName attribute (which can only hold a single...

View Article


Image may be NSFW.
Clik here to view.

Changing History … Git’s

I had my PDF experiments inside DTFoundation. Those included a rather large (compared to the other source code) PDF file I was using for testing and the Demo. The problem with this was that I’m using...

View Article


Image may be NSFW.
Clik here to view.

DTRichTextEditor 1.1

Over the past week I’ve been working on enhancing DTRichTextEditor and – by extension – some of the enhancements also went into DTCoreText, which is in charge of HTML parsing, generation and display of...

View Article

Image may be NSFW.
Clik here to view.

DTCoreText 1.1

Other people take off the Christmas holidays to have fun. I delight in using the time away from normal programming work to work on DTCoreText. There are many wide-reaching changes to warrant an...

View Article

Image may be NSFW.
Clik here to view.

2012 in Review(s)

I recently revealed that app sales only make up about 4% of our company revenues. Because of this we don’t have much budget to invest into our apps and the reasonable view is to see them as glorified...

View Article

Image may be NSFW.
Clik here to view.

Apple-converted-space

When using HTML to represent text that the user can edit you will meet a problem: HTML compresses whitespace. Tabs or newlines or even multiple spaces all get compressed to single spaces. That is,...

View Article


Image may be NSFW.
Clik here to view.

How to send image to remote server

Somebody asked on StackOverflow: how to send image to Remote server from the below code last string is placed with image NSString *reqString=[NSString...

View Article

Image may be NSFW.
Clik here to view.

Ziner Uses DTCoreText

You know I love to hear from developers who are making good use of my open source or commercial components in released apps. A shining example of lat is Ziner. Ziner is the latest entry in the battle...

View Article


Image may be NSFW.
Clik here to view.

Open In … All Files

Let’s say you are building an app that does some sort of file handling where you want to be able to open any and all file types in your app. When your app then launches it would do something with the...

View Article

Image may be NSFW.
Clik here to view.

Radar: NSTextField Redrawing of Background With Layer-Backing

I noticed this bug in NSTextField already back last year but I procrastinated until I saw it the second time in the second Mac app I am building. I did have a workaround for the bug, so it was not that...

View Article


Image may be NSFW.
Clik here to view.

Digging into CocoaPods

There once was a developer who figured that it would make sense to not reinvent the wheel, or at least not all 4 that he needed for his app/car. He had previously learned how to contribute to open...

View Article

Image may be NSFW.
Clik here to view.

OMG, GCD+ARC

There are a few trailblazing developers out there who intentionally set their app’s deployment target to iOS 6. When dealing with open source libraries like DTCoreText this might give you a fair share...

View Article

Image may be NSFW.
Clik here to view.

DTCoreText 1.2.0

Funny Story: right after I published my findings on how to work CocoaPods I received a couple of pull requests. Should it be actually be the case that fellow developers are beginning to take notice of...

View Article
Browsing all 428 articles
Browse latest View live