content top

On Apple rejecting SeaNav US

The developer of SeaNav US posted the contents of the email from Apple to Pebble forums. A verbatim copy here. Specifically, your app and app description declare support for thePebble Smartwatch. If you look at this email carefully, there is no space between “the” and “Pebble”. I strongly feel that, there is a high chance that the contents of Apple’s email has been manipulated. Apple email usually runs...

Read More

The problem with Cocoapods

How should a dependency manager work? A dependency manager (like Cocoapods) should work like a package manager (homebrew). I might be opinionated. But read on. In my opinion, Cocoapods (or any dependency manager) should install a dependency in a way that one should not be able to tell whether the dependency was installed using Cocoapods or by manually editing the project file. Example 1 I open the project’s root directory in terminal...

Read More

Radar 15159094: UITextView + NSAttributedString is hopelessly broken on iOS 7

iOS 7 breaks UITextView + NSAttributedString pretty badly that it’s almost unusable. Submitted this Radar today. Issue 1. The UITextView calculates the contentSize as the user scrolls. As a result the scroll indicators jump randomly. Issue 2. Because the text view doesn’t know about the complete size of content, methods like firstRectForRange: caretRectForPosition:firstRectForRange: caretRectForPosition: don’t return the...

Read More

iOS-Framework: Einführung in MKNetworkKit (German Translation of MKNetworkKit documentation)

iOS-Framework: Einführung in MKNetworkKit (German Translation of MKNetworkKit documentation)

Translation by Jonas Pencke (@jonaspencke) iOS-Framework: Einführung in MKNetworkKit Wie genial wäre es, wenn sich ein Networking-Framework automatisch ums Cachen der Antworten kümmern würde? Wie genial wäre es, wenn sich ein Networking-Framework automatisch alle noch auszuführenden Operationen merken würde, wenn der Client offline geht? Im Offline-Zustand könnten somit Tweets favorisiert oder Feeds als gelesen markiert werden und...

Read More

MKBlockTimer

Just published a NSObject category, MKBlockTimer. Use this nifty utility to measure the time taken to execute a block of code, without macros. Usage The method is fairly straightforward to use. [self logTimeTakenToRunBlock:^{   // your time consuming piece of code here for(int i = 0 ; i < 1000000000; i ++);   } withPrefix:@"For Loop"]; [self logTimeTakenToRunBlock:^{ ...

Read More
Page 1 of 2612345...1020...Last »
content top