- List your dependencies in a Cartfile. Refer to the Carthage documentation for details.
- Run
carthage bootstrap --no-build --use-submodules
- Create a new workspace.
- Drag your existing App project into the workspace.
- Drag framework dependency projects from ./Carthage/Checkouts into the workspace.
- Go to the General tab of your target properties.
- Add framework dependencies to Linked Frameworks and Libraries. They will show up as Workspace frameworks.
- Add the same frameworks to Embedded Binaries.
- Note, the previous step will probably create duplicates in Linked Frameworks and Libraries. Delete the duplicates.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MWCGPath.h | |
// | |
// Created by Martin Winter on 14.01.11. | |
// Copyright 2011 Martin Winter. All rights reserved. | |
// | |
// Provides an NSObject wrapper around CGPathRef. | |
// | |
#if TARGET_OS_IPHONE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: objective-c | |
xcode_workspace: "<WorkspaceName.xcworkspace>" | |
xcode_scheme: "<SchemaName>" | |
script: xctool -workspace <WorkspaceName.xcworkspace> -scheme <SchemeName> -configuration Release build archive | |
before_script: | |
- ./scripts/travis/add-key.sh | |
after_script: | |
- ./scripts/travis/remove-key.sh | |
after_success: | |
- ./scripts/travis/testflight.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SOInsetLabel.h | |
// | |
// Created by Joseph Hankin on 11/2/12. | |
// From code posted by Rob Mayoff. | |
// http://stackoverflow.com/questions/8467141/ios-how-to-achieve-emboss-effect-for-the-text-on-uilabel | |
// Copyright (c) 2012 Joseph Hankin. All rights reserved. | |
// |
CocoaPods project setup
Create a Podfile
at the root of your project
platform :ios, '5.0'
pod 'AFNetworking'
pod 'OHAttributedLabel'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Connecting AFIncrementalStore & MagicRecord | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
PDDebugger *debugger = [PDDebugger defaultInstance]; | |
[debugger connectToURL:[NSURL URLWithString:@"ws://localhost:9000/device"]]; | |
[debugger enableNetworkTrafficDebugging]; | |
[debugger forwardAllNetworkTraffic]; | |
[debugger enableCoreDataDebugging]; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <dlfcn.h> | |
#import <mach-o/loader.h> | |
/* The encryption info struct and constants are missing from the iPhoneSimulator SDK, but not from the iPhoneOS or | |
* Mac OS X SDKs. Since one doesn't ever ship a Simulator binary, we'll just provide the definitions here. */ | |
#if TARGET_IPHONE_SIMULATOR && !defined(LC_ENCRYPTION_INFO) | |
#define LC_ENCRYPTION_INFO 0x21 | |
struct encryption_info_command { |
Movies Recommendation:
- MovieLens - Movie Recommendation Data Sets http://www.grouplens.org/node/73
- Yahoo! - Movie, Music, and Images Ratings Data Sets http://webscope.sandbox.yahoo.com/catalog.php?datatype=r
- Jester - Movie Ratings Data Sets (Collaborative Filtering Dataset) http://www.ieor.berkeley.edu/~goldberg/jester-data/
- Cornell University - Movie-review data for use in sentiment-analysis experiments http://www.cs.cornell.edu/people/pabo/movie-review-data/
Music Recommendation:
- Last.fm - Music Recommendation Data Sets http://www.dtic.upf.edu/~ocelma/MusicRecommendationDataset/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hg clone http://hg.openjdk.java.net/jdk7u/jdk7u-osx | |
cd jdk7u-osx | |
hg fpull -u | |
unset LC_ALL LANG CLASSPATH JAVA_HOME LD_LIBRARY_PATH; make ALLOW_DOWNLOADS=true SA_APPLE_BOOT_JAVA=true ALWAYS_PASS_TEST_GAMMA=true ALT_BOOTDIR=`/usr/libexec/java_home -v 1.6` | |
# ... | |
# Running javac: | |
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Djava.awt.headless=true -Xmx512m -Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m -Xbootclasspath/p:/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/langtools/dist/bootstrap/lib/javac.jar -source 7 -target 7 -encoding ascii -Xbootclasspath:/Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/classes -sourcepath /Users/stephen/dev/java/src/jdk7u-osx/build/macosx-amd64/gensrc:::/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/macosx/classes:/Users/stephen/dev/java/src/jdk7u-osx/jdk/src/solar |