Skip to content

Instantly share code, notes, and snippets.

@mr-v
Last active February 13, 2016 14:42
Show Gist options
  • Save mr-v/aa452e9daeee695d5095 to your computer and use it in GitHub Desktop.
Save mr-v/aa452e9daeee695d5095 to your computer and use it in GitHub Desktop.

IDE with amazing Objective-C support: many refactorings, fixing old timey syntax with hitting Alt-Enter, Show Usages, Show History for Selection. Unfortunately only so-so Swift support.

Tips:

Use ⌥Space (View | Quick Definition), to quickly review definition or content of the symbol at caret, without the need to open it in a new editor tab.

Workshop for learning way around the AppCode and many of its shortcuts: https://github.com/JetBrains/appcode-workshop

List of nice things: https://github.com/orta/AppCode/blob/master/delight.md

Xcode

Useful shortcuts:

C-CMD-R - run without build

Xcode Plugins

Refactorator - rename refactoring in Swift! Setting keyboard shortcut:

BlockJump

This plug-in lets you jump between methods, or other items in the source editor.

CTRL + [ : jump up
CTRL + ] : jump down

Proxy for monitoring network traffic. Since Apple is pushing privacy very hard (App Transport Security) and Let's Encrypt makes it easy "to obtain a trusted certificate at zero cost.", encrypted traffic will be more and more prevalent. How to inspect SSL traffic with Charles.

Apple's trying to catch up with visual debugger in Xcode. So far Reveal experience is much smoother, allows for multiple snapshots, and allows for live editing.

Dimensions tool alone is amazing when all designer shares is flat png, see video.

Hopper is a reverse engineering tool for OS X and Linux, that lets you disassemble, and decompile your 32/64bits Intel Mac, Linux, Windows and iOS executables!

Even if Hopper can disassemble any kind of Intel executable, it does not forget its main platform. Hopper is specialized in retrieving Objective-C information in the files you analyze, like selectors, strings and messages sent.

Overview

Great for peeking under the hood of SDK.

Interface Builder

Implementing UI Designs in Interface Builder

ITT 2015 - Dimitri Dupuis-Latour - Mastering Interface Builder

Swift

Where Swift is going and how it relates to existing Objective-C codebases.

API Design Guidelines

Better Translation of Objective-C APIs Into Swift

Example of applying guidelines to existing code: Apply API Guidelines to the Standard Library

Writing Documentation

Write a documentation comment for every declaration. Insights gained by writing documentation can have a profound impact on your design, so don’t put it off.

If you are having trouble describing your API’s functionality in simple terms, you may have designed the wrong API. bloc

Swift Documentation - NSHipster article covering most useful documentation markup parts for day to day work.

Thourough Markup Formatting Reference from Apple

Libraries

Creating your first iOS Framework

Parsing JSON

Objective-C: KZPropertyMapper

Swift: Unbox

RxSwift

RxSwift - lots of documentation and playground

Functional Reactive Intuition - Swift edition (blog) - nice example of using a buch of different operators (mixing and matching different inputs: timers, gesture recognizers and stuff)

Functional Reactive Programming with RxSwift (video) - another great practical example, this one: chaining async calls.

RxMarbles - Interactive diagrams of Rx Observables

Dependency Managament

Carthage:

CocoaPods

Swift Package Manager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment