mirror of
https://github.com/zhigang1992/KLCircleViewController.git
synced 2026-03-29 15:48:16 +08:00
Initial commit
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
18CFF3C0179F13D500FDDE68 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18CFF39B179F13D500FDDE68 /* Foundation.framework */; };
|
||||
18CFF3C8179F13D500FDDE68 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 18CFF3C6179F13D500FDDE68 /* InfoPlist.strings */; };
|
||||
18CFF3CB179F13D500FDDE68 /* KLCircleViewControllerDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 18CFF3CA179F13D500FDDE68 /* KLCircleViewControllerDemoTests.m */; };
|
||||
18CFF3DF179F13FB00FDDE68 /* libKLCircleViewController.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 18CFF3DA179F13F100FDDE68 /* libKLCircleViewController.a */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
@@ -33,6 +34,27 @@
|
||||
remoteGlobalIDString = 18CFF395179F13D500FDDE68;
|
||||
remoteInfo = KLCircleViewControllerDemo;
|
||||
};
|
||||
18CFF3D9179F13F100FDDE68 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 773DA3E2179E461900E75388;
|
||||
remoteInfo = KLCircleViewController;
|
||||
};
|
||||
18CFF3DB179F13F100FDDE68 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 773DA3F3179E461900E75388;
|
||||
remoteInfo = KLCircleViewControllerTests;
|
||||
};
|
||||
18CFF3DD179F13F800FDDE68 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = 18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = 773DA3E1179E461900E75388;
|
||||
remoteInfo = KLCircleViewController;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
@@ -58,6 +80,7 @@
|
||||
18CFF3C7179F13D500FDDE68 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
18CFF3C9179F13D500FDDE68 /* KLCircleViewControllerDemoTests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KLCircleViewControllerDemoTests.h; sourceTree = "<group>"; };
|
||||
18CFF3CA179F13D500FDDE68 /* KLCircleViewControllerDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KLCircleViewControllerDemoTests.m; sourceTree = "<group>"; };
|
||||
18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = KLCircleViewController.xcodeproj; path = KLCircleViewController/KLCircleViewController.xcodeproj; sourceTree = SOURCE_ROOT; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
@@ -65,6 +88,7 @@
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
18CFF3DF179F13FB00FDDE68 /* libKLCircleViewController.a in Frameworks */,
|
||||
18CFF39A179F13D500FDDE68 /* UIKit.framework in Frameworks */,
|
||||
18CFF39C179F13D500FDDE68 /* Foundation.framework in Frameworks */,
|
||||
18CFF39E179F13D500FDDE68 /* CoreGraphics.framework in Frameworks */,
|
||||
@@ -117,6 +141,7 @@
|
||||
18CFF39F179F13D500FDDE68 /* KLCircleViewControllerDemo */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */,
|
||||
18CFF3A8179F13D500FDDE68 /* KLAppDelegate.h */,
|
||||
18CFF3A9179F13D500FDDE68 /* KLAppDelegate.m */,
|
||||
18CFF3B1179F13D500FDDE68 /* MainStoryboard.storyboard */,
|
||||
@@ -160,6 +185,15 @@
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
18CFF3D5179F13F100FDDE68 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
18CFF3DA179F13F100FDDE68 /* libKLCircleViewController.a */,
|
||||
18CFF3DC179F13F100FDDE68 /* KLCircleViewControllerTests.octest */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
@@ -174,6 +208,7 @@
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
18CFF3DE179F13F800FDDE68 /* PBXTargetDependency */,
|
||||
);
|
||||
name = KLCircleViewControllerDemo;
|
||||
productName = KLCircleViewControllerDemo;
|
||||
@@ -219,6 +254,12 @@
|
||||
mainGroup = 18CFF38D179F13D500FDDE68;
|
||||
productRefGroup = 18CFF397179F13D500FDDE68 /* Products */;
|
||||
projectDirPath = "";
|
||||
projectReferences = (
|
||||
{
|
||||
ProductGroup = 18CFF3D5179F13F100FDDE68 /* Products */;
|
||||
ProjectRef = 18CFF3D4179F13F100FDDE68 /* KLCircleViewController.xcodeproj */;
|
||||
},
|
||||
);
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
18CFF395179F13D500FDDE68 /* KLCircleViewControllerDemo */,
|
||||
@@ -227,6 +268,23 @@
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXReferenceProxy section */
|
||||
18CFF3DA179F13F100FDDE68 /* libKLCircleViewController.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libKLCircleViewController.a;
|
||||
remoteRef = 18CFF3D9179F13F100FDDE68 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
18CFF3DC179F13F100FDDE68 /* KLCircleViewControllerTests.octest */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = wrapper.cfbundle;
|
||||
path = KLCircleViewControllerTests.octest;
|
||||
remoteRef = 18CFF3DB179F13F100FDDE68 /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
/* End PBXReferenceProxy section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
18CFF394179F13D500FDDE68 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
@@ -293,6 +351,11 @@
|
||||
target = 18CFF395179F13D500FDDE68 /* KLCircleViewControllerDemo */;
|
||||
targetProxy = 18CFF3C1179F13D500FDDE68 /* PBXContainerItemProxy */;
|
||||
};
|
||||
18CFF3DE179F13F800FDDE68 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = KLCircleViewController;
|
||||
targetProxy = 18CFF3DD179F13F800FDDE68 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
@@ -454,6 +517,7 @@
|
||||
18CFF3D0179F13D500FDDE68 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
18CFF3D1179F13D500FDDE68 /* Build configuration list for PBXNativeTarget "KLCircleViewControllerDemoTests" */ = {
|
||||
isa = XCConfigurationList;
|
||||
@@ -462,6 +526,7 @@
|
||||
18CFF3D3179F13D500FDDE68 /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <KLCircleViewController/KLCircleViewController.h>
|
||||
@interface KLViewController : UIViewController
|
||||
|
||||
@property (nonatomic, strong) KLCircleViewController* circleVC;
|
||||
@end
|
||||
|
||||
@@ -18,8 +18,12 @@
|
||||
{
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view, typically from a nib.
|
||||
UIViewController* center = [[UIViewController alloc] init];
|
||||
[center.view setBackgroundColor: [UIColor darkGrayColor]];
|
||||
self.circleVC = [[KLCircleViewController alloc] initWithCenterViewController: center];
|
||||
[self.circleVC.view setFrame: self.view.bounds];
|
||||
[self.view addSubview: self.circleVC.view];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="2519" systemVersion="12A206j" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
|
||||
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="2.0" toolsVersion="3084" systemVersion="12E55" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="2">
|
||||
<dependencies>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="1856"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="2083"/>
|
||||
</dependencies>
|
||||
<scenes>
|
||||
<!--class Prefix:identifier View Controller-->
|
||||
<!--View Controller-->
|
||||
<scene sceneID="5">
|
||||
<objects>
|
||||
<viewController id="2" customClass="KLViewController" sceneMemberID="viewController">
|
||||
<view key="view" contentMode="scaleToFill" id="3">
|
||||
<rect key="frame" x="0.0" y="20" width="320" height="460"/>
|
||||
<rect key="frame" x="0.0" y="20" width="320" height="548"/>
|
||||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
|
||||
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user