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

代码文件结构更改, 方便抽离测试 #669

Merged
merged 1 commit into from
Mar 25, 2019
Merged
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2DE3CD911BEF7B3800DA0F2E"
BuildableName = "MJExtensionExample.app"
BlueprintName = "MJExtensionExample"
ReferencedContainer = "container:MJExtensionExample.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 = "2DE3CDAA1BEF7B3800DA0F2E"
BuildableName = "MJExtensionExampleTests.xctest"
BlueprintName = "MJExtensionExampleTests"
ReferencedContainer = "container:MJExtensionExample.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2DE3CDB51BEF7B3800DA0F2E"
BuildableName = "MJExtensionExampleUITests.xctest"
BlueprintName = "MJExtensionExampleUITests"
ReferencedContainer = "container:MJExtensionExample.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2DE3CD911BEF7B3800DA0F2E"
BuildableName = "MJExtensionExample.app"
BlueprintName = "MJExtensionExample"
ReferencedContainer = "container:MJExtensionExample.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">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2DE3CD911BEF7B3800DA0F2E"
BuildableName = "MJExtensionExample.app"
BlueprintName = "MJExtensionExample"
ReferencedContainer = "container:MJExtensionExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2DE3CD911BEF7B3800DA0F2E"
BuildableName = "MJExtensionExample.app"
BlueprintName = "MJExtensionExample"
ReferencedContainer = "container:MJExtensionExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件直接忽略吧,不用提交上去。

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
//

#import "MJBag.h"
#import "MJExtension.h"

@import MJExtension;

@implementation MJBag
// NSCoding实现
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
//

#import "MJBox.h"
#import "MJExtension.h"

@import MJExtension;

@implementation MJBox
MJExtensionCodingImplementation
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
//

#import "MJExtensionConfig.h"
#import "MJExtension.h"
#import "MJBag.h"
#import "MJUser.h"
#import "MJStatusResult.h"
#import "MJStudent.h"
#import "MJDog.h"
#import "MJBook.h"

@import MJExtension;

@implementation MJExtensionConfig
/**
* 这个方法会在MJExtensionConfig加载进内存时调用一次
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
//

#import "MJUser.h"
#import "MJExtension.h"

@import MJExtension;

@implementation MJUser
//+ (NSArray *)mj_allowedPropertyNames
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "main.h"
#import "MJExtension.h"
#import "MJUser.h"
#import "MJAd.h"
#import "MJStatus.h"
Expand All @@ -21,6 +20,7 @@
#import <CoreData/CoreData.h>


@import MJExtension;
/**
MJ友情提醒:
1.MJExtension是一套“字典和模型之间互相转换”的轻量级框架
Expand Down
Loading