blog.metaobject.com
metablog: January 2014
http://blog.metaobject.com/2014_01_01_archive.html
Wednesday, January 8, 2014. Just had a case of. Telling me my app was fine, just for the same app to be rejected by GateKeeper. The. Tool fortunately was more truthful, but didn't really say where the problem was. A little sleuthing determined that although I had signed all my frameworks with the Developer ID, two auxiliary executables were signed with my development certificate. Lesson learned: don't trust. To verify your binaries. Thursday, January 2, 2014. But without readjusting the historical data.
blog.metaobject.com
metablog: collect is what for does
http://blog.metaobject.com/2014/09/collect-is-what-for-does.html
Wednesday, September 10, 2014. Collect is what for does. I recently stumbled on Rob Napier's explanation of the map function in Swift. So I am reading along yadda yadda when suddenly I wake up and my eyes do a double take:. After years of begging for a map function in Cocoa [.]. I rub my eyes, probably just a slip up, but no, he continues:. Not sure what he means with a ". But here's how we would implement a map function in Objective-C. Or maybe we want a version with blocks instead? For a good decade.
blog.metaobject.com
metablog: December 2013
http://blog.metaobject.com/2013_12_01_archive.html
Thursday, December 26, 2013. Switching contact from SMS to iMessage. So my girlfriend finally got an iMessage capable phone, but Messages on my phone still insisted on sending SMSes. Even after starting to receive iMessages in the same conversation. Even after a message sent from the Messages app on OS X was duly noted as being an iMessage! Work was performing a reset of the Network Settings. Subscribe to: Posts (Atom). Switching contact from SMS to iMessage. View my complete profile.
blog.metaobject.com
metablog: April 2014
http://blog.metaobject.com/2014_04_01_archive.html
Monday, April 14, 2014. I have to admit I am a bit startled to see pople seriously (? Exploitation of "undefined behavior" in the C standard to just eliminate that code altogether, arguing that undefined means literally anything is OK. I've certainly seen it justified many times. Apart from being awful, this idea smacks of hubris on part of the compiler writers. For let's not pretend that these optimizations are actually useful or significant: Proebsting's law. Suggests that even that may be optimistic.
blog.metaobject.com
metablog: Model Widget Controller (MWC) aka: Apple "MVC" is not MVC
http://blog.metaobject.com/2015/04/model-widget-controller-mwc-aka-apple.html
Friday, April 3, 2015. Model Widget Controller (MWC) aka: Apple MVC is not MVC. The controller updates the model,. The model notifies the view that it has changed, and finally. The view updates itself by talking to the model. The labeling on the graphic on the Wikipedia is a bit misleading, as it suggests that the model updates the view, but the text is correct). Have done, of course, is keep asking " Why. By Trygve Reenskaug, and yes:. The 1988 JOOP article "MVC Cookbook" also confirms:. I have to admit...
blog.metaobject.com
metablog: September 2014
http://blog.metaobject.com/2014_09_01_archive.html
Thursday, September 11, 2014. IPhone 6 Plus and The End of Pixels. However, despite the device-independent APIs, we still have pixel-based content, and "pixel-accurate" graphics. This has made less and less sense over time, with retina displays making pixel-accuracy moot (no more screen fonts! Scaled modes making it impossible and both iOS 7 and OS X 10.10 going for a more geometric look. Still, the design community has resisted, talking about @3 pixel art etc. I can’t perceive the pixels. Manpage becaus...
blog.metaobject.com
metablog: No Virginia, Swift is not 10x faster than Objective-C
http://blog.metaobject.com/2014/09/no-virginia-swift-is-not-10x-faster.html
Tuesday, September 9, 2014. No Virginia, Swift is not 10x faster than Objective-C. About a month ago, Jesse Squires published a post titled Apples to Apples. A number of times as background knowledge as to the state of Swift. More importantly, though the actual mistake Jesse makes is pretty basic and not that interesting, it does point to some deeper misunderstandings about performance and language that I at least do find interesting. So what's the mistake? Jesse compared the two versions highlighted, so...
blog.metaobject.com
metablog: Why overload operators?
http://blog.metaobject.com/2015/03/why-overload-operators.html
Wednesday, March 18, 2015. Of course we simply don't have that problem in C or Objective-C: operators are built-in parts of the language, and neither the C part nor the Objective part has a comparable facility, which is a large part of the reason we don't have a useful number/magnitude hierarchy in Objective-C and numeric/array libraries are't that popular: writing. Is just too painful. Anyway, here is an example from NSHipster. Matt Thompson's excellent post on Swift Operators. There are two candidates ...
blog.metaobject.com
metablog: iPhone 6 Plus and The End of Pixels
http://blog.metaobject.com/2014/09/iphone-6-plus-and-end-of-pixels.html
Thursday, September 11, 2014. IPhone 6 Plus and The End of Pixels. However, despite the device-independent APIs, we still have pixel-based content, and "pixel-accurate" graphics. This has made less and less sense over time, with retina displays making pixel-accuracy moot (no more screen fonts! Scaled modes making it impossible and both iOS 7 and OS X 10.10 going for a more geometric look. Still, the design community has resisted, talking about @3 pixel art etc. I can’t perceive the pixels.
blog.boreal-kiss.com
Higher Order Messaging (HOM) | boreal-kiss.com
http://blog.boreal-kiss.com/2010/03/04000014.html
Mdash; boreal-kiss.com. Higher Order Messaging (HOM). NSObject performSelector:withObject]に複数の引数を渡す – boreal-kiss.com. で少しだけ言及していたHigher Order Messaging (HOM)の例をいくつか挙げておく。 Self openAlert ]. This is an alert. This is an alert. Target; NSTimeInterval delay; }. ATarget; delay =. Self; }. Self class ]. Super dealloc ]. これがHOMの”Higher Order”たる所以である。 もちろん引数に書かれたメッセージは実際に引数を持つことができるため柔軟性も高い(例: -[NSObject performSelector:withObject]に複数の引数を渡す – boreal-kiss.com. Delegate doSomething ]. Delegate; }. Target; }.