Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Carthage #90

Open
wants to merge 1 commit 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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
WYPopoverController
===================

[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

*[This fork](https://github.com/sammcewan/WYPopoverController) is being actively maintained. The [original one](https://github.com/nicolaschengdev/WYPopoverController) seems to have been abandoned.*

WYPopoverController is for the presentation of content in popover on iPhone / iPad devices. Very customizable.
Expand Down
26 changes: 26 additions & 0 deletions WYPopoverController/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>
20 changes: 20 additions & 0 deletions WYPopoverController/WYPopover.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// WYPopoverController.h
// WYPopoverController
//
// Created by pivotal on 9/6/16.
// Copyright © 2016 pivotal. All rights reserved.
//

#import <UIKit/UIKit.h>

//! Project version number for WYPopoverController.
FOUNDATION_EXPORT double WYPopoverVersionNumber;

//! Project version string for WYPopoverController.
FOUNDATION_EXPORT const unsigned char WYPopoverVersionString[];

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

#import <WYPopover/WYPopoverController.h>
#import <WYPopover/WYStoryboardPopoverSegue.h>
301 changes: 301 additions & 0 deletions WYPopoverController/WYPopoverController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
AEED187F1D7F8D7600E6A5B5 /* WYPopover.h in Headers */ = {isa = PBXBuildFile; fileRef = AEED187E1D7F8D7600E6A5B5 /* WYPopover.h */; settings = {ATTRIBUTES = (Public, ); }; };
AEED188A1D7F8D7F00E6A5B5 /* WYPopoverController.h in Headers */ = {isa = PBXBuildFile; fileRef = AEED18861D7F8D7F00E6A5B5 /* WYPopoverController.h */; settings = {ATTRIBUTES = (Public, ); }; };
AEED188B1D7F8D7F00E6A5B5 /* WYPopoverController.m in Sources */ = {isa = PBXBuildFile; fileRef = AEED18871D7F8D7F00E6A5B5 /* WYPopoverController.m */; };
AEED188C1D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.h in Headers */ = {isa = PBXBuildFile; fileRef = AEED18881D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.h */; settings = {ATTRIBUTES = (Public, ); }; };
AEED188D1D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.m in Sources */ = {isa = PBXBuildFile; fileRef = AEED18891D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
AEED187B1D7F8D7600E6A5B5 /* WYPopoverController.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WYPopoverController.framework; sourceTree = BUILT_PRODUCTS_DIR; };
AEED187E1D7F8D7600E6A5B5 /* WYPopover.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = WYPopover.h; path = ../WYPopover.h; sourceTree = "<group>"; };
AEED18801D7F8D7600E6A5B5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = ../Info.plist; sourceTree = "<group>"; };
AEED18861D7F8D7F00E6A5B5 /* WYPopoverController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WYPopoverController.h; path = ../WYPopoverController.h; sourceTree = "<group>"; };
AEED18871D7F8D7F00E6A5B5 /* WYPopoverController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WYPopoverController.m; path = ../WYPopoverController.m; sourceTree = "<group>"; };
AEED18881D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WYStoryboardPopoverSegue.h; path = ../WYStoryboardPopoverSegue.h; sourceTree = "<group>"; };
AEED18891D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WYStoryboardPopoverSegue.m; path = ../WYStoryboardPopoverSegue.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
AEED18771D7F8D7600E6A5B5 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
AEED18711D7F8D7600E6A5B5 = {
isa = PBXGroup;
children = (
AEED187D1D7F8D7600E6A5B5 /* WYPopoverController */,
AEED187C1D7F8D7600E6A5B5 /* Products */,
);
sourceTree = "<group>";
};
AEED187C1D7F8D7600E6A5B5 /* Products */ = {
isa = PBXGroup;
children = (
AEED187B1D7F8D7600E6A5B5 /* WYPopoverController.framework */,
);
name = Products;
sourceTree = "<group>";
};
AEED187D1D7F8D7600E6A5B5 /* WYPopoverController */ = {
isa = PBXGroup;
children = (
AEED18861D7F8D7F00E6A5B5 /* WYPopoverController.h */,
AEED18871D7F8D7F00E6A5B5 /* WYPopoverController.m */,
AEED18881D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.h */,
AEED18891D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.m */,
AEED187E1D7F8D7600E6A5B5 /* WYPopover.h */,
AEED18801D7F8D7600E6A5B5 /* Info.plist */,
);
path = WYPopoverController;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
AEED18781D7F8D7600E6A5B5 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
AEED188A1D7F8D7F00E6A5B5 /* WYPopoverController.h in Headers */,
AEED188C1D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.h in Headers */,
AEED187F1D7F8D7600E6A5B5 /* WYPopover.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
AEED187A1D7F8D7600E6A5B5 /* WYPopoverController */ = {
isa = PBXNativeTarget;
buildConfigurationList = AEED18831D7F8D7600E6A5B5 /* Build configuration list for PBXNativeTarget "WYPopoverController" */;
buildPhases = (
AEED18761D7F8D7600E6A5B5 /* Sources */,
AEED18771D7F8D7600E6A5B5 /* Frameworks */,
AEED18781D7F8D7600E6A5B5 /* Headers */,
AEED18791D7F8D7600E6A5B5 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = WYPopoverController;
productName = WYPopoverController;
productReference = AEED187B1D7F8D7600E6A5B5 /* WYPopoverController.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
AEED18721D7F8D7600E6A5B5 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0730;
ORGANIZATIONNAME = pivotal;
TargetAttributes = {
AEED187A1D7F8D7600E6A5B5 = {
CreatedOnToolsVersion = 7.3.1;
};
};
};
buildConfigurationList = AEED18751D7F8D7600E6A5B5 /* Build configuration list for PBXProject "WYPopoverController" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = AEED18711D7F8D7600E6A5B5;
productRefGroup = AEED187C1D7F8D7600E6A5B5 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
AEED187A1D7F8D7600E6A5B5 /* WYPopoverController */,
);
};
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
AEED18791D7F8D7600E6A5B5 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
AEED18761D7F8D7600E6A5B5 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
AEED188D1D7F8D7F00E6A5B5 /* WYStoryboardPopoverSegue.m in Sources */,
AEED188B1D7F8D7F00E6A5B5 /* WYPopoverController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
AEED18811D7F8D7600E6A5B5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
AEED18821D7F8D7600E6A5B5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
ENABLE_STRICT_OBJC_MSGSEND = YES;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_NO_COMMON_BLOCKS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Release;
};
AEED18841D7F8D7600E6A5B5 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = WYPopoverController/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.pivotaltracker.WYPopoverController;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Debug;
};
AEED18851D7F8D7600E6A5B5 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = WYPopoverController/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.pivotaltracker.WYPopoverController;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
AEED18751D7F8D7600E6A5B5 /* Build configuration list for PBXProject "WYPopoverController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AEED18811D7F8D7600E6A5B5 /* Debug */,
AEED18821D7F8D7600E6A5B5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
AEED18831D7F8D7600E6A5B5 /* Build configuration list for PBXNativeTarget "WYPopoverController" */ = {
isa = XCConfigurationList;
buildConfigurations = (
AEED18841D7F8D7600E6A5B5 /* Debug */,
AEED18851D7F8D7600E6A5B5 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = AEED18721D7F8D7600E6A5B5 /* Project object */;
}
Loading