[Updates] Mac Dev weekly

Andrew Stone andrew at stone.com
Mon Dec 2 10:04:05 EST 2013


Here's the latest issue of a newsletter for Mac/iOS developers with some good tips you might want to subscribe to.

http://macdevweekly.com



[Mac dev:weekly]
Weekly newsletter for developers working on a Mac.

Issue 7 - December 2nd, 2013 

MacDevWeekly:Sponsor



Build Better Performing Apps for Mac with New Relic

Make your Mac apps faster and improve performance with powerful real-time visibility into your entire software ecosystem. New Relic is a developer's favorite way to spot bottlenecks, see the root cause, and quickly solve problems before they affect your users.

Cocoa
Simplified grand central dispatch (GCD) coding
Rasmus Andersson: "I'm a lazy person and so it hurts me when I have to write so much to do such common things as to schedule various blocks of code in various dispatch queues. This little thing lets me write less code with the added bonus of making the result more readable."

Cocoa Touch
Create NSTimeZone from CLLocation (while offline)
Alterplay: "The easiest offline way to get NSTimeZone from CLLocation. You can do the same job by calling Google API or Yahoo API but APTimeZones works locally, offline and with no limits inherented to hosted solutions."

Mac dock magnification effect on iOS
Bartosz Ciechanowski : "While the concept of the fisheye itself is not entirely new and everyone using OS X knows this effect from Dock, it seems completely underused in touch devices. We decided to bite the bullet and just roll out our own."

Code Management
Submit issues 'while you code' in Ruby or Perl
Nima H. Mood: "watson is a tool for creating and tracking bug reports, issues, and internal notes in code. It is avaliable in two flavors, watson-ruby and watson-perl."

Code review and auditing tools
Phabricator is an open source collection of tools for reviewing and auditing code, browsing repositories, tracking bugs, hiding stuff from coworkers, among a few others.

Design
Simplified auto layout on OS X and iOS
Jonas Budelmann: "Harness the power of AutoLayout NSLayoutConstraints with a simplified, chainable and expressive syntax. Supports iOS and OSX Auto Layout."

Objective-C and C
Using bitwise operators in C and Objective-C
Mark Dalrymple: "Part of the power of C is bit-bashing, where you can manipulate individual bits inside of a piece of memory...That being said, there are times where bitwise operations appear in the Cocoa APIs, so it's good to be comfortable with a couple of basic operations."

Translate Java code to Objective-C
"This tool enables Java code to be part of an iOS application's build, as no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as data access, or application logic) in Java, which is then shared by web apps (using GWT), Android apps, and iOS apps."Surprisingly, this is an open source tool from Google.

How to use Python sequence unpacking in Objective-C
Dustin Bachrach explores Python's sequence unpacking, allowing variable swapping, among other operations.

Python
Python, iOS 7 screenshots and the status bar
Looking to capture iOS app screenshots where status bar is consistent (same time, battery level, etc)? Dr. Drang wrote a Python script that does the trick.

Shell / Terminal
Shell scripting: creating sequential numbers and text
"The jot utility is used to print out increasing, decreasing, random, or redundant data, usually numbers, one per line." Jot is really handy for use in shell scripts. Think sequential filenames.

Tools
Analyze unit test code coverage with Xcode 5 and iOS 7
Dave MacLachlan: "Code coverage doesn't work well with iOS 7 because iOS 7 does not call any code at the "end" of an app." CoverStory analyzes code coverage, solving this issue.

How to setup continuous integration (CI) process
Julian James: "When developing iOS apps a number of things are required for producing a quality product. These include the ability to run unit tests on the code and to test the user interface automatically. We can set up Continuous Integration (CI) to complete these tests."








Andrew Stone
Twitter / @twittelator
http://www.stone.com

          http://j.mp/twtl8rnu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cocoaconspiracy.com/pipermail/updates/attachments/20131202/46b905d3/attachment-0001.html>


More information about the Updates mailing list