Ad

Our DNA is written in Swift
Jump

Author Archives rss

Rich Text Update 1.5

Today we are releasing the 1.5 version of our rich text components. This marks the second unified release where several parts of our rich text eco system are maturing in lock-step.

For the most part these improvements and enhancements were funded from exceptional sales of DTRichTextEditor as well as several sponsors who stepped forward to allow me to finally get support for lists implemented.

From what I can tell the clients who licensed the editor are way more willing to contribute funds to something they have already paid for, than for enhancing the – otherwise free with attribution – DTCoreText.

Read more

Radar: UIScrollView Should Not Adjust Content Inset if it is Input View

While working on the demo app for my DTRichTextEditor I stumbled across a bug that exists since iOS 6. You’ll notice that only if you set an inputView on an editable UIView and have it become first Responder.

Filed as rdar://13836932 and on OpenRadar.

Update May 9th: Provided a Sample App, which is also available on GitHub.

Read more

Local CocoaPods

Today I learned that besides of using CocoaPods pod specs via the official repo, you can also use local clones of the source code as pods.

Read more

Podcast #44 – “The Early Bird Catches the Worm”

Toni Kaufmann and Oliver Drobnik chat about recent events, Toni shares some stories about where Microsoft has a leg up on Apple, and the history and future of WWDC.

Read more

WWDC and Women

When I attended my first WWDC in 2011 there was one gender-related observation I made which deeply troubled me: For the first time ever I had to queue in front of the male toilets. Up until this point I had been holding the belief that queues can only form in front of the female toilets.

As with any belief your brain is filtering the world to find reasons and explanations. So my own working theory had been that this toilet queue conundrum must be  due to a male anatomical advantage, being able to “shoot from the hip”. Of course – given the same number of people – ladies would take longer, having to sit down, be more carefully washing their hands, powdering their noses and doing a bit of idle conversation. Men on the other hand would go pee like a SWAT team. In, Shoot the Fly, Out, done in 60 seconds. Washing our hands? Not necessary, we are engineers, we hit our targets.

Not me, of course. I had never been aggressively domesticated by women to sit down for number 1. So I typically wash my hands because I don’t have the urge to prove to myself that my aim is flawless. Even though I like to believe it is.

Read more

AutoIngest for Mac 0.3.0

This new version of the Mac status bar app for automatically downloading sales reports contains a few minor fixes:

Changes

  • Replaced Status Bar Icon with vector-based version
  • Improved Menu Handling Code
  • Improved handling of Mac Standby
  • Reduced Min OS Version to 10.7
  • Added Validation for Vendor ID
  • Added Automatic Updates via Sparkle

The Developer-ID signed version with Sparkle can be downloaded here, and of course you can build a version yourself from the 0.3.0 tag on GitHub.

New Blog for Tech Ladies

TechCriquette LogoI’ve been sponsoring my cousin Julia Grill for a while now. She’s a teenager that has a strong interest in technology, but never gotten much support for her wish to pursue a career in this field. So I made it my mission to help her out in these matters.

Today Julia launches her new blog which is targeted at other young tech-curious women, and she’s calling it TechCriquette. You can read about the meaning of this unusual name and what her mission statement is on her first blog post.

You are welcome to give her hints about companies or products that do an exceptionally good or bad job in talking to women. Options on how to contact her can be found on the TechCriquette About page.

Getting Glyph Paths with DTCoreText

A client wanted to have a method for producing text that has a “cut out” effect, aka Text with “Inner Shadow”. Sort of like if you take a sheet of paper and then cut out the letters, then have light coming from up and slightly to the left so that it throws a shadow into the cut out letters.

For such a scenario you have to get a CGPath that is comprised of the glyphs that make up the text. Those are called glyphs because in some languages they are letters, but in some others they are not. Glyphs are the atomic element that any written language consists of.

Because it reasonably fits with the other work I have already done in DTCoreText I added such a method to both the classes for glyph runs as well as lines. These new methods will be released in the upcoming DTCoreText 1.5 release.

Read more

Radar: App gets killed without Crash Log

The following bug report has already been confirmed by Apple. Still I am posting it for the public so that it might help somebody who is getting the same problem.

The workaround is to override the readFromURL:error: method of UIDocument instead loadFromContents:ofType:error: since the problem lies inside NSFileWrapper. While being very convenient to use on smaller documents having too many items inside an NSFileWrapper will cause the problem described in this bug report.

Filed as rdar://13586175 and on Open Radar.
Read more

WWDC Ticket Aftermath

The results the world had with Apple’s new plan where mixed. By a rough estimate over 20,000 developers where trying to storm the bastille at exactly 10 am PDT. But only a fraction was successful in winning the race, many just found a system in shambles.

Read more