Browse Source

提交基础版本

zzb 4 years ago
parent
commit
711db26539

+ 18 - 49
.gitignore

@@ -1,18 +1,8 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## User settings
-xcuserdata/
+# OS X
+.DS_Store
 
-## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
-*.xcscmblueprint
-*.xccheckout
-
-## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
+# Xcode
 build/
-DerivedData/
-*.moved-aside
 *.pbxuser
 !default.pbxuser
 *.mode1v3
@@ -21,48 +11,27 @@ DerivedData/
 !default.mode2v3
 *.perspectivev3
 !default.perspectivev3
-
-## Obj-C/Swift specific
+xcuserdata/
+*.xccheckout
+profile
+*.moved-aside
+DerivedData
 *.hmap
-
-## App packaging
 *.ipa
-*.dSYM.zip
-*.dSYM
 
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-#
-# Add this line if you want to avoid checking in source code from the Xcode workspace
-# *.xcworkspace
+# Bundler
+.bundle
 
-# Carthage
-#
 # Add this line if you want to avoid checking in source code from Carthage dependencies.
 # Carthage/Checkouts
 
-Carthage/Build/
+Carthage/Build
 
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo.
-# Instead, use fastlane to re-generate the screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://docs.fastlane.tools/best-practices/source-control/#source-control
-
-fastlane/report.xml
-fastlane/Preview.html
-fastlane/screenshots/**/*.png
-fastlane/test_output
-
-# Code Injection
+# We recommend against adding the Pods directory to your .gitignore. However
+# you should judge for yourself, the pros and cons are mentioned at:
+# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
+# 
+# Note: if you ignore the Pods directory, make sure to uncomment
+# `pod install` in .travis.yml
 #
-# After new code Injection tools there's a generated folder /iOSInjectionProject
-# https://github.com/johnno1962/injectionforxcode
-
-iOSInjectionProject/
+# Pods/

+ 14 - 0
.travis.yml

@@ -0,0 +1,14 @@
+# references:
+# * https://www.objc.io/issues/6-build-tools/travis-ci/
+# * https://github.com/supermarin/xcpretty#usage
+
+osx_image: xcode7.3
+language: objective-c
+# cache: cocoapods
+# podfile: Example/Podfile
+# before_install:
+# - gem install cocoapods # Since Travis is not always on latest version
+# - pod install --project-directory=Example
+script:
+- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/ZZFoundation.xcworkspace -scheme ZZFoundation-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
+- pod lib lint

+ 0 - 16
Collection/NSMutableArray+ZZEx.h

@@ -1,16 +0,0 @@
-//
-//  NSMutableArray+ZZEx.h
-//  Kiwi
-//
-//  Created by Max on 2020/12/28.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface NSMutableArray (ZZEx)
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 12
Collection/NSMutableArray+ZZEx.m

@@ -1,12 +0,0 @@
-//
-//  NSMutableArray+ZZEx.m
-//  Kiwi
-//
-//  Created by Max on 2020/12/28.
-//
-
-#import "NSMutableArray+ZZEx.h"
-
-@implementation NSMutableArray (ZZEx)
-
-@end

+ 0 - 16
Date/NSDate+ZZEx.h

@@ -1,16 +0,0 @@
-//
-//  NSDate+ZZEx.h
-//  Kiwi
-//
-//  Created by Max on 2020/12/29.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface NSDate (ZZEx)
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 12
Date/NSDate+ZZEx.m

@@ -1,12 +0,0 @@
-//
-//  NSDate+ZZEx.m
-//  Kiwi
-//
-//  Created by Max on 2020/12/29.
-//
-
-#import "NSDate+ZZEx.h"
-
-@implementation NSDate (ZZEx)
-
-@end

+ 0 - 16
FileManager/NSFileManager+ZZEx.h

@@ -1,16 +0,0 @@
-//
-//  NSFileManager+ZZEx.h
-//  Kiwi
-//
-//  Created by Max on 2020/12/29.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@interface NSFileManager (ZZEx)
-
-@end
-
-NS_ASSUME_NONNULL_END

+ 0 - 12
FileManager/NSFileManager+ZZEx.m

@@ -1,12 +0,0 @@
-//
-//  NSFileManager+ZZEx.m
-//  Kiwi
-//
-//  Created by Max on 2020/12/29.
-//
-
-#import "NSFileManager+ZZEx.h"
-
-@implementation NSFileManager (ZZEx)
-
-@end