Skip to content

Instantly share code, notes, and snippets.

iOS Interview Questions

Kebanyakan open-ended. Semakin banyak jargon, semakin bagus. Jawabnya harus face-to-face, soalnya jawabannya bisa digoogle.

Memory Management

Sangat penting!

  • Jelaskan application lifecycle. Sebutkan minimal 3 application state.

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

cat ~/.ssh/key.pub | ssh [email protected] "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
@import ObjectiveC;
@interface NSObject (LN_FORCE_SHAPES)
@end
@implementation NSObject (LN_FORCE_SHAPES)
+ (void)load
{
Pod::Spec.new do |s|
s.name = 'JSMessagesViewController'
s.version = '4.0.4'
s.summary = 'A messages UI for iPhone and iPad.'
s.homepage = 'https://github.com/jessesquires/MessagesTableViewController'
s.social_media_url = 'https://twitter.com/jesse_squires'
s.license = 'MIT'
s.authors = { 'Jesse Squires' => '[email protected]' }
s.source = { :git => 'https://github.com/nmutiara/MessagesTableViewController.git' }
s.platform = :ios, '6.0'
@interface UISegmentedControl (iOS7Flat)
- (void)flattenUIWithFont:(UIFont *)font tintColor:(UIColor *)tintColor highlightedTextColor:(UIColor *)highlightedTextColor;
@end
Pod::Spec.new do |s|
s.name = 'SVWebViewController'
s.version = '0.2'
s.summary = 'A drop-in inline browser for your iOS app.'
s.homepage = 'http://samvermette.com/173'
s.license = 'MIT'
s.author = { 'Sam Vermette' => '[email protected]' }
s.source = { :git => 'https://github.com/nmutiara/SVWebViewController.git' }
s.platform = :ios
s.source_files = 'SVWebViewController/*.{h,m}'
@interface UILabel (Fit)
- (void)fitFontSize
@end