Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Add Carthage support #109

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
30 changes: 30 additions & 0 deletions ObjectiveSugar.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
//
// ObjectiveSugar.h
// ObjectiveSugar
//
// Created by Marc Palmer on 20/08/2015.
// Copyright © 2015 supermarin. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for ObjectiveSugar.
FOUNDATION_EXPORT double ObjectiveSugarVersionNumber;

//! Project version string for ObjectiveSugar.
FOUNDATION_EXPORT const unsigned char ObjectiveSugarVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <ObjectiveSugar/PublicHeader.h>

// C SUGAR
#define unless(condition...) if(!(condition))
#define until(condition...) while(!(condition))

// OBJC SUGAR
#import <ObjectiveSugar/NSNumber+ObjectiveSugar.h>
#import <ObjectiveSugar/NSArray+ObjectiveSugar.h>
#import <ObjectiveSugar/NSMutableArray+ObjectiveSugar.h>
#import <ObjectiveSugar/NSDictionary+ObjectiveSugar.h>
#import <ObjectiveSugar/NSSet+ObjectiveSugar.h>
#import <ObjectiveSugar/NSString+ObjectiveSugar.h>

429 changes: 429 additions & 0 deletions ObjectiveSugar.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0700"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4923F9C71B855212002A6654"
BuildableName = "ObjectiveSugar.framework"
BlueprintName = "ObjectiveSugar"
ReferencedContainer = "container:ObjectiveSugar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4923F9D11B855212002A6654"
BuildableName = "ObjectiveSugarTests.xctest"
BlueprintName = "ObjectiveSugarTests"
ReferencedContainer = "container:ObjectiveSugar.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4923F9C71B855212002A6654"
BuildableName = "ObjectiveSugar.framework"
BlueprintName = "ObjectiveSugar"
ReferencedContainer = "container:ObjectiveSugar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4923F9C71B855212002A6654"
BuildableName = "ObjectiveSugar.framework"
BlueprintName = "ObjectiveSugar"
ReferencedContainer = "container:ObjectiveSugar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4923F9C71B855212002A6654"
BuildableName = "ObjectiveSugar.framework"
BlueprintName = "ObjectiveSugar"
ReferencedContainer = "container:ObjectiveSugar.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>ObjectiveSugar.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>4923F9C71B855212002A6654</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>4923F9D11B855212002A6654</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>