21 |
22 | @class MGSFragaria;
23 |
24 | @interface SMLTextView : NSTextView {
25 | @private
26 | NSInteger lineHeight;
27 | NSPoint startPoint;
28 | NSPoint startOrigin;
29 | CGFloat pageGuideX;
30 | NSColor *pageGuideColour;
31 |
32 | BOOL showPageGuide;
33 |
34 | NSCursor *colouredIBeamCursor;
35 |
36 | MGSFragaria *fragaria;
37 | BOOL lineWrap;
38 | }
39 |
40 | @property (retain) NSCursor *colouredIBeamCursor;
41 | @property (retain) MGSFragaria *fragaria;
42 | @property (nonatomic) BOOL lineWrap;
43 |
44 | - (void)setDefaults;
45 |
46 | - (void)setTextDefaults;
47 |
48 | - (NSInteger)lineHeight;
49 |
50 | - (void)setTabWidth;
51 |
52 | - (void)setPageGuideValues;
53 | - (void)updateIBeamCursor;
54 |
55 | - (void)setString:(NSString *)text options:(NSDictionary *)options;
56 | - (void)setAttributedString:(NSAttributedString *)text;
57 | - (void)setAttributedString:(NSAttributedString *)text options:(NSDictionary *)options;
58 | - (void)updateLineWrap;
59 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)text options:(NSDictionary *)options;
60 | @end
61 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/MGSFragaria:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/MGSFragaria
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/ErrorPopoverView.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/ErrorPopoverView.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 16D32
7 | CFBundleDevelopmentRegion
8 | English
9 | CFBundleExecutable
10 | MGSFragaria
11 | CFBundleIdentifier
12 | com.mugginsoft.MGSFragaria
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0.1
19 | CFBundleSignature
20 | ????
21 | CFBundleSupportedPlatforms
22 |
23 | MacOSX
24 |
25 | CFBundleVersion
26 | 1
27 | DTCompiler
28 | com.apple.compilers.llvm.clang.1_0
29 | DTPlatformBuild
30 | 8C1002
31 | DTPlatformVersion
32 | GM
33 | DTSDKBuild
34 | 16C58
35 | DTSDKName
36 | macosx10.12
37 | DTXcode
38 | 0821
39 | DTXcodeBuild
40 | 8C1002
41 |
42 |
43 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/LICENSE.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ICU License - ICU 1.8.1 and later
6 |
7 |
8 |
9 | ICU License - ICU 1.8.1 and later
10 |
11 | COPYRIGHT AND PERMISSION NOTICE
12 |
13 |
14 | Copyright (c) 1995-2006 International Business Machines Corporation and others
15 |
16 |
17 | All rights reserved.
18 |
19 |
20 | Permission is hereby granted, free of charge, to any person obtaining a copy
21 | of this software and associated documentation files (the "Software"),
22 | to deal in the Software without restriction, including without limitation
23 | the rights to use, copy, modify, merge, publish, distribute, and/or sell
24 | copies of the Software, and to permit persons
25 | to whom the Software is furnished to do so, provided that the above
26 | copyright notice(s) and this permission notice appear in all copies
27 | of the Software and that both the above copyright notice(s) and this
28 | permission notice appear in supporting documentation.
29 |
30 |
31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
32 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
33 | PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL
34 | THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM,
35 | OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
36 | RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
37 | NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE
38 | USE OR PERFORMANCE OF THIS SOFTWARE.
39 |
40 |
41 | Except as contained in this notice, the name of a copyright holder shall not be
42 | used in advertising or otherwise to promote the sale, use or other dealings in
43 | this Software without prior written authorization of the copyright holder.
44 |
45 |
46 |
47 |
48 | All trademarks and registered trademarks mentioned herein are the property of their respective owners.
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesFontsAndColours.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesFontsAndColours.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesTextEditing.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesTextEditing.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLCommandResult.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLCommandResult.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLDetab.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLDetab.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLEntab.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLEntab.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLGoToLine.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLGoToLine.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLOpenPanelAccessoryView.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLOpenPanelAccessoryView.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLRegularExpressionHelp.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/SMLRegularExpressionHelp.nib
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/latex.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 | {
7 | endCommand
8 | }
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 | \
15 | endVariable
16 | {}()[],?.;/:+=><~
17 | firstString
18 | $
19 | secondString
20 |
21 | firstSingleLineComment
22 | %
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 |
27 | endFirstMultiLineComment
28 |
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 | \\((sub)*section|part|chapter|paragraph){[^}]*}
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 | \begin{document}
44 | \end{document}
45 |
46 | autocompleteWords
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/none.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 |
7 | endCommand
8 |
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 |
19 | secondString
20 |
21 | firstSingleLineComment
22 |
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 |
27 | endFirstMultiLineComment
28 |
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | allowSyntaxColouring
42 |
43 | keywords
44 |
45 | autocompleteWords
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/pdf.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 |
7 | endCommand
8 |
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 | /
15 | endVariable
16 | ()><[]{}/%
17 | firstString
18 |
19 | secondString
20 |
21 | firstSingleLineComment
22 | %
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 |
27 | endFirstMultiLineComment
28 |
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 | endobj
44 | endstream
45 | f
46 | false
47 | n
48 | null
49 | obj
50 | R
51 | startxref
52 | stream
53 | trailer
54 | true
55 | xref
56 |
57 | autocompleteWords
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/plist.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 | <
7 | endCommand
8 | >
9 | beginInstruction
10 | <?
11 | endInstruction
12 | ?>
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 | "
19 | secondString
20 |
21 | firstSingleLineComment
22 |
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 | <!--
27 | endFirstMultiLineComment
28 | -->
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 |
44 | autocompleteWords
45 |
46 | key
47 | string
48 | real
49 | integer
50 | date
51 | true
52 | false
53 | data
54 | array
55 | dict
56 |
57 |
58 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/sgml.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 | <
7 | endCommand
8 | >
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 | "
19 | secondString
20 | '
21 | firstSingleLineComment
22 |
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 | <!--
27 | endFirstMultiLineComment
28 | -->
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 |
44 | autocompleteWords
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/shell.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 | `
7 | endCommand
8 | ´
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 | $
15 | endVariable
16 | (){}=;:[]
17 | firstString
18 | "
19 | secondString
20 | '
21 | firstSingleLineComment
22 | #
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 |
27 | endFirstMultiLineComment
28 |
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 | ^\s*(function)?\s?\w*(\(\))?\s?\n?\s*\{
35 | removeFromFunction
36 | function
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 | if
44 | then
45 | elif
46 | else
47 | fi
48 | case
49 | in
50 | ;;
51 | esac
52 | while
53 | for
54 | do
55 | done
56 | continue
57 | local
58 | return
59 |
60 | autocompleteWords
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/standard.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 |
7 | endCommand
8 |
9 | beginInstruction
10 |
11 | endInstruction
12 |
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 | "
19 | secondString
20 |
21 | firstSingleLineComment
22 |
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 |
27 | endFirstMultiLineComment
28 |
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | allowSyntaxColouring
42 |
43 | keywords
44 |
45 | autocompleteWords
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/supercollider.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 |
7 | endCommand
8 |
9 | beginInstruction
10 | |
11 | endInstruction
12 | |
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 | "
19 | secondString
20 | '
21 | firstSingleLineComment
22 | //
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 | /*
27 | endFirstMultiLineComment
28 | */
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 | ^\s*.*\(.*\)\n?\s*\{
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 | and
44 | ar
45 | arg
46 | case
47 | classvar
48 | collect
49 | do
50 | dup
51 | false
52 | if
53 | inf
54 | kr
55 | new
56 | nil
57 | or
58 | protect
59 | switch
60 | this
61 | true
62 | super
63 | try
64 | var
65 | while
66 |
67 | autocompleteWords
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/torquescript.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | autocompleteWords
6 |
7 | beginCommand
8 |
9 | beginFirstMultiLineComment
10 | /*
11 | beginInstruction
12 |
13 | beginSecondMultiLineComment
14 |
15 | beginVariable
16 | $%
17 | endCommand
18 |
19 | endFirstMultiLineComment
20 | */
21 | endInstruction
22 |
23 | endSecondMultiLineComment
24 |
25 | endVariable
26 | ./*+-()=;
27 | firstSingleLineComment
28 | //
29 | firstString
30 | "
31 | functionDefinition
32 | ^\s*\w*function\s+.*
33 | keywords
34 |
35 | break
36 | case
37 | continue
38 | datablock
39 | default
40 | else
41 | function
42 | if
43 | for
44 | new
45 | or
46 | package
47 | return
48 | switch
49 | switch$
50 | while
51 | yes
52 | no
53 | on
54 | off
55 | true
56 | false
57 |
58 | keywordsCaseSensitive
59 |
60 | recolourKeywordIfAlreadyColoured
61 |
62 | removeFromFunction
63 | function
64 | secondSingleLineComment
65 |
66 | secondString
67 | '
68 |
69 |
70 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/xml.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | beginCommand
6 | <
7 | endCommand
8 | >
9 | beginInstruction
10 | <?
11 | endInstruction
12 | ?>
13 | beginVariable
14 |
15 | endVariable
16 |
17 | firstString
18 | "
19 | secondString
20 | '
21 | firstSingleLineComment
22 |
23 | secondSingleLineComment
24 |
25 | beginFirstMultiLineComment
26 | <!--
27 | endFirstMultiLineComment
28 | -->
29 | beginSecondMultiLineComment
30 |
31 | endSecondMultiLineComment
32 |
33 | functionDefinition
34 |
35 | removeFromFunction
36 |
37 | keywordsCaseSensitive
38 |
39 | recolourKeywordIfAlreadyColoured
40 |
41 | keywords
42 |
43 | CDATA
44 | EMPTY
45 | INCLUDE
46 | IGNORE
47 | NDATA
48 | #IMPLIED
49 | #PCDATA
50 | #REQUIRED
51 |
52 | autocompleteWords
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-0.png
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-1.png
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint-2.png
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-breakpoint.png
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/A/Resources/editor-warning.png
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/MGSFragaria.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2011-2012 Masonry Team - https://github.com/Masonry
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASCompositeConstraint.h:
--------------------------------------------------------------------------------
1 | //
2 | // MASCompositeConstraint.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 21/07/13.
6 | // Copyright (c) 2013 cloudling. All rights reserved.
7 | //
8 |
9 | #import "MASConstraint.h"
10 | #import "MASUtilities.h"
11 |
12 | /**
13 | * A group of MASConstraint objects
14 | */
15 | @interface MASCompositeConstraint : MASConstraint
16 |
17 | /**
18 | * Creates a composite with a predefined array of children
19 | *
20 | * @param children child MASConstraints
21 | *
22 | * @return a composite constraint
23 | */
24 | - (id)initWithChildren:(NSArray *)children;
25 |
26 | @end
27 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASConstraint+Private.h:
--------------------------------------------------------------------------------
1 | //
2 | // MASConstraint+Private.h
3 | // Masonry
4 | //
5 | // Created by Nick Tymchenko on 29/04/14.
6 | // Copyright (c) 2014 cloudling. All rights reserved.
7 | //
8 |
9 | #import "MASConstraint.h"
10 |
11 | @protocol MASConstraintDelegate;
12 |
13 |
14 | @interface MASConstraint ()
15 |
16 | /**
17 | * Whether or not to check for an existing constraint instead of adding constraint
18 | */
19 | @property (nonatomic, assign) BOOL updateExisting;
20 |
21 | /**
22 | * Usually MASConstraintMaker but could be a parent MASConstraint
23 | */
24 | @property (nonatomic, weak) id delegate;
25 |
26 | /**
27 | * Based on a provided value type, is equal to calling:
28 | * NSNumber - setOffset:
29 | * NSValue with CGPoint - setPointOffset:
30 | * NSValue with CGSize - setSizeOffset:
31 | * NSValue with MASEdgeInsets - setInsets:
32 | */
33 | - (void)setLayoutConstantWithValue:(NSValue *)value;
34 |
35 | @end
36 |
37 |
38 | @interface MASConstraint (Abstract)
39 |
40 | /**
41 | * Sets the constraint relation to given NSLayoutRelation
42 | * returns a block which accepts one of the following:
43 | * MASViewAttribute, UIView, NSValue, NSArray
44 | * see readme for more details.
45 | */
46 | - (MASConstraint * (^)(id, NSLayoutRelation))equalToWithRelation;
47 |
48 | /**
49 | * Override to set a custom chaining behaviour
50 | */
51 | - (MASConstraint *)addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute;
52 |
53 | @end
54 |
55 |
56 | @protocol MASConstraintDelegate
57 |
58 | /**
59 | * Notifies the delegate when the constraint needs to be replaced with another constraint. For example
60 | * A MASViewConstraint may turn into a MASCompositeConstraint when an array is passed to one of the equality blocks
61 | */
62 | - (void)constraint:(MASConstraint *)constraint shouldBeReplacedWithConstraint:(MASConstraint *)replacementConstraint;
63 |
64 | - (MASConstraint *)constraint:(MASConstraint *)constraint addConstraintWithLayoutAttribute:(NSLayoutAttribute)layoutAttribute;
65 |
66 | @end
67 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASLayoutConstraint.h:
--------------------------------------------------------------------------------
1 | //
2 | // MASLayoutConstraint.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 3/08/13.
6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved.
7 | //
8 |
9 | #import "MASUtilities.h"
10 |
11 | /**
12 | * When you are debugging or printing the constraints attached to a view this subclass
13 | * makes it easier to identify which constraints have been created via Masonry
14 | */
15 | @interface MASLayoutConstraint : NSLayoutConstraint
16 |
17 | /**
18 | * a key to associate with this constraint
19 | */
20 | @property (nonatomic, strong) id mas_key;
21 |
22 | @end
23 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASLayoutConstraint.m:
--------------------------------------------------------------------------------
1 | //
2 | // MASLayoutConstraint.m
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 3/08/13.
6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved.
7 | //
8 |
9 | #import "MASLayoutConstraint.h"
10 |
11 | @implementation MASLayoutConstraint
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASViewAttribute.h:
--------------------------------------------------------------------------------
1 | //
2 | // MASAttribute.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 21/07/13.
6 | // Copyright (c) 2013 cloudling. All rights reserved.
7 | //
8 |
9 | #import "MASUtilities.h"
10 |
11 | /**
12 | * An immutable tuple which stores the view and the related NSLayoutAttribute.
13 | * Describes part of either the left or right hand side of a constraint equation
14 | */
15 | @interface MASViewAttribute : NSObject
16 |
17 | /**
18 | * The view which the reciever relates to. Can be nil if item is not a view.
19 | */
20 | @property (nonatomic, weak, readonly) MAS_VIEW *view;
21 |
22 | /**
23 | * The item which the reciever relates to.
24 | */
25 | @property (nonatomic, weak, readonly) id item;
26 |
27 | /**
28 | * The attribute which the reciever relates to
29 | */
30 | @property (nonatomic, assign, readonly) NSLayoutAttribute layoutAttribute;
31 |
32 | /**
33 | * Convenience initializer.
34 | */
35 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute;
36 |
37 | /**
38 | * The designated initializer.
39 | */
40 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute;
41 |
42 | /**
43 | * Determine whether the layoutAttribute is a size attribute
44 | *
45 | * @return YES if layoutAttribute is equal to NSLayoutAttributeWidth or NSLayoutAttributeHeight
46 | */
47 | - (BOOL)isSizeAttribute;
48 |
49 | @end
50 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASViewAttribute.m:
--------------------------------------------------------------------------------
1 | //
2 | // MASAttribute.m
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 21/07/13.
6 | // Copyright (c) 2013 cloudling. All rights reserved.
7 | //
8 |
9 | #import "MASViewAttribute.h"
10 |
11 | @implementation MASViewAttribute
12 |
13 | - (id)initWithView:(MAS_VIEW *)view layoutAttribute:(NSLayoutAttribute)layoutAttribute {
14 | self = [self initWithView:view item:view layoutAttribute:layoutAttribute];
15 | return self;
16 | }
17 |
18 | - (id)initWithView:(MAS_VIEW *)view item:(id)item layoutAttribute:(NSLayoutAttribute)layoutAttribute {
19 | self = [super init];
20 | if (!self) return nil;
21 |
22 | _view = view;
23 | _item = item;
24 | _layoutAttribute = layoutAttribute;
25 |
26 | return self;
27 | }
28 |
29 | - (BOOL)isSizeAttribute {
30 | return self.layoutAttribute == NSLayoutAttributeWidth
31 | || self.layoutAttribute == NSLayoutAttributeHeight;
32 | }
33 |
34 | - (BOOL)isEqual:(MASViewAttribute *)viewAttribute {
35 | if ([viewAttribute isKindOfClass:self.class]) {
36 | return self.view == viewAttribute.view
37 | && self.layoutAttribute == viewAttribute.layoutAttribute;
38 | }
39 | return [super isEqual:viewAttribute];
40 | }
41 |
42 | - (NSUInteger)hash {
43 | return MAS_NSUINTROTATE([self.view hash], MAS_NSUINT_BIT / 2) ^ self.layoutAttribute;
44 | }
45 |
46 | @end
47 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/MASViewConstraint.h:
--------------------------------------------------------------------------------
1 | //
2 | // MASConstraint.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 20/07/13.
6 | // Copyright (c) 2013 cloudling. All rights reserved.
7 | //
8 |
9 | #import "MASViewAttribute.h"
10 | #import "MASConstraint.h"
11 | #import "MASLayoutConstraint.h"
12 | #import "MASUtilities.h"
13 |
14 | /**
15 | * A single constraint.
16 | * Contains the attributes neccessary for creating a NSLayoutConstraint and adding it to the appropriate view
17 | */
18 | @interface MASViewConstraint : MASConstraint
19 |
20 | /**
21 | * First item/view and first attribute of the NSLayoutConstraint
22 | */
23 | @property (nonatomic, strong, readonly) MASViewAttribute *firstViewAttribute;
24 |
25 | /**
26 | * Second item/view and second attribute of the NSLayoutConstraint
27 | */
28 | @property (nonatomic, strong, readonly) MASViewAttribute *secondViewAttribute;
29 |
30 | /**
31 | * initialises the MASViewConstraint with the first part of the equation
32 | *
33 | * @param firstViewAttribute view.mas_left, view.mas_width etc.
34 | *
35 | * @return a new view constraint
36 | */
37 | - (id)initWithFirstViewAttribute:(MASViewAttribute *)firstViewAttribute;
38 |
39 | /**
40 | * Returns all MASViewConstraints installed with this view as a first item.
41 | *
42 | * @param view A view to retrieve constraints for.
43 | *
44 | * @return An array of MASViewConstraints.
45 | */
46 | + (NSArray *)installedConstraintsForView:(MAS_VIEW *)view;
47 |
48 | @end
49 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/Masonry.h:
--------------------------------------------------------------------------------
1 | //
2 | // Masonry.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 20/07/13.
6 | // Copyright (c) 2013 cloudling. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | //! Project version number for Masonry.
12 | FOUNDATION_EXPORT double MasonryVersionNumber;
13 |
14 | //! Project version string for Masonry.
15 | FOUNDATION_EXPORT const unsigned char MasonryVersionString[];
16 |
17 | #import "MASUtilities.h"
18 | #import "View+MASAdditions.h"
19 | #import "View+MASShorthandAdditions.h"
20 | #import "ViewController+MASAdditions.h"
21 | #import "NSArray+MASAdditions.h"
22 | #import "NSArray+MASShorthandAdditions.h"
23 | #import "MASConstraint.h"
24 | #import "MASCompositeConstraint.h"
25 | #import "MASViewAttribute.h"
26 | #import "MASViewConstraint.h"
27 | #import "MASConstraintMaker.h"
28 | #import "MASLayoutConstraint.h"
29 | #import "NSLayoutConstraint+MASDebugAdditions.h"
30 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/NSArray+MASShorthandAdditions.h:
--------------------------------------------------------------------------------
1 | //
2 | // NSArray+MASShorthandAdditions.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 22/07/13.
6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved.
7 | //
8 |
9 | #import "NSArray+MASAdditions.h"
10 |
11 | #ifdef MAS_SHORTHAND
12 |
13 | /**
14 | * Shorthand array additions without the 'mas_' prefixes,
15 | * only enabled if MAS_SHORTHAND is defined
16 | */
17 | @interface NSArray (MASShorthandAdditions)
18 |
19 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *make))block;
20 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *make))block;
21 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *make))block;
22 |
23 | @end
24 |
25 | @implementation NSArray (MASShorthandAdditions)
26 |
27 | - (NSArray *)makeConstraints:(void(^)(MASConstraintMaker *))block {
28 | return [self mas_makeConstraints:block];
29 | }
30 |
31 | - (NSArray *)updateConstraints:(void(^)(MASConstraintMaker *))block {
32 | return [self mas_updateConstraints:block];
33 | }
34 |
35 | - (NSArray *)remakeConstraints:(void(^)(MASConstraintMaker *))block {
36 | return [self mas_remakeConstraints:block];
37 | }
38 |
39 | @end
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/NSLayoutConstraint+MASDebugAdditions.h:
--------------------------------------------------------------------------------
1 | //
2 | // NSLayoutConstraint+MASDebugAdditions.h
3 | // Masonry
4 | //
5 | // Created by Jonas Budelmann on 3/08/13.
6 | // Copyright (c) 2013 Jonas Budelmann. All rights reserved.
7 | //
8 |
9 | #import "MASUtilities.h"
10 |
11 | /**
12 | * makes debug and log output of NSLayoutConstraints more readable
13 | */
14 | @interface NSLayoutConstraint (MASDebugAdditions)
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/ViewController+MASAdditions.h:
--------------------------------------------------------------------------------
1 | //
2 | // UIViewController+MASAdditions.h
3 | // Masonry
4 | //
5 | // Created by Craig Siemens on 2015-06-23.
6 | //
7 | //
8 |
9 | #import "MASUtilities.h"
10 | #import "MASConstraintMaker.h"
11 | #import "MASViewAttribute.h"
12 |
13 | #ifdef MAS_VIEW_CONTROLLER
14 |
15 | @interface MAS_VIEW_CONTROLLER (MASAdditions)
16 |
17 | /**
18 | * following properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute
19 | */
20 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide;
21 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide;
22 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop;
23 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom;
24 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop;
25 | @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom;
26 |
27 |
28 | @end
29 |
30 | #endif
31 |
--------------------------------------------------------------------------------
/ZZUIHelper/Extensions/Masonry/Masonry/ViewController+MASAdditions.m:
--------------------------------------------------------------------------------
1 | //
2 | // UIViewController+MASAdditions.m
3 | // Masonry
4 | //
5 | // Created by Craig Siemens on 2015-06-23.
6 | //
7 | //
8 |
9 | #import "ViewController+MASAdditions.h"
10 |
11 | #ifdef MAS_VIEW_CONTROLLER
12 |
13 | @implementation MAS_VIEW_CONTROLLER (MASAdditions)
14 |
15 | - (MASViewAttribute *)mas_topLayoutGuide {
16 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom];
17 | }
18 | - (MASViewAttribute *)mas_topLayoutGuideTop {
19 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeTop];
20 | }
21 | - (MASViewAttribute *)mas_topLayoutGuideBottom {
22 | return [[MASViewAttribute alloc] initWithView:self.view item:self.topLayoutGuide layoutAttribute:NSLayoutAttributeBottom];
23 | }
24 |
25 | - (MASViewAttribute *)mas_bottomLayoutGuide {
26 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop];
27 | }
28 | - (MASViewAttribute *)mas_bottomLayoutGuideTop {
29 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeTop];
30 | }
31 | - (MASViewAttribute *)mas_bottomLayoutGuideBottom {
32 | return [[MASViewAttribute alloc] initWithView:self.view item:self.bottomLayoutGuide layoutAttribute:NSLayoutAttributeBottom];
33 | }
34 |
35 |
36 |
37 | @end
38 |
39 | #endif
40 |
--------------------------------------------------------------------------------
/ZZUIHelper/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.1.0
21 | CFBundleVersion
22 | 1
23 | LSMinimumSystemVersion
24 | $(MACOSX_DEPLOYMENT_TARGET)
25 | NSHumanReadableCopyright
26 | Copyright © 2017年 李伯坤. All rights reserved.
27 | NSMainStoryboardFile
28 | Main
29 | NSPrincipalClass
30 | NSApplication
31 |
32 |
33 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeAreaViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeAreaViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/18.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZCodeAreaViewController : NSTabViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeAreaViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeAreaViewController.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/18.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZCodeAreaViewController.h"
10 |
11 | @interface ZZCodeAreaViewController ()
12 |
13 | @end
14 |
15 | @implementation ZZCodeAreaViewController
16 |
17 | - (void)viewDidLoad {
18 | [super viewDidLoad];
19 |
20 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_NEW_PROJECT object:nil];
21 | [self setSelectedTabViewItemIndex:1];
22 | }
23 |
24 | - (void)dealloc{
25 | [[NSNotificationCenter defaultCenter] removeObserver:self];
26 | }
27 |
28 | - (void)reloadData
29 | {
30 | if ([ZZClassHelper sharedInstance].curClass) {
31 | NSString *className = [ZZClassHelper sharedInstance].curClass.className;
32 | [self.tabViewItems[0] setLabel:[NSString stringWithFormat:@"%@.h", className]];
33 | [self.tabViewItems[1] setLabel:[NSString stringWithFormat:@"%@.m", className]];
34 | }
35 | dispatch_async(dispatch_get_main_queue(), ^{
36 | [self setSelectedTabViewItemIndex:1];
37 | });
38 | }
39 |
40 |
41 | @end
42 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeHFileViewController/ZZCodeHFileViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeHFileViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/26.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZCodeHFileViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeHFileViewController/ZZCodeHFileViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeHFileViewController.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/26.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZCodeHFileViewController.h"
10 | #import
11 |
12 | @interface ZZCodeHFileViewController ()
13 |
14 | @property (nonatomic, strong) ZZUIResponder *curClass;
15 |
16 | @property (nonatomic, strong) MGSFragaria *fragaria;
17 |
18 | @end
19 |
20 | @implementation ZZCodeHFileViewController
21 |
22 | - (void)viewDidLoad {
23 | [super viewDidLoad];
24 |
25 | [self.fragaria embedInView:self.view];
26 |
27 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_CLASS_PROPERTY_CHANGED object:nil];
28 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_CLASS_PROPERTY_EDIT object:nil];
29 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_NEW_PROJECT object:nil];
30 | }
31 |
32 | - (void)dealloc{
33 | [[NSNotificationCenter defaultCenter] removeObserver:self];
34 | }
35 |
36 | - (void)reloadData
37 | {
38 | if ([ZZClassHelper sharedInstance].curClass) {
39 | ZZUIResponder *curClass = [ZZClassHelper sharedInstance].curClass;
40 | CGRect rect = self.fragaria.textView.visibleRect;
41 | [self.fragaria setString:[[ZZCreatorManager sharedInstance] hFileForViewClass:curClass]];
42 | if (curClass == self.curClass) {
43 | [self.fragaria.textView scrollRectToVisible:rect];
44 | }
45 | self.curClass = curClass;
46 | }
47 | }
48 |
49 | #pragma mark - # Getter
50 | - (MGSFragaria *)fragaria
51 | {
52 | if (!_fragaria) {
53 | _fragaria = [[MGSFragaria alloc] init];
54 | [_fragaria setObject:@"Objective-C" forKey:MGSFOSyntaxDefinitionName];
55 | }
56 | return _fragaria;
57 | }
58 |
59 |
60 | @end
61 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeMFileViewController/ZZCodeMFileViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeMFileViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/26.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZCodeMFileViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZCodeAreaViewController/ZZCodeMFileViewController/ZZCodeMFileViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCodeMFileViewController.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/26.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZCodeMFileViewController.h"
10 | #import
11 |
12 | @interface ZZCodeMFileViewController ()
13 |
14 | @property (nonatomic, strong) ZZUIResponder *curClass;
15 |
16 | @property (nonatomic, strong) MGSFragaria *fragaria;
17 |
18 | @end
19 |
20 | @implementation ZZCodeMFileViewController
21 |
22 | - (void)viewDidLoad {
23 | [super viewDidLoad];
24 |
25 | [self.fragaria embedInView:self.view];
26 |
27 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_CLASS_PROPERTY_CHANGED object:nil];
28 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_CLASS_PROPERTY_EDIT object:nil];
29 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reloadData) name:NOTI_NEW_PROJECT object:nil];
30 | }
31 |
32 | - (void)dealloc{
33 | [[NSNotificationCenter defaultCenter] removeObserver:self];
34 | }
35 |
36 | - (void)reloadData
37 | {
38 | if ([ZZClassHelper sharedInstance].curClass) {
39 | ZZUIResponder *curClass = [ZZClassHelper sharedInstance].curClass;
40 | CGRect rect = self.fragaria.textView.visibleRect;
41 | [self.fragaria setString:[[ZZCreatorManager sharedInstance] mFileForViewClass:curClass]];
42 | if (curClass == self.curClass) {
43 | [self.fragaria.textView scrollRectToVisible:rect];
44 | }
45 | self.curClass = curClass;
46 | }
47 | }
48 |
49 | #pragma mark - # Getter
50 | - (MGSFragaria *)fragaria
51 | {
52 | if (!_fragaria) {
53 | _fragaria = [[MGSFragaria alloc] init];
54 | [_fragaria setObject:@"Objective-C" forKey:MGSFOSyntaxDefinitionName];
55 | }
56 | return _fragaria;
57 | }
58 |
59 | @end
60 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZControlAreaViewController/ZZControlAreaViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZControlAreaViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZControlAreaViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZControlAreaViewController/ZZControlItem.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZControlItem.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZControlItem : NSCollectionViewItem
12 | @property (nonatomic, strong) NSString *buttonTitle;
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZControlAreaViewController/ZZControlListItem.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZControlListItem.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/2.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZControlListItem : NSCollectionViewItem
12 | @property (nonatomic, strong) NSString *buttonTitle;
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZControlAreaViewController/ZZControlListItem.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZControlListItem.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/2.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZControlListItem.h"
10 |
11 | @interface ZZControlListItem ()
12 |
13 | @property (weak) IBOutlet NSView *bgView;
14 | @property (weak) IBOutlet NSTextField *titleLabel;
15 | @property (weak) IBOutlet NSBox *horizontalLine;
16 | @property (weak) IBOutlet NSImageView *controlImageView;
17 |
18 | @end
19 |
20 | @implementation ZZControlListItem
21 |
22 | - (void)viewDidLoad {
23 | [super viewDidLoad];
24 |
25 | [self.bgView setWantsLayer:YES];
26 | [self.bgView.layer setBackgroundColor:[NSColor colorWithRed:204.0/255.0 green:222.0/255.0 blue:238.0/255.0 alpha:0.7].CGColor];
27 | [self.bgView.layer setBorderWidth:1];
28 | [self.bgView.layer setBorderColor:[NSColor grayColor].CGColor];
29 |
30 | [self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
31 | make.edges.mas_equalTo(NSEdgeInsetsMake(2, 2, 2, 2));
32 | }];
33 |
34 | [self.controlImageView mas_makeConstraints:^(MASConstraintMaker *make) {
35 | make.top.mas_equalTo(12);
36 | make.bottom.mas_equalTo(-12);
37 | make.left.mas_equalTo(13);
38 | make.width.mas_equalTo(self.controlImageView.mas_height);
39 | }];
40 | [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
41 | make.centerY.mas_equalTo(-1);
42 | make.left.mas_equalTo(self.controlImageView.mas_right).mas_offset(13);
43 | make.right.mas_lessThanOrEqualTo(-13);
44 | }];
45 |
46 | [self.horizontalLine mas_makeConstraints:^(MASConstraintMaker *make) {
47 | make.left.and.right.and.bottom.mas_equalTo(0);
48 | }];
49 |
50 | [self.bgView setHidden:!self.selected];
51 | }
52 |
53 | - (void)setButtonTitle:(NSString *)buttonTitle
54 | {
55 | _buttonTitle = buttonTitle;
56 | self.titleLabel.stringValue = buttonTitle;
57 | [self.controlImageView setImage:[NSImage imageNamed:buttonTitle]];
58 | [self.bgView setHidden:!self.selected];
59 | }
60 |
61 | - (void)setSelected:(BOOL)selected
62 | {
63 | [super setSelected:selected];
64 | [self.bgView setHidden:!selected];
65 | }
66 |
67 | @end
68 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZElementAreaViewController/ZZElementAreaViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZElementAreaViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZElementAreaViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZElementAreaViewController/ZZElementCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZElementCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/21.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @protocol ZZElementCellDelegate
12 |
13 | - (void)elementCellDeleteButtonClick:(ZZNSObject *)object;
14 |
15 | @end
16 |
17 | @interface ZZElementCell : NSTableCellView
18 |
19 | @property (nonatomic, weak) id delegate;
20 |
21 | @property (nonatomic, strong) ZZNSObject *object;
22 |
23 | @end
24 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZElementAreaViewController/ZZElementCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZElementCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/21.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZElementCell.h"
10 |
11 | @interface ZZElementCell ()
12 |
13 | @property (weak) IBOutlet NSTextField *classNameLabel;
14 | @property (weak) IBOutlet NSTextField *propertyNameLabel;
15 | @property (weak) IBOutlet NSTextField *remarksLabel;
16 |
17 | @end
18 |
19 | @implementation ZZElementCell
20 |
21 | - (void)awakeFromNib
22 | {
23 | [super awakeFromNib];
24 | // [self setWantsLayer:YES];
25 | // [self.layer setBackgroundColor:[NSColor windowBackgroundColor].CGColor];
26 | [self.classNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
27 | make.left.mas_equalTo(15);
28 | make.top.mas_equalTo(12);
29 | }];
30 | [self.propertyNameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
31 | make.left.mas_equalTo(self.classNameLabel.mas_right).mas_offset(5);
32 | make.centerY.mas_equalTo(self.classNameLabel);
33 | make.right.mas_lessThanOrEqualTo(self);
34 | }];
35 | }
36 |
37 | - (void)setObject:(ZZNSObject *)object
38 | {
39 | _object = object;
40 | self.classNameLabel.stringValue = [object.className stringByAppendingString:@" -"];
41 | self.propertyNameLabel.stringValue = object.propertyName;
42 | NSString *remark = [@"备注: " stringByAppendingString:object.remarks ? object.remarks : @"无"];
43 | self.remarksLabel.stringValue = remark;
44 | }
45 |
46 | - (IBAction)deleteButtonClick:(id)sender {
47 | if (self.delegate && [self.delegate respondsToSelector:@selector(elementCellDeleteButtonClick:)]) {
48 | [self.delegate elementCellDeleteButtonClick:self.object];
49 | }
50 | }
51 |
52 | @end
53 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZMainViewController/ZZMainViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZMainViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/18.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZMainViewController : NSSplitViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZMainViewController/ZZMainViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZMainViewController.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/18.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZMainViewController.h"
10 | #import "ZZNewFileViewController.h"
11 |
12 | #import "ZZMethod.h"
13 |
14 | @interface ZZMainViewController ()
15 |
16 | @end
17 |
18 | @implementation ZZMainViewController
19 |
20 | - (void)viewDidAppear {
21 | [super viewDidAppear];
22 |
23 | if ([ZZClassHelper sharedInstance].curClass == nil) {
24 | ZZNewFileViewController *vc = [[ZZNewFileViewController alloc] initWithNibName:@"ZZNewFileViewController" bundle:nil];
25 | [self presentViewControllerAsSheet:vc];
26 | }
27 | }
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZNewFileViewController/ZZNewFileViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZNewFileViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZNewFileViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZNewPropertyViewController/ZZNewPropertyViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZNewPropertyViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZNewPropertyViewController : NSViewController
12 |
13 | @property (nonatomic, strong) NSString *className;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyAreaViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyAreaViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/12.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZPropertyAreaViewController : NSTabViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyEditViewController+Delegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyEditViewController+Delegate.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/4.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertyEditViewController.h"
10 | #import "ZZPropertySectionHeaderView.h"
11 |
12 | @interface ZZPropertyEditViewController (Delegate)
13 |
14 | - (void)registerViewsForCollectionView:(NSCollectionView *)collectionView;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyEditViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyEditViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/21.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZPropertyEditViewController : NSViewController
12 |
13 | @property (nonatomic, strong) ZZNSObject *object;
14 |
15 | @property (nonatomic, strong) NSArray *data;
16 |
17 | @property (weak) IBOutlet NSCollectionView *collectionView;
18 |
19 | @end
20 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyModels/ZZPropertySectionModel.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySectionModel.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/1.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | typedef NS_ENUM(NSInteger, ZZPropertySectionType) {
12 | ZZPropertySectionTypeProperty,
13 | ZZPropertySectionTypeEvent,
14 | ZZPropertySectionTypeDelegate,
15 | };
16 |
17 | @interface ZZPropertySectionModel : NSObject
18 |
19 | @property (nonatomic, assign) ZZPropertySectionType sectionType;
20 |
21 | @property (nonatomic, strong) NSString *sectionTitle;
22 |
23 | @property (nonatomic, strong) NSArray *sectionData;
24 |
25 | @property (nonatomic, assign, readonly) NSInteger count;
26 |
27 | /// 显示所有的元素,默认YES
28 | @property (nonatomic, assign) BOOL showAllItems;
29 |
30 | - (id)initWithSectionType:(ZZPropertySectionType)sectionType title:(NSString *)sectionTitle andData:(NSArray *)data;
31 |
32 | - (id)objectAtIndex:(NSUInteger)index;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyModels/ZZPropertySectionModel.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySectionModel.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/1.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertySectionModel.h"
10 |
11 | @implementation ZZPropertySectionModel
12 |
13 | - (id)initWithSectionType:(ZZPropertySectionType)sectionType title:(NSString *)sectionTitle andData:(NSArray *)data;
14 | {
15 | if (self = [super init]) {
16 | self.sectionType = sectionType;
17 | self.sectionTitle = sectionTitle;
18 | self.sectionData = data;
19 | self.showAllItems = YES;
20 | }
21 | return self;
22 | }
23 |
24 | - (id)objectAtIndex:(NSUInteger)index
25 | {
26 | return index < self.sectionData.count ? self.sectionData[index] : nil;
27 | }
28 |
29 | - (NSInteger)count
30 | {
31 | return self.sectionData.count;
32 | }
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/EventCell/ZZPropertyEventCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyEventCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZEvent.h"
11 |
12 | @interface ZZPropertyEventCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZEvent *event;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/MethodCell/ZZPropertyMethodCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyMethodCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/1.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZPropertyMethodCell : NSCollectionViewItem
12 |
13 | @property (nonatomic, strong) ZZMethod *method;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/MethodCell/ZZPropertyMethodCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyMethodCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/1.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertyMethodCell.h"
10 |
11 | @interface ZZPropertyMethodCell ()
12 |
13 | @property (weak) IBOutlet NSButton *checkButton;
14 |
15 | @end
16 |
17 | @implementation ZZPropertyMethodCell
18 |
19 | - (void)viewDidLoad
20 | {
21 | [self.checkButton mas_makeConstraints:^(MASConstraintMaker *make) {
22 | make.left.mas_equalTo(15);
23 | make.centerY.mas_equalTo(0);
24 | make.right.mas_equalTo(-15);
25 | }];
26 | }
27 |
28 | - (void)setMethod:(ZZMethod *)method
29 | {
30 | _method = method;
31 | [self.checkButton setTitle:method.methodNameWithoutParams];
32 | [self.checkButton setState:method.selected];
33 | }
34 |
35 | #pragma mark - # Event Response
36 | - (IBAction)checkButtonClick:(NSButton *)sender {
37 | self.method.selected = sender.state;
38 | [[NSNotificationCenter defaultCenter] postNotificationName:NOTI_CLASS_PROPERTY_EDIT object:nil];
39 | }
40 | @end
41 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyBoolCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyBoolCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertyBoolCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyBoolCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyBoolCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertyBoolCell.h"
10 |
11 | @interface ZZPropertyBoolCell ()
12 |
13 | @property (weak) IBOutlet NSButton *checkButton;
14 |
15 | @end
16 |
17 | @implementation ZZPropertyBoolCell
18 |
19 | - (void)viewDidLoad
20 | {
21 | [super viewDidLoad];
22 | [self.checkButton mas_makeConstraints:^(MASConstraintMaker *make) {
23 | make.centerY.mas_equalTo(0);
24 | make.left.mas_equalTo(15);
25 | }];
26 | }
27 |
28 | - (void)setProperty:(ZZProperty *)property
29 | {
30 | _property = property;
31 | [self.checkButton setTitle:property.propertyName];
32 | [self.checkButton setState:[property.value boolValue]];
33 | }
34 |
35 | - (IBAction)checkButtonClick:(NSButton *)sender {
36 | self.property.value = @(sender.state);
37 | [[NSNotificationCenter defaultCenter] postNotificationName:NOTI_CLASS_PROPERTY_EDIT object:self.property.propertyName];
38 | }
39 |
40 |
41 | @end
42 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyLineCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyLineCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/12.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertyLineCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyLineCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyLineCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/12.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertyLineCell.h"
10 |
11 | @interface ZZPropertyLineCell ()
12 |
13 | @property (weak) IBOutlet NSBox *line;
14 |
15 | @end
16 |
17 | @implementation ZZPropertyLineCell
18 |
19 | - (void)viewDidLoad {
20 | [super viewDidLoad];
21 |
22 | [self.line mas_makeConstraints:^(MASConstraintMaker *make) {
23 | make.centerY.mas_equalTo(0);
24 | make.left.mas_equalTo(15);
25 | make.right.mas_equalTo(0);
26 | }];
27 | }
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyLineCell.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertySelectionAndEditCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySelectionAndEditCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/8.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertySelectionAndEditCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertySelectionCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySelectionCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertySelectionCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertySelectionCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySelectionCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertySelectionCell.h"
10 |
11 | @interface ZZPropertySelectionCell ()
12 |
13 | @property (weak) IBOutlet NSTextField *titleLabel;
14 | @property (weak) IBOutlet NSPopUpButton *selectionButton;
15 |
16 | @end
17 |
18 | @implementation ZZPropertySelectionCell
19 |
20 | - (void)viewDidLoad {
21 | [super viewDidLoad];
22 | [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
23 | make.left.mas_equalTo(15);
24 | make.centerY.mas_equalTo(0);
25 | make.width.mas_equalTo(100);
26 | }];
27 | [self.selectionButton mas_makeConstraints:^(MASConstraintMaker *make) {
28 | make.left.mas_equalTo(self.titleLabel.mas_right).mas_offset(5);
29 | make.centerY.mas_equalTo(self.titleLabel);
30 | make.height.mas_equalTo(23);
31 | make.right.mas_equalTo(-10);
32 | }];
33 | }
34 |
35 | - (void)setProperty:(ZZProperty *)property
36 | {
37 | _property = property;
38 | [self.titleLabel setStringValue:[property.propertyName stringByAppendingString:@":"]];
39 | [self.selectionButton removeAllItems];
40 | [self.selectionButton addItemsWithTitles:property.selectionData];
41 | [self.selectionButton selectItemAtIndex:property.selectIndex];
42 | }
43 |
44 | - (IBAction)selectionButtonClick:(NSPopUpButton *)sender {
45 | self.property.selectIndex = sender.indexOfSelectedItem;
46 | [[NSNotificationCenter defaultCenter] postNotificationName:NOTI_CLASS_PROPERTY_EDIT object:self.property.propertyName];
47 | }
48 |
49 | @end
50 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyStringCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyStringCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZPropertyStringCell : NSCollectionViewItem
12 |
13 | @property (nonatomic, strong) ZZProperty *property;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyStringCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyStringCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/5.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZPropertyStringCell.h"
10 |
11 | @interface ZZPropertyStringCell ()
12 |
13 | @property (weak) IBOutlet NSTextField *titleLabel;
14 | @property (weak) IBOutlet NSTextField *valuteTextFiled;
15 |
16 | @end
17 |
18 | @implementation ZZPropertyStringCell
19 |
20 | - (void)viewDidLoad {
21 | [super viewDidLoad];
22 | [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
23 | make.left.mas_equalTo(15);
24 | make.centerY.mas_equalTo(0);
25 | make.width.mas_equalTo(100);
26 | }];
27 | [self.valuteTextFiled mas_makeConstraints:^(MASConstraintMaker *make) {
28 | make.left.mas_equalTo(self.titleLabel.mas_right).mas_offset(5);
29 | make.centerY.mas_equalTo(self.titleLabel);
30 | make.height.mas_equalTo(23);
31 | make.right.mas_equalTo(-10);
32 | }];
33 | }
34 |
35 | - (void)setProperty:(ZZProperty *)property
36 | {
37 | _property = property;
38 | [self.titleLabel setStringValue:[property.propertyName stringByAppendingString:@":"]];
39 | [self.valuteTextFiled setStringValue:property.value];
40 | [self.valuteTextFiled setPlaceholderString:property.placeholder];
41 | }
42 |
43 | #pragma mark - # NSTextFieldDelegate
44 | - (void)controlTextDidEndEditing:(NSNotification *)obj
45 | {
46 | NSString *value = [obj.object stringValue];
47 | self.property.value = value;
48 | [[NSNotificationCenter defaultCenter] postNotificationName:NOTI_CLASS_PROPERTY_EDIT object:self.property.propertyName];
49 | }
50 |
51 | @end
52 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyXYCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyXYCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/6.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertyXYCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/PropertyCell/ZZPropertyXYWHCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyXYWHCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/6.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZProperty.h"
11 |
12 | @interface ZZPropertyXYWHCell : NSCollectionViewItem
13 |
14 | @property (nonatomic, strong) ZZProperty *property;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyEditViewController/ZZPropertyViews/SectionHeader/ZZPropertySectionHeaderView.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertySectionHeaderView.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/1.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZPropertySectionModel.h"
11 |
12 | @protocol ZZPropertySectionHeaderViewDelegate
13 |
14 | - (void)didClickedPropertySectionHeaderView:(ZZPropertySectionModel *)model;
15 |
16 | @end
17 |
18 | @interface ZZPropertySectionHeaderView : NSView
19 |
20 | @property (nonatomic, strong) ZZPropertySectionModel *model;
21 |
22 | @property (nonatomic, weak) id delegate;
23 |
24 | @property (nonatomic, assign) BOOL showBottomLine;
25 |
26 | @end
27 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZPropertyAreaViewController/ZZPropertyLayoutViewController/ZZPropertyLayoutViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPropertyLayoutViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/12.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZUIView.h"
11 |
12 | @interface ZZPropertyLayoutViewController : NSViewController
13 |
14 | @property (nonatomic, strong) ZZUIView *object;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorCodeModuleCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorCodeModuleCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/10.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZCreatorCodeBlock.h"
11 |
12 | @interface ZZCreatorCodeModuleCell : NSTableCellView
13 |
14 | @property (nonatomic, strong) ZZCreatorCodeBlock *model;
15 |
16 | @end
17 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorCodeModuleCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorCodeModuleCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/10.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZCreatorCodeModuleCell.h"
10 |
11 | @interface ZZCreatorCodeModuleCell ()
12 |
13 | @property (weak) IBOutlet NSTextField *titleLabel;
14 | @property (weak) IBOutlet NSTextField *desLabel;
15 |
16 | @end
17 |
18 | @implementation ZZCreatorCodeModuleCell
19 |
20 | - (void)setModel:(ZZCreatorCodeBlock *)model
21 | {
22 | _model = model;
23 | [self.titleLabel setStringValue:model.blockName];
24 | [self.desLabel setStringValue:model.remarks ? model.remarks : @""];
25 | }
26 |
27 | @end
28 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorSelectorCell.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorSelectorCell.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/10.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 | #import "ZZCreatorModel.h"
11 |
12 | @interface ZZCreatorSelectorCell : NSTableCellView
13 |
14 | @property (nonatomic, strong) ZZCreatorModel *model;
15 |
16 | @property (nonatomic, assign) BOOL isDefault;
17 |
18 | @end
19 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorSelectorCell.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorSelectorCell.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/10.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZCreatorSelectorCell.h"
10 |
11 | @interface ZZCreatorSelectorCell ()
12 |
13 | @property (weak) IBOutlet NSTextField *titleLabel;
14 | @property (weak) IBOutlet NSTextField *defaultLabel;
15 | @property (weak) IBOutlet NSTextField *desLabel;
16 |
17 | @end
18 |
19 | @implementation ZZCreatorSelectorCell
20 |
21 | - (void)setModel:(ZZCreatorModel *)model
22 | {
23 | [self.titleLabel setStringValue:model.name];
24 | [self.desLabel setStringValue:model.des];
25 | }
26 |
27 | - (void)setIsDefault:(BOOL)isDefault
28 | {
29 | [self.defaultLabel setHidden:!isDefault];
30 | }
31 |
32 | @end
33 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorSelectorViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorSelectorViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/9.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZCreatorSelectorViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZCodeCreatorSettingViewController/ZZCreatorSettingViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZCreatorSettingViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/9.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZCreatorSettingViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZColorSettingViewController/ZZColorSettingViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZColorSettingViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/8.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZColorSettingViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZColorSettingViewController/ZZSettingItemsAddViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZSettingItemsAddViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/9.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZSettingItemsAddViewController : NSViewController
12 |
13 | @property (nonatomic, copy) void (^okButtonClickAction)(NSArray *data);
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZFontSettingViewController/ZZFontSettingViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZFontSettingViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/8.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZFontSettingViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZGeneralSettingViewController/ZZGeneralSettingViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZGeneralSettingViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZGeneralSettingViewController : NSViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZSettingViewController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZSettingViewController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/9.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZSettingViewController : NSTabViewController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZSettingViewController/ZZSettingViewController.m:
--------------------------------------------------------------------------------
1 | //
2 | // ZZSettingViewController.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/3/9.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import "ZZSettingViewController.h"
10 | #import
11 |
12 | @interface ZZSettingViewController ()
13 |
14 | @end
15 |
16 | @implementation ZZSettingViewController
17 |
18 | - (void)viewDidLoad {
19 | [super viewDidLoad];
20 |
21 | MGSFragariaFontsAndColoursPrefsViewController *fontAndColorsVC = [[MGSFragariaFontsAndColoursPrefsViewController alloc] init];
22 | NSTabViewItem *fontAndColorTabViewItem = [[NSTabViewItem alloc] initWithIdentifier:@"fontAndColorTabViewItem"];
23 | [fontAndColorTabViewItem setLabel:@"CodeArea"];
24 | [fontAndColorTabViewItem setView:fontAndColorsVC.view];
25 | [fontAndColorTabViewItem setViewController:fontAndColorsVC];
26 | [self insertTabViewItem:fontAndColorTabViewItem atIndex:1];
27 |
28 | MGSFragariaTextEditingPrefsViewController *editingVC = [[MGSFragariaTextEditingPrefsViewController alloc] init];
29 | NSTabViewItem *editingTabViewItem = [[NSTabViewItem alloc] initWithIdentifier:@"editingTabViewItem"];
30 | [editingTabViewItem setLabel:@"Editing"];
31 | [editingTabViewItem setView:editingVC.view];
32 | [editingTabViewItem setViewController:editingVC];
33 | [self insertTabViewItem:editingTabViewItem atIndex:2];
34 |
35 | [self setSelectedTabViewItemIndex:0];
36 | }
37 |
38 | @end
39 |
--------------------------------------------------------------------------------
/ZZUIHelper/Modules/ZZWindowController/ZZWindowController.h:
--------------------------------------------------------------------------------
1 | //
2 | // ZZWindowController.h
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/20.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface ZZWindowController : NSWindowController
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIActivityIndicatorView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIActivityIndicatorView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIBarButtonItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIBarButtonItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIBarButtonItemFixedSpace.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIBarButtonItemFixedSpace.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIBarButtonItemFlexibleSpace.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIBarButtonItemFlexibleSpace.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIButton.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIButton.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UICollectionView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UICollectionView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UICollectionViewCell.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UICollectionViewCell.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UICollectionViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UICollectionViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIContainerView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIContainerView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIImageView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIImageView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UILabel.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UILabel.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UINavigationBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UINavigationBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UINavigationController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UINavigationController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UINavigationItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UINavigationItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIPageControl.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIPageControl.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIPageViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIPageViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIPickerView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIPickerView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIProgressView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIProgressView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIScrollView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIScrollView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UISearchBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UISearchBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UISegmentedControl.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UISegmentedControl.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UISlider.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UISlider.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIStepper.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIStepper.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UISwitch.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UISwitch.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITabBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITabBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITabBarController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITabBarController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITabBarItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITabBarItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITableView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITableView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITableViewCell.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITableViewCell.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITableViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITableViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITextField.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITextField.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UITextView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UITextView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Controls/UIWebView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Controls/UIWebView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "16x16",
5 | "idiom" : "mac",
6 | "filename" : "hammer-9.png",
7 | "scale" : "1x"
8 | },
9 | {
10 | "size" : "16x16",
11 | "idiom" : "mac",
12 | "filename" : "hammer-8.png",
13 | "scale" : "2x"
14 | },
15 | {
16 | "size" : "32x32",
17 | "idiom" : "mac",
18 | "filename" : "hammer-7.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "32x32",
23 | "idiom" : "mac",
24 | "filename" : "hammer-6.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "128x128",
29 | "idiom" : "mac",
30 | "filename" : "hammer-5.png",
31 | "scale" : "1x"
32 | },
33 | {
34 | "size" : "128x128",
35 | "idiom" : "mac",
36 | "filename" : "hammer-4.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "256x256",
41 | "idiom" : "mac",
42 | "filename" : "hammer-3.png",
43 | "scale" : "1x"
44 | },
45 | {
46 | "size" : "256x256",
47 | "idiom" : "mac",
48 | "filename" : "hammer-2.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "512x512",
53 | "idiom" : "mac",
54 | "filename" : "hammer-1.png",
55 | "scale" : "1x"
56 | },
57 | {
58 | "size" : "512x512",
59 | "idiom" : "mac",
60 | "filename" : "hammer.png",
61 | "scale" : "2x"
62 | }
63 | ],
64 | "info" : {
65 | "version" : 1,
66 | "author" : "xcode"
67 | }
68 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-1.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-2.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-3.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-4.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-5.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-6.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-7.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-8.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer-9.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/AppIcon.appiconset/hammer.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/bar0.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "folded2.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/bar0.imageset/folded2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/bar0.imageset/folded2.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/bar1.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "arrow124.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/bar1.imageset/arrow124.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/bar1.imageset/arrow124.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/close.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "zz_share_close@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "filename" : "zz_share_close@3x.png",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/close.imageset/zz_share_close@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/close.imageset/zz_share_close@2x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/close.imageset/zz_share_close@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/close.imageset/zz_share_close@3x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/download.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "download34.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/download.imageset/download34.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/download.imageset/download34.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_listing.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "list_listing_icon@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "filename" : "list_listing_icon@3x.png",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_listing.imageset/list_listing_icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/list_listing.imageset/list_listing_icon@2x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_listing.imageset/list_listing_icon@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/list_listing.imageset/list_listing_icon@3x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_waterfall.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "list_waterfall_icon@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "filename" : "list_waterfall_icon@3x.png",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_waterfall.imageset/list_waterfall_icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/list_waterfall.imageset/list_waterfall_icon@2x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/list_waterfall.imageset/list_waterfall_icon@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/list_waterfall.imageset/list_waterfall_icon@3x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/plus.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "plus15.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/plus.imageset/plus15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/plus.imageset/plus15.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/rotating.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "rotating3.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/rotating.imageset/rotating3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/rotating.imageset/rotating3.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_deselected.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "zz_search_triangle_icon@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "filename" : "zz_search_triangle_icon@3x.png",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_deselected.imageset/zz_search_triangle_icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/section_deselected.imageset/zz_search_triangle_icon@2x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_deselected.imageset/zz_search_triangle_icon@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/section_deselected.imageset/zz_search_triangle_icon@3x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_selected.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "zz_search_triangle_icon@2x.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "filename" : "zz_search_triangle_icon@3x.png",
15 | "scale" : "3x"
16 | }
17 | ],
18 | "info" : {
19 | "version" : 1,
20 | "author" : "xcode"
21 | }
22 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_selected.imageset/zz_search_triangle_icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/section_selected.imageset/zz_search_triangle_icon@2x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/section_selected.imageset/zz_search_triangle_icon@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/section_selected.imageset/zz_search_triangle_icon@3x.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/setting.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "scale" : "1x"
6 | },
7 | {
8 | "idiom" : "universal",
9 | "filename" : "gear5.png",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/setting.imageset/gear5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/setting.imageset/gear5.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/star.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "star16.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "scale" : "2x"
11 | },
12 | {
13 | "idiom" : "universal",
14 | "scale" : "3x"
15 | }
16 | ],
17 | "info" : {
18 | "version" : 1,
19 | "author" : "xcode"
20 | }
21 | }
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Assets.xcassets/star.imageset/star16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Assets.xcassets/star.imageset/star16.png
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIActivityIndicatorView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIActivityIndicatorView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIBarButtonItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIBarButtonItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIBarButtonItemFixedSpace.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIBarButtonItemFixedSpace.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIBarButtonItemFlexibleSpace.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIBarButtonItemFlexibleSpace.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIButton.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIButton.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UICollectionView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UICollectionView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UICollectionViewCell.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UICollectionViewCell.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UICollectionViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UICollectionViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIContainerView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIContainerView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIImageView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIImageView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UILabel.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UILabel.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UINavigationBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UINavigationBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UINavigationController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UINavigationController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UINavigationItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UINavigationItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIPageControl.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIPageControl.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIPageViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIPageViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIPickerView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIPickerView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIProgressView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIProgressView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIScrollView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIScrollView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UISearchBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UISearchBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UISegmentedControl.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UISegmentedControl.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UISlider.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UISlider.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIStepper.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIStepper.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UISwitch.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UISwitch.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITabBar.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITabBar.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITabBarController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITabBarController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITabBarItem.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITabBarItem.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITableView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITableView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITableViewCell.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITableViewCell.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITableViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITableViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITextField.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITextField.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UITextView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UITextView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIViewController.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIViewController.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/Resources/Images/Controls/UIWebView.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tbl00c/ZZUIHelper/7e8f45de1b42b7d82bd67db3d2a3ebb0baefe9e5/ZZUIHelper/Resources/Images/Controls/UIWebView.tiff
--------------------------------------------------------------------------------
/ZZUIHelper/ZZPrefixHeader.pch:
--------------------------------------------------------------------------------
1 | //
2 | // ZZPrefixHeader.pch
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/19.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #ifndef ZZPrefixHeader_pch
10 | #define ZZPrefixHeader_pch
11 |
12 | #import "ZZMacros.h"
13 | #import "ZZNotificationKey.h"
14 | #import "ZZUIHelperConfig.h"
15 | #import "ZZClassHelper.h"
16 | #import "ZZUtility.h"
17 | #import "ZZCreatorManager.h"
18 |
19 | #import "Masonry.h"
20 |
21 | #import "NSString+MMBJ.h"
22 |
23 | #endif /* ZZPrefixHeader_pch */
24 |
--------------------------------------------------------------------------------
/ZZUIHelper/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // ZZUIHelper
4 | //
5 | // Created by 李伯坤 on 2017/2/16.
6 | // Copyright © 2017年 李伯坤. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | int main(int argc, const char * argv[]) {
12 | return NSApplicationMain(argc, argv);
13 | }
14 |
--------------------------------------------------------------------------------