├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Doc ├── FlexXml.xctemplate.zip ├── example1.png ├── example2.png ├── example3.png ├── example4.png ├── hotpreview2.gif ├── layout.htm ├── layout.pdf ├── layoutattr.files │ ├── filelist.xml │ └── themedata.xml ├── layoutattr.htm ├── md │ ├── architecture.md │ ├── flexlib.md │ ├── hybrid.md │ ├── layout.md │ └── viewattr.md ├── modelview.gif ├── res │ ├── FlexChecker │ ├── FlexCompiler_350 │ ├── FlexCompiler_400 │ ├── HelloWord.png │ ├── archishot.png │ ├── atobjc.png │ ├── effect-horz.png │ ├── effect-vert.png │ ├── flexbox1.png │ ├── flexbox2.png │ ├── flexdemo.gif │ ├── github_todaytrend.png │ ├── github_weektrend.png │ ├── intellisense.gif │ ├── iphonex.png │ ├── podfile.png │ ├── qqqun.png │ ├── styledemo.png │ ├── tabelcell_class.png │ ├── tabelcell_class2.png │ ├── tabelcell_class3.png │ ├── viewcontroller.png │ ├── viewcontroller_class.png │ ├── viewcontroller_class2.png │ ├── viewtree.png │ ├── vscode-xml.json │ └── xmldemo.png ├── scrollview.gif ├── tableview.gif ├── textview.gif ├── view.htm ├── view.pdf ├── viewattr.files │ ├── filelist.xml │ └── themedata.xml ├── viewattr.htm └── xcode_new.png ├── Example_oc ├── FlexLib.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── FlexLib-Example.xcscheme ├── FlexLib.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── FlexLib │ ├── AttachmentView.h │ ├── AttachmentView.m │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── ControlsVC.h │ ├── ControlsVC.m │ ├── DemoFlexVC.h │ ├── DemoFlexVC.m │ ├── FlexAppDelegate.h │ ├── FlexAppDelegate.m │ ├── FlexLib-Info.plist │ ├── FlexLib-Prefix.pch │ ├── FlexViewController.h │ ├── FlexViewController.m │ ├── FrameVC.h │ ├── FrameVC.m │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── PopScrollView.h │ ├── PopScrollView.m │ ├── PopScrollView.xml │ ├── TestCollectionCell.h │ ├── TestCollectionCell.m │ ├── TestCollectionViewVC.h │ ├── TestCollectionViewVC.m │ ├── TestFrameView.h │ ├── TestFrameView.m │ ├── TestLoginVC.h │ ├── TestLoginVC.m │ ├── TestModalVC.h │ ├── TestModalVC.m │ ├── TestScrollVC.h │ ├── TestScrollVC.m │ ├── TestTableCell.h │ ├── TestTableCell.m │ ├── TestTableVC.h │ ├── TestTableVC.m │ ├── TestVC.h │ ├── TestVC.m │ ├── TestXmlView.h │ ├── TestXmlView.m │ ├── TextViewVC.h │ ├── TextViewVC.m │ ├── en.lproj │ │ ├── InfoPlist.strings │ │ └── Localizable.strings │ ├── main.m │ ├── res │ │ ├── AttachmentView.xml │ │ ├── BinaryCell.flex │ │ ├── ControlsVC.xml │ │ ├── FlexViewController.xml │ │ ├── FrameVC.xml │ │ ├── PopScrollView.xml │ │ ├── TableHeader.xml │ │ ├── TestCollectionCell.xml │ │ ├── TestCollectionViewVC.xml │ │ ├── TestFrameView.xml │ │ ├── TestLoginVC.xml │ │ ├── TestModalVC.xml │ │ ├── TestScrollVC.xml │ │ ├── TestTableCell.xml │ │ ├── TestTableVC.xml │ │ ├── TestXmlView.xml │ │ ├── TextViewVC.xml │ │ ├── addnewtype@2x.png │ │ ├── alignItems.xml │ │ ├── arrow_right@2x.png │ │ ├── batchcheck@2x.png │ │ ├── example1.jpg │ │ ├── justifyContent.xml │ │ ├── qrcode.png │ │ ├── return@2x.png │ │ ├── select@2x.png │ │ ├── splash.png │ │ ├── system.style │ │ └── test.xml │ └── zh-Hans.lproj │ │ ├── InfoPlist.strings │ │ ├── LaunchScreen.strings │ │ └── Localizable.strings ├── Podfile ├── Podfile.lock ├── Pods │ ├── Expecta │ │ ├── Expecta │ │ │ ├── EXPBlockDefinedMatcher.h │ │ │ ├── EXPBlockDefinedMatcher.m │ │ │ ├── EXPDefines.h │ │ │ ├── EXPDoubleTuple.h │ │ │ ├── EXPDoubleTuple.m │ │ │ ├── EXPExpect.h │ │ │ ├── EXPExpect.m │ │ │ ├── EXPFloatTuple.h │ │ │ ├── EXPFloatTuple.m │ │ │ ├── EXPMatcher.h │ │ │ ├── EXPUnsupportedObject.h │ │ │ ├── EXPUnsupportedObject.m │ │ │ ├── Expecta.h │ │ │ ├── ExpectaObject.h │ │ │ ├── ExpectaObject.m │ │ │ ├── ExpectaSupport.h │ │ │ ├── ExpectaSupport.m │ │ │ ├── Matchers │ │ │ │ ├── EXPMatcherHelpers.h │ │ │ │ ├── EXPMatcherHelpers.m │ │ │ │ ├── EXPMatchers+beCloseTo.h │ │ │ │ ├── EXPMatchers+beCloseTo.m │ │ │ │ ├── EXPMatchers+beFalsy.h │ │ │ │ ├── EXPMatchers+beFalsy.m │ │ │ │ ├── EXPMatchers+beGreaterThan.h │ │ │ │ ├── EXPMatchers+beGreaterThan.m │ │ │ │ ├── EXPMatchers+beGreaterThanOrEqualTo.h │ │ │ │ ├── EXPMatchers+beGreaterThanOrEqualTo.m │ │ │ │ ├── EXPMatchers+beIdenticalTo.h │ │ │ │ ├── EXPMatchers+beIdenticalTo.m │ │ │ │ ├── EXPMatchers+beInTheRangeOf.h │ │ │ │ ├── EXPMatchers+beInTheRangeOf.m │ │ │ │ ├── EXPMatchers+beInstanceOf.h │ │ │ │ ├── EXPMatchers+beInstanceOf.m │ │ │ │ ├── EXPMatchers+beKindOf.h │ │ │ │ ├── EXPMatchers+beKindOf.m │ │ │ │ ├── EXPMatchers+beLessThan.h │ │ │ │ ├── EXPMatchers+beLessThan.m │ │ │ │ ├── EXPMatchers+beLessThanOrEqualTo.h │ │ │ │ ├── EXPMatchers+beLessThanOrEqualTo.m │ │ │ │ ├── EXPMatchers+beNil.h │ │ │ │ ├── EXPMatchers+beNil.m │ │ │ │ ├── EXPMatchers+beSubclassOf.h │ │ │ │ ├── EXPMatchers+beSubclassOf.m │ │ │ │ ├── EXPMatchers+beSupersetOf.h │ │ │ │ ├── EXPMatchers+beSupersetOf.m │ │ │ │ ├── EXPMatchers+beTruthy.h │ │ │ │ ├── EXPMatchers+beTruthy.m │ │ │ │ ├── EXPMatchers+beginWith.h │ │ │ │ ├── EXPMatchers+beginWith.m │ │ │ │ ├── EXPMatchers+conformTo.h │ │ │ │ ├── EXPMatchers+conformTo.m │ │ │ │ ├── EXPMatchers+contain.h │ │ │ │ ├── EXPMatchers+contain.m │ │ │ │ ├── EXPMatchers+endWith.h │ │ │ │ ├── EXPMatchers+endWith.m │ │ │ │ ├── EXPMatchers+equal.h │ │ │ │ ├── EXPMatchers+equal.m │ │ │ │ ├── EXPMatchers+haveCountOf.h │ │ │ │ ├── EXPMatchers+haveCountOf.m │ │ │ │ ├── EXPMatchers+match.h │ │ │ │ ├── EXPMatchers+match.m │ │ │ │ ├── EXPMatchers+postNotification.h │ │ │ │ ├── EXPMatchers+postNotification.m │ │ │ │ ├── EXPMatchers+raise.h │ │ │ │ ├── EXPMatchers+raise.m │ │ │ │ ├── EXPMatchers+raiseWithReason.h │ │ │ │ ├── EXPMatchers+raiseWithReason.m │ │ │ │ ├── EXPMatchers+respondTo.h │ │ │ │ ├── EXPMatchers+respondTo.m │ │ │ │ └── EXPMatchers.h │ │ │ ├── NSObject+Expecta.h │ │ │ ├── NSValue+Expecta.h │ │ │ └── NSValue+Expecta.m │ │ ├── LICENSE │ │ └── README.md │ ├── Headers │ │ ├── Private │ │ │ ├── Expecta │ │ │ │ ├── EXPBlockDefinedMatcher.h │ │ │ │ ├── EXPDefines.h │ │ │ │ ├── EXPDoubleTuple.h │ │ │ │ ├── EXPExpect.h │ │ │ │ ├── EXPFloatTuple.h │ │ │ │ ├── EXPMatcher.h │ │ │ │ ├── EXPMatcherHelpers.h │ │ │ │ ├── EXPMatchers+beCloseTo.h │ │ │ │ ├── EXPMatchers+beFalsy.h │ │ │ │ ├── EXPMatchers+beGreaterThan.h │ │ │ │ ├── EXPMatchers+beGreaterThanOrEqualTo.h │ │ │ │ ├── EXPMatchers+beIdenticalTo.h │ │ │ │ ├── EXPMatchers+beInTheRangeOf.h │ │ │ │ ├── EXPMatchers+beInstanceOf.h │ │ │ │ ├── EXPMatchers+beKindOf.h │ │ │ │ ├── EXPMatchers+beLessThan.h │ │ │ │ ├── EXPMatchers+beLessThanOrEqualTo.h │ │ │ │ ├── EXPMatchers+beNil.h │ │ │ │ ├── EXPMatchers+beSubclassOf.h │ │ │ │ ├── EXPMatchers+beSupersetOf.h │ │ │ │ ├── EXPMatchers+beTruthy.h │ │ │ │ ├── EXPMatchers+beginWith.h │ │ │ │ ├── EXPMatchers+conformTo.h │ │ │ │ ├── EXPMatchers+contain.h │ │ │ │ ├── EXPMatchers+endWith.h │ │ │ │ ├── EXPMatchers+equal.h │ │ │ │ ├── EXPMatchers+haveCountOf.h │ │ │ │ ├── EXPMatchers+match.h │ │ │ │ ├── EXPMatchers+postNotification.h │ │ │ │ ├── EXPMatchers+raise.h │ │ │ │ ├── EXPMatchers+raiseWithReason.h │ │ │ │ ├── EXPMatchers+respondTo.h │ │ │ │ ├── EXPMatchers.h │ │ │ │ ├── EXPUnsupportedObject.h │ │ │ │ ├── Expecta.h │ │ │ │ ├── ExpectaObject.h │ │ │ │ ├── ExpectaSupport.h │ │ │ │ ├── NSObject+Expecta.h │ │ │ │ └── NSValue+Expecta.h │ │ │ ├── FlexLib │ │ │ │ ├── BitUtils.h │ │ │ │ ├── CompactValue.h │ │ │ │ ├── FlexBaseTableCell.h │ │ │ │ ├── FlexBaseVC.h │ │ │ │ ├── FlexCollectionCell.h │ │ │ │ ├── FlexCollectionView.h │ │ │ │ ├── FlexContainerView.h │ │ │ │ ├── FlexCustomBaseView.h │ │ │ │ ├── FlexEncode.h │ │ │ │ ├── FlexExpression.h │ │ │ │ ├── FlexFrameView.h │ │ │ │ ├── FlexHttpVC.h │ │ │ │ ├── FlexLayout.h │ │ │ │ ├── FlexLayoutViewerVC.h │ │ │ │ ├── FlexLib.h │ │ │ │ ├── FlexLibPreview.h │ │ │ │ ├── FlexModalView.h │ │ │ │ ├── FlexNode.h │ │ │ │ ├── FlexPreviewUtil.h │ │ │ │ ├── FlexRootView.h │ │ │ │ ├── FlexScrollView.h │ │ │ │ ├── FlexSetPreviewVC.h │ │ │ │ ├── FlexStyleMgr.h │ │ │ │ ├── FlexTableHeaderFooterView.h │ │ │ │ ├── FlexTextView.h │ │ │ │ ├── FlexTouchMaskView.h │ │ │ │ ├── FlexTouchView.h │ │ │ │ ├── FlexUtils.h │ │ │ │ ├── FlexXmlBaseView.h │ │ │ │ ├── GDataXMLNode.h │ │ │ │ ├── UIActivityIndicatorView+Flex.h │ │ │ │ ├── UIButton+Flex.h │ │ │ │ ├── UIControl+Flex.h │ │ │ │ ├── UIDatePicker+Flex.h │ │ │ │ ├── UIImageView+Flex.h │ │ │ │ ├── UILabel+Flex.h │ │ │ │ ├── UIPageControl+Flex.h │ │ │ │ ├── UIPickerView+Flex.h │ │ │ │ ├── UIProgressView+Flex.h │ │ │ │ ├── UIScrollView+Flex.h │ │ │ │ ├── UISearchBar+Flex.h │ │ │ │ ├── UISegmentedControl+Flex.h │ │ │ │ ├── UISlider+Flex.h │ │ │ │ ├── UIStepper+Flex.h │ │ │ │ ├── UISwitch+Flex.h │ │ │ │ ├── UITabBar+Flex.h │ │ │ │ ├── UITextField+Flex.h │ │ │ │ ├── UITextView+Flex.h │ │ │ │ ├── UIToolbar+Flex.h │ │ │ │ ├── UIView+Flex.h │ │ │ │ ├── UIView+Yoga.h │ │ │ │ ├── Utils.h │ │ │ │ ├── YGConfig.h │ │ │ │ ├── YGEnums.h │ │ │ │ ├── YGFloatOptional.h │ │ │ │ ├── YGKLayout+Private.h │ │ │ │ ├── YGKLayout.h │ │ │ │ ├── YGLayout.h │ │ │ │ ├── YGMacros.h │ │ │ │ ├── YGNode.h │ │ │ │ ├── YGNodePrint.h │ │ │ │ ├── YGStyle.h │ │ │ │ ├── YGValue.h │ │ │ │ ├── Yoga-internal.h │ │ │ │ ├── Yoga.h │ │ │ │ ├── event.h │ │ │ │ ├── experiments-inl.h │ │ │ │ ├── experiments.h │ │ │ │ └── log.h │ │ │ └── Specta │ │ │ │ ├── SPTCallSite.h │ │ │ │ ├── SPTCompiledExample.h │ │ │ │ ├── SPTExample.h │ │ │ │ ├── SPTExampleGroup.h │ │ │ │ ├── SPTExcludeGlobalBeforeAfterEach.h │ │ │ │ ├── SPTGlobalBeforeAfterEach.h │ │ │ │ ├── SPTSharedExampleGroups.h │ │ │ │ ├── SPTSpec.h │ │ │ │ ├── SPTTestSuite.h │ │ │ │ ├── Specta.h │ │ │ │ ├── SpectaDSL.h │ │ │ │ ├── SpectaTypes.h │ │ │ │ ├── SpectaUtility.h │ │ │ │ ├── XCTest+Private.h │ │ │ │ └── XCTestCase+Specta.h │ │ └── Public │ │ │ ├── Expecta │ │ │ ├── EXPBlockDefinedMatcher.h │ │ │ ├── EXPDefines.h │ │ │ ├── EXPDoubleTuple.h │ │ │ ├── EXPExpect.h │ │ │ ├── EXPFloatTuple.h │ │ │ ├── EXPMatcher.h │ │ │ ├── EXPMatcherHelpers.h │ │ │ ├── EXPMatchers+beCloseTo.h │ │ │ ├── EXPMatchers+beFalsy.h │ │ │ ├── EXPMatchers+beGreaterThan.h │ │ │ ├── EXPMatchers+beGreaterThanOrEqualTo.h │ │ │ ├── EXPMatchers+beIdenticalTo.h │ │ │ ├── EXPMatchers+beInTheRangeOf.h │ │ │ ├── EXPMatchers+beInstanceOf.h │ │ │ ├── EXPMatchers+beKindOf.h │ │ │ ├── EXPMatchers+beLessThan.h │ │ │ ├── EXPMatchers+beLessThanOrEqualTo.h │ │ │ ├── EXPMatchers+beNil.h │ │ │ ├── EXPMatchers+beSubclassOf.h │ │ │ ├── EXPMatchers+beSupersetOf.h │ │ │ ├── EXPMatchers+beTruthy.h │ │ │ ├── EXPMatchers+beginWith.h │ │ │ ├── EXPMatchers+conformTo.h │ │ │ ├── EXPMatchers+contain.h │ │ │ ├── EXPMatchers+endWith.h │ │ │ ├── EXPMatchers+equal.h │ │ │ ├── EXPMatchers+haveCountOf.h │ │ │ ├── EXPMatchers+match.h │ │ │ ├── EXPMatchers+postNotification.h │ │ │ ├── EXPMatchers+raise.h │ │ │ ├── EXPMatchers+raiseWithReason.h │ │ │ ├── EXPMatchers+respondTo.h │ │ │ ├── EXPMatchers.h │ │ │ ├── EXPUnsupportedObject.h │ │ │ ├── Expecta.h │ │ │ ├── ExpectaObject.h │ │ │ ├── ExpectaSupport.h │ │ │ ├── NSObject+Expecta.h │ │ │ └── NSValue+Expecta.h │ │ │ ├── FlexLib │ │ │ ├── FlexBaseTableCell.h │ │ │ ├── FlexBaseVC.h │ │ │ ├── FlexCollectionCell.h │ │ │ ├── FlexCollectionView.h │ │ │ ├── FlexContainerView.h │ │ │ ├── FlexCustomBaseView.h │ │ │ ├── FlexEncode.h │ │ │ ├── FlexExpression.h │ │ │ ├── FlexFrameView.h │ │ │ ├── FlexHttpVC.h │ │ │ ├── FlexLayout.h │ │ │ ├── FlexLayoutViewerVC.h │ │ │ ├── FlexLib-umbrella.h │ │ │ ├── FlexLib.h │ │ │ ├── FlexLib.modulemap │ │ │ ├── FlexLibPreview.h │ │ │ ├── FlexModalView.h │ │ │ ├── FlexNode.h │ │ │ ├── FlexPreviewUtil.h │ │ │ ├── FlexRootView.h │ │ │ ├── FlexScrollView.h │ │ │ ├── FlexSetPreviewVC.h │ │ │ ├── FlexStyleMgr.h │ │ │ ├── FlexTableHeaderFooterView.h │ │ │ ├── FlexTextView.h │ │ │ ├── FlexTouchMaskView.h │ │ │ ├── FlexTouchView.h │ │ │ ├── FlexUtils.h │ │ │ ├── FlexXmlBaseView.h │ │ │ ├── GDataXMLNode.h │ │ │ ├── UIActivityIndicatorView+Flex.h │ │ │ ├── UIButton+Flex.h │ │ │ ├── UIControl+Flex.h │ │ │ ├── UIDatePicker+Flex.h │ │ │ ├── UIImageView+Flex.h │ │ │ ├── UILabel+Flex.h │ │ │ ├── UIPageControl+Flex.h │ │ │ ├── UIPickerView+Flex.h │ │ │ ├── UIProgressView+Flex.h │ │ │ ├── UIScrollView+Flex.h │ │ │ ├── UISearchBar+Flex.h │ │ │ ├── UISegmentedControl+Flex.h │ │ │ ├── UISlider+Flex.h │ │ │ ├── UIStepper+Flex.h │ │ │ ├── UISwitch+Flex.h │ │ │ ├── UITabBar+Flex.h │ │ │ ├── UITextField+Flex.h │ │ │ ├── UITextView+Flex.h │ │ │ ├── UIToolbar+Flex.h │ │ │ ├── UIView+Flex.h │ │ │ ├── UIView+Yoga.h │ │ │ ├── YGEnums.h │ │ │ ├── YGKLayout+Private.h │ │ │ ├── YGKLayout.h │ │ │ ├── YGMacros.h │ │ │ ├── YGValue.h │ │ │ └── Yoga.h │ │ │ └── Specta │ │ │ ├── SPTCallSite.h │ │ │ ├── SPTCompiledExample.h │ │ │ ├── SPTExample.h │ │ │ ├── SPTExampleGroup.h │ │ │ ├── SPTExcludeGlobalBeforeAfterEach.h │ │ │ ├── SPTGlobalBeforeAfterEach.h │ │ │ ├── SPTSharedExampleGroups.h │ │ │ ├── SPTSpec.h │ │ │ ├── SPTTestSuite.h │ │ │ ├── Specta.h │ │ │ ├── SpectaDSL.h │ │ │ ├── SpectaTypes.h │ │ │ ├── SpectaUtility.h │ │ │ ├── XCTest+Private.h │ │ │ └── XCTestCase+Specta.h │ ├── Local Podspecs │ │ └── FlexLib.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ ├── Specta │ │ ├── LICENSE │ │ ├── README.md │ │ └── Specta │ │ │ └── Specta │ │ │ ├── SPTCallSite.h │ │ │ ├── SPTCallSite.m │ │ │ ├── SPTCompiledExample.h │ │ │ ├── SPTCompiledExample.m │ │ │ ├── SPTExample.h │ │ │ ├── SPTExample.m │ │ │ ├── SPTExampleGroup.h │ │ │ ├── SPTExampleGroup.m │ │ │ ├── SPTExcludeGlobalBeforeAfterEach.h │ │ │ ├── SPTGlobalBeforeAfterEach.h │ │ │ ├── SPTSharedExampleGroups.h │ │ │ ├── SPTSharedExampleGroups.m │ │ │ ├── SPTSpec.h │ │ │ ├── SPTSpec.m │ │ │ ├── SPTTestSuite.h │ │ │ ├── SPTTestSuite.m │ │ │ ├── Specta.h │ │ │ ├── SpectaDSL.h │ │ │ ├── SpectaDSL.m │ │ │ ├── SpectaTypes.h │ │ │ ├── SpectaUtility.h │ │ │ ├── SpectaUtility.m │ │ │ ├── XCTest+Private.h │ │ │ ├── XCTestCase+Specta.h │ │ │ └── XCTestCase+Specta.m │ └── Target Support Files │ │ ├── Expecta │ │ ├── Expecta-dummy.m │ │ ├── Expecta-prefix.pch │ │ ├── Expecta.debug.xcconfig │ │ └── Expecta.release.xcconfig │ │ ├── FlexLib │ │ ├── FlexLib-dummy.m │ │ ├── FlexLib-prefix.pch │ │ ├── FlexLib-umbrella.h │ │ ├── FlexLib.debug.xcconfig │ │ ├── FlexLib.modulemap │ │ ├── FlexLib.release.xcconfig │ │ ├── ResourceBundle-FlexLib-FlexLib-Info.plist │ │ └── ResourceBundle-FlexLibPreview-FlexLib-Info.plist │ │ ├── Pods-FlexLib_Example │ │ ├── Pods-FlexLib_Example-acknowledgements.markdown │ │ ├── Pods-FlexLib_Example-acknowledgements.plist │ │ ├── Pods-FlexLib_Example-dummy.m │ │ ├── Pods-FlexLib_Example-resources.sh │ │ ├── Pods-FlexLib_Example.debug.xcconfig │ │ └── Pods-FlexLib_Example.release.xcconfig │ │ ├── Pods-FlexLib_Tests │ │ ├── Pods-FlexLib_Tests-acknowledgements.markdown │ │ ├── Pods-FlexLib_Tests-acknowledgements.plist │ │ ├── Pods-FlexLib_Tests-dummy.m │ │ ├── Pods-FlexLib_Tests.debug.xcconfig │ │ └── Pods-FlexLib_Tests.release.xcconfig │ │ └── Specta │ │ ├── Specta-dummy.m │ │ ├── Specta-prefix.pch │ │ ├── Specta.debug.xcconfig │ │ └── Specta.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ ├── en.lproj │ └── InfoPlist.strings │ └── zh-Hans.lproj │ └── InfoPlist.strings ├── Example_osx ├── FlexOsxDemo.xcodeproj │ └── project.pbxproj ├── FlexOsxDemo.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── FlexOsxDemo │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── FlexExtensions.m │ ├── FlexOsxDemo.entitlements │ ├── FlexXmlView.h │ ├── FlexXmlView.m │ ├── Info.plist │ ├── ViewController.h │ ├── ViewController.m │ ├── ViewController.xml │ ├── main.m │ └── res │ │ ├── chat_phone@2x.png │ │ └── chat_phone@3x.png ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ ├── Private │ │ │ ├── FlexLibOsx │ │ │ │ ├── FlexBaseVC.h │ │ │ │ ├── FlexContainerView.h │ │ │ │ ├── FlexCustomBaseView.h │ │ │ │ ├── FlexFrameView.h │ │ │ │ ├── FlexLib.h │ │ │ │ ├── FlexNode.h │ │ │ │ ├── FlexRootView.h │ │ │ │ ├── FlexScrollView.h │ │ │ │ ├── FlexStyleMgr.h │ │ │ │ ├── FlexTextView.h │ │ │ │ ├── FlexTouchMaskView.h │ │ │ │ ├── FlexTouchView.h │ │ │ │ ├── FlexUtils.h │ │ │ │ ├── FlexXmlBaseView.h │ │ │ │ ├── GDataXMLNode.h │ │ │ │ ├── NSButton+Flex.h │ │ │ │ ├── NSControl+Flex.h │ │ │ │ ├── NSDatePicker+Flex.h │ │ │ │ ├── NSImageView+Flex.h │ │ │ │ ├── NSScrollView+Flex.h │ │ │ │ ├── NSSlider+Flex.h │ │ │ │ ├── NSStepper+Flex.h │ │ │ │ ├── NSTextField+Flex.h │ │ │ │ ├── NSTextView+Flex.h │ │ │ │ ├── NSView+Flex.h │ │ │ │ ├── NSView+Yoga.h │ │ │ │ ├── UIImageView.h │ │ │ │ ├── UILabel.h │ │ │ │ ├── UIView.h │ │ │ │ ├── YGLayout+Private.h │ │ │ │ └── YGLayout.h │ │ │ └── Yoga │ │ │ │ ├── CompactValue.h │ │ │ │ ├── Utils.h │ │ │ │ ├── YGConfig.h │ │ │ │ ├── YGEnums.h │ │ │ │ ├── YGFloatOptional.h │ │ │ │ ├── YGLayout.h │ │ │ │ ├── YGMacros.h │ │ │ │ ├── YGMarker.h │ │ │ │ ├── YGNode.h │ │ │ │ ├── YGNodePrint.h │ │ │ │ ├── YGStyle.h │ │ │ │ ├── YGValue.h │ │ │ │ ├── Yoga-internal.h │ │ │ │ ├── Yoga.h │ │ │ │ ├── instrumentation.h │ │ │ │ └── log.h │ │ └── Public │ │ │ ├── FlexLibOsx │ │ │ ├── FlexBaseVC.h │ │ │ ├── FlexContainerView.h │ │ │ ├── FlexCustomBaseView.h │ │ │ ├── FlexFrameView.h │ │ │ ├── FlexLib.h │ │ │ ├── FlexNode.h │ │ │ ├── FlexRootView.h │ │ │ ├── FlexScrollView.h │ │ │ ├── FlexStyleMgr.h │ │ │ ├── FlexTextView.h │ │ │ ├── FlexTouchMaskView.h │ │ │ ├── FlexTouchView.h │ │ │ ├── FlexUtils.h │ │ │ ├── FlexXmlBaseView.h │ │ │ ├── GDataXMLNode.h │ │ │ ├── NSButton+Flex.h │ │ │ ├── NSControl+Flex.h │ │ │ ├── NSDatePicker+Flex.h │ │ │ ├── NSImageView+Flex.h │ │ │ ├── NSScrollView+Flex.h │ │ │ ├── NSSlider+Flex.h │ │ │ ├── NSStepper+Flex.h │ │ │ ├── NSTextField+Flex.h │ │ │ ├── NSTextView+Flex.h │ │ │ ├── NSView+Flex.h │ │ │ ├── NSView+Yoga.h │ │ │ ├── UIImageView.h │ │ │ ├── UILabel.h │ │ │ ├── UIView.h │ │ │ ├── YGLayout+Private.h │ │ │ └── YGLayout.h │ │ │ └── Yoga │ │ │ ├── YGEnums.h │ │ │ ├── YGMacros.h │ │ │ ├── YGValue.h │ │ │ ├── Yoga-umbrella.h │ │ │ ├── Yoga.h │ │ │ └── Yoga.modulemap │ ├── Local Podspecs │ │ ├── FlexLib.podspec.json │ │ └── FlexLibOsx.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ ├── Target Support Files │ │ ├── FlexLibOsx │ │ │ ├── FlexLibOsx-dummy.m │ │ │ ├── FlexLibOsx-prefix.pch │ │ │ ├── FlexLibOsx.debug.xcconfig │ │ │ ├── FlexLibOsx.release.xcconfig │ │ │ └── ResourceBundle-FlexLib-FlexLibOsx-Info.plist │ │ ├── Pods-FlexOsxDemo │ │ │ ├── Pods-FlexOsxDemo-acknowledgements.markdown │ │ │ ├── Pods-FlexOsxDemo-acknowledgements.plist │ │ │ ├── Pods-FlexOsxDemo-dummy.m │ │ │ ├── Pods-FlexOsxDemo-resources-Debug-input-files.xcfilelist │ │ │ ├── Pods-FlexOsxDemo-resources-Debug-output-files.xcfilelist │ │ │ ├── Pods-FlexOsxDemo-resources-Release-input-files.xcfilelist │ │ │ ├── Pods-FlexOsxDemo-resources-Release-output-files.xcfilelist │ │ │ ├── Pods-FlexOsxDemo-resources.sh │ │ │ ├── Pods-FlexOsxDemo.debug.xcconfig │ │ │ └── Pods-FlexOsxDemo.release.xcconfig │ │ └── Yoga │ │ │ ├── Yoga-dummy.m │ │ │ ├── Yoga-prefix.pch │ │ │ ├── Yoga-umbrella.h │ │ │ ├── Yoga.debug.xcconfig │ │ │ ├── Yoga.modulemap │ │ │ └── Yoga.release.xcconfig │ └── Yoga │ │ ├── LICENSE │ │ ├── LICENSE-examples │ │ ├── README.md │ │ └── yoga │ │ ├── CompactValue.h │ │ ├── Utils.cpp │ │ ├── Utils.h │ │ ├── YGConfig.cpp │ │ ├── YGConfig.h │ │ ├── YGEnums.cpp │ │ ├── YGEnums.h │ │ ├── YGFloatOptional.h │ │ ├── YGLayout.cpp │ │ ├── YGLayout.h │ │ ├── YGMacros.h │ │ ├── YGMarker.cpp │ │ ├── YGMarker.h │ │ ├── YGNode.cpp │ │ ├── YGNode.h │ │ ├── YGNodePrint.cpp │ │ ├── YGNodePrint.h │ │ ├── YGStyle.cpp │ │ ├── YGStyle.h │ │ ├── YGValue.cpp │ │ ├── YGValue.h │ │ ├── Yoga-internal.h │ │ ├── Yoga.cpp │ │ ├── Yoga.h │ │ ├── instrumentation.h │ │ ├── log.cpp │ │ └── log.h └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ ├── en.lproj │ └── InfoPlist.strings │ └── zh-Hans.lproj │ └── InfoPlist.strings ├── Example_swift ├── FlexSwiftDemo.xcodeproj │ ├── project.pbxproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── FlexSwiftDemo.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── FlexSwiftDemo │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AttachmentView.swift │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── Controls.swift │ ├── FrameVC.swift │ ├── Info.plist │ ├── TestFrameView.swift │ ├── TestJustifycontentVC.swift │ ├── TestModalVC.swift │ ├── TestScrollVC.swift │ ├── TestTableCell.swift │ ├── TestTableVC.swift │ ├── TestTextviewVC.swift │ ├── TestTouchVC.swift │ ├── TestVC.swift │ ├── TestXmlView.swift │ ├── ViewController.swift │ ├── en.lproj │ │ └── Localizable.strings │ ├── res │ │ ├── AttachmentView.xml │ │ ├── Controls.xml │ │ ├── FrameVC.xml │ │ ├── TableHeader.xml │ │ ├── TestFrameView.xml │ │ ├── TestModalVC.xml │ │ ├── TestScrollVC.xml │ │ ├── TestTableCell.xml │ │ ├── TestTableVC.xml │ │ ├── TestTouchVC.xml │ │ ├── TestXmlView.xml │ │ ├── TextViewVC.xml │ │ ├── ViewController.xml │ │ ├── addnewtype@2x.png │ │ ├── alignItems.xml │ │ ├── arrow_right@2x.png │ │ ├── batchcheck@2x.png │ │ ├── example1.jpg │ │ ├── justifyContent.xml │ │ ├── qrcode.png │ │ ├── return@2x.png │ │ ├── select@2x.png │ │ ├── splash.png │ │ ├── system.style │ │ └── test.xml │ └── zh-Hans.lproj │ │ ├── LaunchScreen.strings │ │ └── Localizable.strings ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── FlexLib.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ ├── Target Support Files │ │ ├── FlexLib │ │ │ ├── FlexLib-Info.plist │ │ │ ├── FlexLib-dummy.m │ │ │ ├── FlexLib-prefix.pch │ │ │ ├── FlexLib-umbrella.h │ │ │ ├── FlexLib.debug.xcconfig │ │ │ ├── FlexLib.modulemap │ │ │ ├── FlexLib.release.xcconfig │ │ │ ├── FlexLib.xcconfig │ │ │ ├── ResourceBundle-FlexLib-FlexLib-Info.plist │ │ │ └── ResourceBundle-FlexLibPreview-FlexLib-Info.plist │ │ ├── Pods-FlexSwiftDemo │ │ │ ├── Info.plist │ │ │ ├── Pods-FlexSwiftDemo-Info.plist │ │ │ ├── Pods-FlexSwiftDemo-acknowledgements.markdown │ │ │ ├── Pods-FlexSwiftDemo-acknowledgements.plist │ │ │ ├── Pods-FlexSwiftDemo-dummy.m │ │ │ ├── Pods-FlexSwiftDemo-frameworks.sh │ │ │ ├── Pods-FlexSwiftDemo-resources.sh │ │ │ ├── Pods-FlexSwiftDemo-umbrella.h │ │ │ ├── Pods-FlexSwiftDemo.debug.xcconfig │ │ │ ├── Pods-FlexSwiftDemo.modulemap │ │ │ └── Pods-FlexSwiftDemo.release.xcconfig │ │ └── Yoga │ │ │ ├── Yoga-Info.plist │ │ │ ├── Yoga-dummy.m │ │ │ ├── Yoga-prefix.pch │ │ │ ├── Yoga-umbrella.h │ │ │ ├── Yoga.debug.xcconfig │ │ │ ├── Yoga.modulemap │ │ │ ├── Yoga.release.xcconfig │ │ │ └── Yoga.xcconfig │ └── Yoga │ │ ├── LICENSE │ │ ├── LICENSE-examples │ │ ├── README.md │ │ └── yoga │ │ ├── CompactValue.h │ │ ├── Utils.cpp │ │ ├── Utils.h │ │ ├── YGConfig.cpp │ │ ├── YGConfig.h │ │ ├── YGEnums.cpp │ │ ├── YGEnums.h │ │ ├── YGFloatOptional.h │ │ ├── YGLayout.cpp │ │ ├── YGLayout.h │ │ ├── YGMacros.h │ │ ├── YGMarker.cpp │ │ ├── YGMarker.h │ │ ├── YGNode.cpp │ │ ├── YGNode.h │ │ ├── YGNodePrint.cpp │ │ ├── YGNodePrint.h │ │ ├── YGStyle.cpp │ │ ├── YGStyle.h │ │ ├── YGValue.cpp │ │ ├── YGValue.h │ │ ├── Yoga-internal.h │ │ ├── Yoga.cpp │ │ ├── Yoga.h │ │ ├── instrumentation.h │ │ ├── log.cpp │ │ └── log.h └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ ├── en.lproj │ └── InfoPlist.strings │ └── zh-Hans.lproj │ └── InfoPlist.strings ├── FlexLib.podspec ├── FlexLib ├── Assets │ ├── .gitkeep │ ├── Base.lproj │ │ └── Localizable.strings │ └── zh-Hans.lproj │ │ └── Localizable.strings └── Classes │ ├── .gitkeep │ ├── Flexlib │ ├── FlexBaseTableCell.h │ ├── FlexBaseTableCell.m │ ├── FlexBaseVC.h │ ├── FlexBaseVC.m │ ├── FlexCollectionCell.h │ ├── FlexCollectionCell.m │ ├── FlexCollectionView.h │ ├── FlexCollectionView.m │ ├── FlexContainerView.h │ ├── FlexContainerView.m │ ├── FlexCustomBaseView.h │ ├── FlexCustomBaseView.m │ ├── FlexEncode.h │ ├── FlexEncode.m │ ├── FlexExpression.h │ ├── FlexExpression.m │ ├── FlexFrameView.h │ ├── FlexFrameView.m │ ├── FlexLayout.h │ ├── FlexLayout.m │ ├── FlexLib.h │ ├── FlexModalView.h │ ├── FlexModalView.m │ ├── FlexNode.h │ ├── FlexNode.m │ ├── FlexRootView.h │ ├── FlexRootView.m │ ├── FlexScrollView.h │ ├── FlexScrollView.m │ ├── FlexStyleMgr.h │ ├── FlexStyleMgr.m │ ├── FlexTableHeaderFooterView.h │ ├── FlexTableHeaderFooterView.m │ ├── FlexTextView.h │ ├── FlexTextView.m │ ├── FlexTouchMaskView.h │ ├── FlexTouchMaskView.m │ ├── FlexTouchView.h │ ├── FlexTouchView.m │ ├── FlexUtils.h │ ├── FlexUtils.m │ ├── FlexXmlBaseView.h │ ├── FlexXmlBaseView.m │ ├── GDataXMLNode.h │ ├── GDataXMLNode.m │ └── ViewExt │ │ ├── UIActivityIndicatorView+Flex.h │ │ ├── UIActivityIndicatorView+Flex.m │ │ ├── UIButton+Flex.h │ │ ├── UIButton+Flex.m │ │ ├── UIControl+Flex.h │ │ ├── UIControl+Flex.m │ │ ├── UIDatePicker+Flex.h │ │ ├── UIDatePicker+Flex.m │ │ ├── UIImageView+Flex.h │ │ ├── UIImageView+Flex.m │ │ ├── UILabel+Flex.h │ │ ├── UILabel+Flex.m │ │ ├── UIPageControl+Flex.h │ │ ├── UIPageControl+Flex.m │ │ ├── UIPickerView+Flex.h │ │ ├── UIPickerView+Flex.m │ │ ├── UIProgressView+Flex.h │ │ ├── UIProgressView+Flex.m │ │ ├── UIScrollView+Flex.h │ │ ├── UIScrollView+Flex.m │ │ ├── UISearchBar+Flex.h │ │ ├── UISearchBar+Flex.m │ │ ├── UISegmentedControl+Flex.h │ │ ├── UISegmentedControl+Flex.m │ │ ├── UISlider+Flex.h │ │ ├── UISlider+Flex.m │ │ ├── UIStepper+Flex.h │ │ ├── UIStepper+Flex.m │ │ ├── UISwitch+Flex.h │ │ ├── UISwitch+Flex.m │ │ ├── UITabBar+Flex.h │ │ ├── UITabBar+Flex.m │ │ ├── UITextField+Flex.h │ │ ├── UITextField+Flex.m │ │ ├── UITextView+Flex.h │ │ ├── UITextView+Flex.m │ │ ├── UIToolbar+Flex.h │ │ ├── UIToolbar+Flex.m │ │ ├── UIView+Flex.h │ │ └── UIView+Flex.m │ ├── YogaKit │ ├── UIView+Yoga.h │ ├── UIView+Yoga.m │ ├── YGKLayout+Private.h │ ├── YGKLayout.h │ └── YGKLayout.m │ └── yoga │ ├── BitUtils.h │ ├── CompactValue.h │ ├── Utils.cpp │ ├── Utils.h │ ├── YGConfig.cpp │ ├── YGConfig.h │ ├── YGEnums.cpp │ ├── YGEnums.h │ ├── YGFloatOptional.h │ ├── YGLayout.cpp │ ├── YGLayout.h │ ├── YGMacros.h │ ├── YGNode.cpp │ ├── YGNode.h │ ├── YGNodePrint.cpp │ ├── YGNodePrint.h │ ├── YGStyle.cpp │ ├── YGStyle.h │ ├── YGValue.cpp │ ├── YGValue.h │ ├── Yoga-internal.h │ ├── Yoga.cpp │ ├── Yoga.h │ ├── event │ ├── event.cpp │ └── event.h │ ├── internal │ ├── experiments-inl.h │ ├── experiments.cpp │ └── experiments.h │ ├── log.cpp │ └── log.h ├── FlexLibOsx.podspec ├── FlexLibPreview ├── Assets │ ├── .gitkeep │ ├── Base.lproj │ │ └── Localizable.strings │ ├── FlexHttpVC.xml │ ├── FlexLayoutViewerVC.xml │ ├── FlexSetPreviewVC.xml │ └── zh-Hans.lproj │ │ └── Localizable.strings └── Classes │ ├── FlexHttpVC.h │ ├── FlexHttpVC.m │ ├── FlexLayoutViewerVC.h │ ├── FlexLayoutViewerVC.m │ ├── FlexLibPreview.h │ ├── FlexPreviewUtil.h │ ├── FlexPreviewUtil.m │ ├── FlexSetPreviewVC.h │ └── FlexSetPreviewVC.m ├── LICENSE ├── README.md ├── README.zh.md ├── _Pods.xcodeproj └── macosx └── Classes ├── FlexBaseVC.h ├── FlexBaseVC.m ├── FlexContainerView.h ├── FlexContainerView.m ├── FlexCustomBaseView.h ├── FlexCustomBaseView.m ├── FlexFrameView.h ├── FlexFrameView.m ├── FlexLib.h ├── FlexNode.h ├── FlexNode.m ├── FlexRootView.h ├── FlexRootView.m ├── FlexScrollView.h ├── FlexScrollView.m ├── FlexStyleMgr.h ├── FlexStyleMgr.m ├── FlexTextView.h ├── FlexTextView.m ├── FlexTouchMaskView.h ├── FlexTouchMaskView.m ├── FlexTouchView.h ├── FlexTouchView.m ├── FlexUtils.h ├── FlexUtils.m ├── FlexXmlBaseView.h ├── FlexXmlBaseView.m ├── GDataXMLNode.h ├── GDataXMLNode.m ├── UIImageView.h ├── UIImageView.m ├── UILabel.h ├── UILabel.m ├── UITextField.h ├── UITextField.m ├── UIView.h ├── UIView.m ├── ViewExt ├── NSButton+Flex.h ├── NSButton+Flex.m ├── NSControl+Flex.h ├── NSControl+Flex.m ├── NSDatePicker+Flex.h ├── NSDatePicker+Flex.m ├── NSImageView+Flex.h ├── NSImageView+Flex.m ├── NSScrollView+Flex.h ├── NSScrollView+Flex.m ├── NSSlider+Flex.h ├── NSSlider+Flex.m ├── NSStepper+Flex.h ├── NSStepper+Flex.m ├── NSTextField+Flex.h ├── NSTextField+Flex.m ├── NSTextView+Flex.h ├── NSTextView+Flex.m ├── NSView+Flex.h └── NSView+Flex.m └── YogaKit ├── NSView+Yoga.h ├── NSView+Yoga.m ├── YGLayout+Private.h ├── YGLayout.h └── YGLayout.m /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/FlexLib.xcworkspace -scheme FlexLib-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /Doc/FlexXml.xctemplate.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/FlexXml.xctemplate.zip -------------------------------------------------------------------------------- /Doc/example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/example1.png -------------------------------------------------------------------------------- /Doc/example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/example2.png -------------------------------------------------------------------------------- /Doc/example3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/example3.png -------------------------------------------------------------------------------- /Doc/example4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/example4.png -------------------------------------------------------------------------------- /Doc/hotpreview2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/hotpreview2.gif -------------------------------------------------------------------------------- /Doc/layout.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/layout.htm -------------------------------------------------------------------------------- /Doc/layout.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/layout.pdf -------------------------------------------------------------------------------- /Doc/layoutattr.files/filelist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Doc/layoutattr.files/themedata.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/layoutattr.files/themedata.xml -------------------------------------------------------------------------------- /Doc/layoutattr.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/layoutattr.htm -------------------------------------------------------------------------------- /Doc/modelview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/modelview.gif -------------------------------------------------------------------------------- /Doc/res/FlexChecker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/FlexChecker -------------------------------------------------------------------------------- /Doc/res/FlexCompiler_350: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/FlexCompiler_350 -------------------------------------------------------------------------------- /Doc/res/FlexCompiler_400: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/FlexCompiler_400 -------------------------------------------------------------------------------- /Doc/res/HelloWord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/HelloWord.png -------------------------------------------------------------------------------- /Doc/res/archishot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/archishot.png -------------------------------------------------------------------------------- /Doc/res/atobjc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/atobjc.png -------------------------------------------------------------------------------- /Doc/res/effect-horz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/effect-horz.png -------------------------------------------------------------------------------- /Doc/res/effect-vert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/effect-vert.png -------------------------------------------------------------------------------- /Doc/res/flexbox1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/flexbox1.png -------------------------------------------------------------------------------- /Doc/res/flexbox2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/flexbox2.png -------------------------------------------------------------------------------- /Doc/res/flexdemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/flexdemo.gif -------------------------------------------------------------------------------- /Doc/res/github_todaytrend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/github_todaytrend.png -------------------------------------------------------------------------------- /Doc/res/github_weektrend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/github_weektrend.png -------------------------------------------------------------------------------- /Doc/res/intellisense.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/intellisense.gif -------------------------------------------------------------------------------- /Doc/res/iphonex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/iphonex.png -------------------------------------------------------------------------------- /Doc/res/podfile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/podfile.png -------------------------------------------------------------------------------- /Doc/res/qqqun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/qqqun.png -------------------------------------------------------------------------------- /Doc/res/styledemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/styledemo.png -------------------------------------------------------------------------------- /Doc/res/tabelcell_class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/tabelcell_class.png -------------------------------------------------------------------------------- /Doc/res/tabelcell_class2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/tabelcell_class2.png -------------------------------------------------------------------------------- /Doc/res/tabelcell_class3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/tabelcell_class3.png -------------------------------------------------------------------------------- /Doc/res/viewcontroller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/viewcontroller.png -------------------------------------------------------------------------------- /Doc/res/viewcontroller_class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/viewcontroller_class.png -------------------------------------------------------------------------------- /Doc/res/viewcontroller_class2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/viewcontroller_class2.png -------------------------------------------------------------------------------- /Doc/res/viewtree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/viewtree.png -------------------------------------------------------------------------------- /Doc/res/xmldemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/res/xmldemo.png -------------------------------------------------------------------------------- /Doc/scrollview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/scrollview.gif -------------------------------------------------------------------------------- /Doc/tableview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/tableview.gif -------------------------------------------------------------------------------- /Doc/textview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/textview.gif -------------------------------------------------------------------------------- /Doc/view.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/view.htm -------------------------------------------------------------------------------- /Doc/view.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/view.pdf -------------------------------------------------------------------------------- /Doc/viewattr.files/filelist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Doc/viewattr.files/themedata.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/viewattr.files/themedata.xml -------------------------------------------------------------------------------- /Doc/viewattr.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/viewattr.htm -------------------------------------------------------------------------------- /Doc/xcode_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Doc/xcode_new.png -------------------------------------------------------------------------------- /Example_oc/FlexLib.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example_oc/FlexLib.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example_oc/FlexLib.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/AttachmentView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | /* 13 | * AttachmentView演示了如何将xml布局封装成一个控件,然后在 14 | * 另外的xml中使用这个控件。FlexCustomBaseView的两个关键属性是 15 | * flexibleWidth和flexibleHeight,默认值为NO,表示在使用该控件 16 | * 的时候必须设置宽和高,如果设置为YES,表示宽或者高由内容自身决定, 17 | * 则无需设置宽和高 18 | */ 19 | 20 | @interface AttachmentView : FlexCustomBaseView 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/ControlsVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | /* 14 | 这个例子演示了各种系统控件的创建方法,注意ControlsVC中重写了 15 | -(UIView*)createView:(Class)cls Name:(NSString*)name 16 | 这个方法用于控件不支持通过init方法创建时,使用该重载方法来自定义创建控件 17 | */ 18 | 19 | @interface ControlsVC : FlexBaseVC 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/DemoFlexVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | @interface DemoFlexVC : FlexBaseVC 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/DemoFlexVC.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "DemoFlexVC.h" 11 | 12 | @interface DemoFlexVC () 13 | 14 | @end 15 | 16 | @implementation DemoFlexVC 17 | 18 | - (void)viewDidLoad { 19 | [super viewDidLoad]; 20 | 21 | 22 | } 23 | 24 | - (void)didReceiveMemoryWarning { 25 | [super didReceiveMemoryWarning]; 26 | // Dispose of any resources that can be recreated. 27 | } 28 | 29 | 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/FlexAppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | @import UIKit; 13 | 14 | @interface FlexAppDelegate : UIResponder 15 | 16 | @property (strong, nonatomic) UIWindow *window; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/FlexLib-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | 18 | #import 19 | 20 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/FlexViewController.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | @import UIKit; 13 | 14 | @interface FlexViewController : FlexBaseVC 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/FrameVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | /* 13 | 这个例子演示了如何不继承 FlexBaseVC来使用xml布局 14 | */ 15 | @interface FrameVC : UIViewController 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/PopScrollView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | /* 13 | * PopScrollView演示了FlexScrollView的用法,当FlexScrollView的contentSize小于一定 14 | * 高度的时候其高度与contentSize的高度一致,不可滚动,当超过这个值的时候,FlexScrollView的 15 | * 高度为固定值,内容可滚动 16 | */ 17 | 18 | @interface PopScrollView : FlexCustomBaseView 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/PopScrollView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestCollectionCell.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | @interface TestCollectionCell : FlexCollectionCell 14 | 15 | -(void)setText:(NSString*)text; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestCollectionCell.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import "TestCollectionCell.h" 12 | 13 | @interface TestCollectionCell() 14 | 15 | @property(nonatomic,strong) UILabel* label; 16 | @property(nonatomic,strong) UIImageView* image; 17 | 18 | @end 19 | 20 | @implementation TestCollectionCell 21 | 22 | -(void)setText:(NSString*)text 23 | { 24 | self.label.text = text; 25 | } 26 | @end 27 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestCollectionViewVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | #import "FlexBaseVC.h" 13 | 14 | @interface TestCollectionViewVC : FlexBaseVC 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestFrameView.h: -------------------------------------------------------------------------------- 1 | // 2 | // TestFrameView.h 3 | // FlexLib_Example 4 | // 5 | // Created by 郑立宝 on 2019/2/19. 6 | // Copyright © 2019年 zhenglibao. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface TestFrameView : FlexFrameView 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestLoginVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | @interface TestLoginVC : FlexBaseVC 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestModalVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | /* 12 | 这个例子演示了如何在xml布局中使用modal视图,FlexModalView的子类在xml中 13 | 声明,但默认加载后并不现实,通过调用对应的show方法来呼出,类似模态对话框 14 | */ 15 | 16 | @interface TestModalVC : FlexBaseVC 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestScrollVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | /* 12 | 该例子演示了FlexScrollView的使用方法,关键属性vertScroll,horzScroll,表示 13 | 是否允许对应方向的滚动,FlexScrollView会自动管理contentSize 14 | */ 15 | @interface TestScrollVC : FlexBaseVC 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestTableCell.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | /* 11 | 该例子演示了在UITableView的cell中使用xml布局 12 | */ 13 | 14 | @interface TestTableCell : FlexBaseTableCell 15 | 16 | -(void)setData:(NSDictionary*)data ForHeight:(BOOL)forHeight; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestTableVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | /* 14 | 该例子演示了在UITableView的cell中使用xml布局 15 | */ 16 | @interface TestTableVC : FlexBaseVC 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | @interface TestVC : FlexBaseVC 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TestXmlView.h: -------------------------------------------------------------------------------- 1 | // 2 | // TestXmlView.h 3 | // FlexLib_Example 4 | // 5 | // Created by 郑立宝 on 2019/2/2. 6 | // Copyright © 2019年 zhenglibao. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface TestXmlView : FlexXmlBaseView 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/TextViewVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | /* 12 | 这个例子演示了以下几种情况: 13 | 1. 使用FlexTextView设置最大高度和最小高度,然后该输入框会根据输入内容自动调整高度 14 | 2. 在FlexBaseVC的派生类中调用prepareInputs,然后自动设置键盘工具条,可以用来 15 | 切换输入框等 16 | 3. 通过程序往xml布局中动态添加、删除控件 17 | */ 18 | 19 | @interface TextViewVC : FlexBaseVC 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | "multilangdemo" = "This string is multi-language demo. You can change system language to see the effect. This example only support English & Chinese."; 11 | "uilabellang" = "This is Richtext UILabel control(Multi-language support),"; 12 | 13 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | 13 | @import UIKit; 14 | #import "FlexAppDelegate.h" 15 | 16 | int main(int argc, char * argv[]) 17 | { 18 | @autoreleasepool { 19 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([FlexAppDelegate class])); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/AttachmentView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/BinaryCell.flex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/BinaryCell.flex -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/PopScrollView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/TableHeader.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/TestCollectionCell.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/TestCollectionViewVC.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/TestTableVC.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/TestXmlView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/addnewtype@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/addnewtype@2x.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/arrow_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/arrow_right@2x.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/batchcheck@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/batchcheck@2x.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/example1.jpg -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/qrcode.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/return@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/return@2x.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/select@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/select@2x.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/res/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_oc/FlexLib/res/splash.png -------------------------------------------------------------------------------- /Example_oc/FlexLib/zh-Hans.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/zh-Hans.lproj/LaunchScreen.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "UILabel"; text = "FlexLib"; ObjectID = "8K3-wz-IZF"; */ 3 | "8K3-wz-IZF.text" = "FlexLib"; 4 | -------------------------------------------------------------------------------- /Example_oc/FlexLib/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | "multilangdemo" = "这条字符串用来展示多语言支持能力,你可以切换系统语言来看看效果,这个demo仅支持中文和英文"; 11 | "uilabellang" = "这是一个富文本的UILabel控件(支持多语言),"; 12 | -------------------------------------------------------------------------------- /Example_oc/Podfile: -------------------------------------------------------------------------------- 1 | workspace ‘FlexLib.xcworkspace' 2 | 3 | 4 | 5 | target 'FlexLib_Example' do 6 | workspace ‘FlexLib.xcworkspace' 7 | xcodeproj ‘FlexLib.xcodeproj' 8 | pod 'FlexLib', :path => '../' 9 | pod 'FlexLib/preview', :path => '../' 10 | 11 | target 'FlexLib_Tests' do 12 | inherit! :search_paths 13 | 14 | pod 'Specta' 15 | pod 'Expecta' 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPDefines.h: -------------------------------------------------------------------------------- 1 | // 2 | // EXPDefines.h 3 | // Expecta 4 | // 5 | // Created by Luke Redpath on 26/03/2012. 6 | // Copyright (c) 2012 Peter Jihoon Kim. All rights reserved. 7 | // 8 | 9 | #ifndef Expecta_EXPDefines_h 10 | #define Expecta_EXPDefines_h 11 | 12 | typedef void (^EXPBasicBlock)(void); 13 | typedef id (^EXPIdBlock)(void); 14 | typedef BOOL (^EXPBoolBlock)(void); 15 | typedef NSString *(^EXPStringBlock)(void); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPDoubleTuple.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface EXPDoubleTuple : NSObject { 4 | double *_values; 5 | size_t _size; 6 | } 7 | 8 | @property (nonatomic, assign) double *values; 9 | @property (nonatomic, assign) size_t size; 10 | 11 | - (instancetype)initWithDoubleValues:(double *)values size:(size_t)size NS_DESIGNATED_INITIALIZER; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPFloatTuple.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface EXPFloatTuple : NSObject { 4 | float *_values; 5 | size_t _size; 6 | } 7 | 8 | @property (nonatomic, assign) float *values; 9 | @property (nonatomic, assign) size_t size; 10 | 11 | - (instancetype)initWithFloatValues:(float *)values size:(size_t)size NS_DESIGNATED_INITIALIZER; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPMatcher.h: -------------------------------------------------------------------------------- 1 | // 2 | // EXPMatcher.h 3 | // Expecta 4 | // 5 | // Created by Luke Redpath on 26/03/2012. 6 | // Copyright (c) 2012 Peter Jihoon Kim. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol EXPMatcher 12 | 13 | - (BOOL)matches:(id)actual; 14 | 15 | @optional 16 | - (BOOL)meetsPrerequesiteFor:(id)actual; 17 | - (NSString *)failureMessageForTo:(id)actual; 18 | - (NSString *)failureMessageForNotTo:(id)actual; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPUnsupportedObject.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface EXPUnsupportedObject : NSObject { 4 | NSString *_type; 5 | } 6 | 7 | @property (nonatomic, retain) NSString *type; 8 | 9 | - (instancetype)initWithType:(NSString *)type NS_DESIGNATED_INITIALIZER; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/EXPUnsupportedObject.m: -------------------------------------------------------------------------------- 1 | #import "EXPUnsupportedObject.h" 2 | 3 | #pragma clang diagnostic push 4 | #pragma clang diagnostic ignored "-Wobjc-designated-initializers" 5 | @implementation EXPUnsupportedObject 6 | #pragma clang diagnostic pop 7 | 8 | @synthesize type=_type; 9 | 10 | - (instancetype)initWithType:(NSString *)type { 11 | self = [super init]; 12 | if(self) { 13 | self.type = type; 14 | } 15 | return self; 16 | } 17 | 18 | - (void)dealloc { 19 | self.type = nil; 20 | [super dealloc]; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Expecta.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | //! Project version number for Expecta. 4 | FOUNDATION_EXPORT double ExpectaVersionNumber; 5 | 6 | //! Project version string for Expecta. 7 | FOUNDATION_EXPORT const unsigned char ExpectaVersionString[]; 8 | 9 | #import 10 | #import 11 | #import 12 | 13 | // Enable shorthand by default 14 | #define expect(...) EXP_expect((__VA_ARGS__)) 15 | #define failure(...) EXP_failure((__VA_ARGS__)) 16 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/ExpectaObject.m: -------------------------------------------------------------------------------- 1 | #import "ExpectaObject.h" 2 | 3 | @implementation Expecta 4 | 5 | static NSTimeInterval _asynchronousTestTimeout = 1.0; 6 | 7 | + (NSTimeInterval)asynchronousTestTimeout { 8 | return _asynchronousTestTimeout; 9 | } 10 | 11 | + (void)setAsynchronousTestTimeout:(NSTimeInterval)timeout { 12 | _asynchronousTestTimeout = timeout; 13 | } 14 | 15 | @end -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatcherHelpers.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | BOOL EXPIsValuePointer(NSValue *value); 4 | BOOL EXPIsNumberFloat(NSNumber *number); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatcherHelpers.m: -------------------------------------------------------------------------------- 1 | #import "EXPMatcherHelpers.h" 2 | 3 | BOOL EXPIsValuePointer(NSValue *value) { 4 | return [value objCType][0] == @encode(void *)[0]; 5 | } 6 | 7 | BOOL EXPIsNumberFloat(NSNumber *number) { 8 | return strcmp([number objCType], @encode(float)) == 0; 9 | } 10 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beCloseToWithin, (id expected, id within)); 4 | EXPMatcherInterface(beCloseToWithin, (id expected, id within)); 5 | 6 | #define beCloseTo(expected) _beCloseToWithin(EXPObjectify((expected)), nil) 7 | #define beCloseToWithin(expected, range) _beCloseToWithin(EXPObjectify((expected)), EXPObjectify((range))) 8 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beFalsy, (void)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beGreaterThan, (id expected)); 4 | EXPMatcherInterface(beGreaterThan, (id expected)); 5 | 6 | #define beGreaterThan(expected) _beGreaterThan(EXPObjectify((expected))) 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beGreaterThanOrEqualTo, (id expected)); 4 | EXPMatcherInterface(beGreaterThanOrEqualTo, (id expected)); 5 | 6 | #define beGreaterThanOrEqualTo(expected) _beGreaterThanOrEqualTo(EXPObjectify((expected))) 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beIdenticalTo, (void *expected)); 4 | EXPMatcherInterface(beIdenticalTo, (void *expected)); // to aid code completion 5 | 6 | #if __has_feature(objc_arc) 7 | #define beIdenticalTo(expected) _beIdenticalTo((__bridge void*)expected) 8 | #else 9 | #define beIdenticalTo(expected) _beIdenticalTo(expected) 10 | #endif 11 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beInTheRangeOf, (id expectedLowerBound, id expectedUpperBound)); 4 | EXPMatcherInterface(beInTheRangeOf, (id expectedLowerBound, id expectedUpperBound)); 5 | 6 | #define beInTheRangeOf(expectedLowerBound, expectedUpperBound) _beInTheRangeOf(EXPObjectify((expectedLowerBound)), EXPObjectify((expectedUpperBound))) 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beInstanceOf, (Class expected)); 4 | EXPMatcherInterface(beAnInstanceOf, (Class expected)); 5 | EXPMatcherInterface(beMemberOf, (Class expected)); 6 | EXPMatcherInterface(beAMemberOf, (Class expected)); 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beKindOf, (Class expected)); 4 | EXPMatcherInterface(beAKindOf, (Class expected)); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beLessThan, (id expected)); 4 | EXPMatcherInterface(beLessThan, (id expected)); 5 | 6 | #define beLessThan(expected) _beLessThan(EXPObjectify((expected))) 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_beLessThanOrEqualTo, (id expected)); 4 | EXPMatcherInterface(beLessThanOrEqualTo, (id expected)); 5 | 6 | #define beLessThanOrEqualTo(expected) _beLessThanOrEqualTo(EXPObjectify((expected))) 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beNil.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beNil, (void)); 4 | EXPMatcherInterface(beNull, (void)); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beNil.m: -------------------------------------------------------------------------------- 1 | #import "EXPMatchers+beNil.h" 2 | 3 | EXPMatcherImplementationBegin(beNil, (void)) { 4 | match(^BOOL{ 5 | return actual == nil; 6 | }); 7 | 8 | failureMessageForTo(^NSString *{ 9 | return [NSString stringWithFormat:@"expected: nil/null, got: %@", EXPDescribeObject(actual)]; 10 | }); 11 | 12 | failureMessageForNotTo(^NSString *{ 13 | return [NSString stringWithFormat:@"expected: not nil/null, got: %@", EXPDescribeObject(actual)]; 14 | }); 15 | } 16 | EXPMatcherImplementationEnd 17 | 18 | EXPMatcherAliasImplementation(beNull, beNil, (void)); 19 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beSubclassOf, (Class expected)); 4 | EXPMatcherInterface(beASubclassOf, (Class expected)); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beSupersetOf, (id subset)); 4 | 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beTruthy, (void)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+beginWith.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(beginWith, (id expected)); 4 | EXPMatcherInterface(startWith, (id expected)); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+conformTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(conformTo, (Protocol *expected)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+contain.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_contain, (id expected)); 4 | EXPMatcherInterface(contain, (id expected)); // to aid code completion 5 | #define contain(expected) _contain(EXPObjectify((expected))) 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+endWith.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(endWith, (id expected)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+equal.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(_equal, (id expected)); 4 | EXPMatcherInterface(equal, (id expected)); // to aid code completion 5 | #define equal(...) _equal(EXPObjectify((__VA_ARGS__))) 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(haveCountOf, (NSUInteger expected)); 4 | EXPMatcherInterface(haveCount, (NSUInteger expected)); 5 | EXPMatcherInterface(haveACountOf, (NSUInteger expected)); 6 | EXPMatcherInterface(haveLength, (NSUInteger expected)); 7 | EXPMatcherInterface(haveLengthOf, (NSUInteger expected)); 8 | EXPMatcherInterface(haveALengthOf, (NSUInteger expected)); 9 | 10 | #define beEmpty() haveCountOf(0) 11 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+match.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(match, (NSString *expected)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+postNotification.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(postNotification, (id expectedNotification)); 4 | EXPMatcherInterface(notify, (id expectedNotification)); 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+raise.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(raise, (NSString *expectedExceptionName)); 4 | #define raiseAny() raise(nil) 5 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(raiseWithReason, (NSString *expectedExceptionName, NSString *expectedReason)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/Matchers/EXPMatchers+respondTo.h: -------------------------------------------------------------------------------- 1 | #import "Expecta.h" 2 | 3 | EXPMatcherInterface(respondTo, (SEL expected)); 4 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/NSObject+Expecta.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface NSObject (Expecta) 4 | 5 | - (void)recordFailureWithDescription:(NSString *)description 6 | inFile:(NSString *)filename 7 | atLine:(NSUInteger)lineNumber 8 | expected:(BOOL)expected; 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/NSValue+Expecta.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface NSValue (Expecta) 4 | 5 | @property (nonatomic) const char *_EXP_objCType; 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /Example_oc/Pods/Expecta/Expecta/NSValue+Expecta.m: -------------------------------------------------------------------------------- 1 | #import "NSValue+Expecta.h" 2 | #import 3 | #import "Expecta.h" 4 | 5 | EXPFixCategoriesBug(NSValue_Expecta); 6 | 7 | @implementation NSValue (Expecta) 8 | 9 | static char _EXP_typeKey; 10 | 11 | - (const char *)_EXP_objCType { 12 | return [(NSString *)objc_getAssociatedObject(self, &_EXP_typeKey) cStringUsingEncoding:NSASCIIStringEncoding]; 13 | } 14 | 15 | - (void)set_EXP_objCType:(const char *)_EXP_objCType { 16 | objc_setAssociatedObject(self, &_EXP_typeKey, 17 | @(_EXP_objCType), 18 | OBJC_ASSOCIATION_COPY_NONATOMIC); 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPBlockDefinedMatcher.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPDefines.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPDefines.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPDoubleTuple.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPDoubleTuple.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPExpect.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPExpect.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPFloatTuple.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPFloatTuple.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatcher.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPMatcher.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatcherHelpers.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beNil.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beginWith.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+conformTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+contain.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+contain.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+endWith.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+equal.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+equal.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+match.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+match.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+postNotification.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+postNotification.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+raise.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+raise.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+respondTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPMatchers.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPUnsupportedObject.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/ExpectaObject.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/ExpectaObject.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/ExpectaSupport.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/ExpectaSupport.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/NSObject+Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/NSObject+Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Expecta/NSValue+Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/NSValue+Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/BitUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/BitUtils.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/CompactValue.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/CompactValue.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexBaseTableCell.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexBaseTableCell.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexBaseVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexBaseVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexCollectionCell.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCollectionCell.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexCollectionView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCollectionView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexContainerView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexCustomBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCustomBaseView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexEncode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexEncode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexExpression.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexExpression.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexFrameView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexFrameView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexHttpVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexHttpVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexLayout.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexLayoutViewerVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexLayoutViewerVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexLib.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexLib.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexLibPreview.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexLibPreview.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexModalView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexModalView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexNode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexPreviewUtil.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexPreviewUtil.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexRootView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexScrollView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexSetPreviewVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexSetPreviewVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexStyleMgr.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexStyleMgr.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexTableHeaderFooterView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTableHeaderFooterView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTextView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTouchMaskView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTouchView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexUtils.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/FlexXmlBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexXmlBaseView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/GDataXMLNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/GDataXMLNode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIActivityIndicatorView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIActivityIndicatorView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIButton+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIButton+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIDatePicker+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIImageView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIImageView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UILabel+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UILabel+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIPageControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIPageControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIPickerView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIPickerView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIProgressView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIProgressView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIScrollView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UISearchBar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISearchBar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UISegmentedControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISegmentedControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UISlider+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISlider+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIStepper+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIStepper+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UISwitch+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISwitch+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UITabBar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITabBar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UITextField+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITextField+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UITextView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITextView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIToolbar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIToolbar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/UIView+Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/UIView+Yoga.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/Utils.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/Utils.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGConfig.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGConfig.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGEnums.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGEnums.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGFloatOptional.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGFloatOptional.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGKLayout+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/YGKLayout+Private.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGKLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/YGKLayout.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGLayout.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGMacros.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGMacros.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGNode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGNodePrint.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGNodePrint.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGStyle.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGStyle.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/YGValue.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGValue.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/Yoga-internal.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/Yoga-internal.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/Yoga.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/event.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/event/event.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/experiments-inl.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/internal/experiments-inl.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/experiments.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/internal/experiments.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/FlexLib/log.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/log.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTCallSite.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTCallSite.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTCompiledExample.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTCompiledExample.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTExample.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExample.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTExampleGroup.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExampleGroup.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTExcludeGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTGlobalBeforeAfterEach.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTSharedExampleGroups.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTSharedExampleGroups.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTSpec.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTSpec.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SPTTestSuite.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTTestSuite.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/Specta.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/Specta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SpectaDSL.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaDSL.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SpectaTypes.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaTypes.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/SpectaUtility.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaUtility.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/XCTest+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/XCTest+Private.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Private/Specta/XCTestCase+Specta.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/XCTestCase+Specta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPBlockDefinedMatcher.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPDefines.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPDefines.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPDoubleTuple.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPDoubleTuple.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPExpect.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPExpect.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPFloatTuple.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPFloatTuple.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatcher.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPMatcher.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatcherHelpers.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beFalsy.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThan.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beGreaterThanOrEqualTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beIdenticalTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beInTheRangeOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beInstanceOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beKindOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThan.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beLessThanOrEqualTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beNil.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beSubclassOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beSupersetOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beTruthy.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+beginWith.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+conformTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+contain.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+contain.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+endWith.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+equal.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+equal.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+haveCountOf.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+match.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+match.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+postNotification.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+postNotification.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+raise.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+raise.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+raiseWithReason.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers+respondTo.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPMatchers.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Matchers/EXPMatchers.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/EXPUnsupportedObject.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/ExpectaObject.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/ExpectaObject.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/ExpectaSupport.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/ExpectaSupport.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/NSObject+Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/NSObject+Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Expecta/NSValue+Expecta.h: -------------------------------------------------------------------------------- 1 | ../../../Expecta/Expecta/NSValue+Expecta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexBaseTableCell.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexBaseTableCell.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexBaseVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexBaseVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexCollectionCell.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCollectionCell.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexCollectionView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCollectionView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexContainerView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexCustomBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexCustomBaseView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexEncode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexEncode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexExpression.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexExpression.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexFrameView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexFrameView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexHttpVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexHttpVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexLayout.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLayoutViewerVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexLayoutViewerVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLib-umbrella.h: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/FlexLib/FlexLib-umbrella.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLib.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexLib.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLib.modulemap: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/FlexLib/FlexLib.modulemap -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexLibPreview.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexLibPreview.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexModalView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexModalView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexNode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexPreviewUtil.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexPreviewUtil.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexRootView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexScrollView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexSetPreviewVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLibPreview/Classes/FlexSetPreviewVC.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexStyleMgr.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexStyleMgr.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexTableHeaderFooterView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTableHeaderFooterView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTextView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTouchMaskView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexTouchView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexUtils.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/FlexXmlBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/FlexXmlBaseView.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/GDataXMLNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/GDataXMLNode.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIActivityIndicatorView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIActivityIndicatorView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIButton+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIButton+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIDatePicker+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIImageView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIImageView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UILabel+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UILabel+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIPageControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIPageControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIPickerView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIPickerView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIProgressView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIProgressView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIScrollView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UISearchBar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISearchBar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UISegmentedControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISegmentedControl+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UISlider+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISlider+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIStepper+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIStepper+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UISwitch+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UISwitch+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UITabBar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITabBar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UITextField+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITextField+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UITextView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UITextView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIToolbar+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIToolbar+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/Flexlib/ViewExt/UIView+Flex.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/UIView+Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/UIView+Yoga.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/YGEnums.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGEnums.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/YGKLayout+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/YGKLayout+Private.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/YGKLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/YogaKit/YGKLayout.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/YGMacros.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGMacros.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/YGValue.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/YGValue.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/FlexLib/Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../FlexLib/Classes/yoga/Yoga.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTCallSite.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTCallSite.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTCompiledExample.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTCompiledExample.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTExample.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExample.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTExampleGroup.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExampleGroup.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTExcludeGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTGlobalBeforeAfterEach.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTSharedExampleGroups.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTSharedExampleGroups.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTSpec.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTSpec.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SPTTestSuite.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SPTTestSuite.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/Specta.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/Specta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SpectaDSL.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaDSL.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SpectaTypes.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaTypes.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/SpectaUtility.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/SpectaUtility.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/XCTest+Private.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/XCTest+Private.h -------------------------------------------------------------------------------- /Example_oc/Pods/Headers/Public/Specta/XCTestCase+Specta.h: -------------------------------------------------------------------------------- 1 | ../../../Specta/Specta/Specta/XCTestCase+Specta.h -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTCallSite.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface SPTCallSite : NSObject 4 | 5 | @property (nonatomic, copy, readonly) NSString *file; 6 | @property (nonatomic, readonly) NSUInteger line; 7 | 8 | + (instancetype)callSiteWithFile:(NSString *)file line:(NSUInteger)line; 9 | 10 | - (instancetype)initWithFile:(NSString *)file line:(NSUInteger)line; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTCallSite.m: -------------------------------------------------------------------------------- 1 | #import "SPTCallSite.h" 2 | 3 | @implementation SPTCallSite 4 | 5 | + (instancetype)callSiteWithFile:(NSString *)file line:(NSUInteger)line { 6 | return [[self alloc] initWithFile:file line:line]; 7 | } 8 | 9 | - (instancetype)initWithFile:(NSString *)file line:(NSUInteger)line { 10 | self = [super init]; 11 | if (self) { 12 | _file = file; 13 | _line = line; 14 | } 15 | return self; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTCompiledExample.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "SpectaTypes.h" 3 | 4 | @interface SPTCompiledExample : NSObject 5 | 6 | @property (nonatomic, copy) NSString *name; 7 | @property (nonatomic, copy) NSString *testCaseName; 8 | @property (nonatomic, copy) SPTSpecBlock block; 9 | 10 | @property (nonatomic) BOOL pending; 11 | @property (nonatomic, getter=isFocused) BOOL focused; 12 | 13 | @property (nonatomic) SEL testMethodSelector; 14 | 15 | - (id)initWithName:(NSString *)name testCaseName:(NSString *)testCaseName block:(SPTSpecBlock)block pending:(BOOL)pending focused:(BOOL)focused; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTCompiledExample.m: -------------------------------------------------------------------------------- 1 | #import "SPTCompiledExample.h" 2 | 3 | @implementation SPTCompiledExample 4 | 5 | - (id)initWithName:(NSString *)name testCaseName:(NSString *)testCaseName block:(SPTSpecBlock)block pending:(BOOL)pending focused:(BOOL)focused { 6 | self = [super init]; 7 | if (self) { 8 | self.name = name; 9 | self.testCaseName = testCaseName; 10 | self.block = block; 11 | self.pending = pending; 12 | self.focused = focused; 13 | } 14 | return self; 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTExample.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "SpectaTypes.h" 3 | 4 | @class SPTCallSite; 5 | 6 | @interface SPTExample : NSObject 7 | 8 | @property (nonatomic, copy) NSString *name; 9 | @property (nonatomic, retain) SPTCallSite *callSite; 10 | @property (nonatomic, copy) SPTVoidBlock block; 11 | 12 | @property (nonatomic) BOOL pending; 13 | @property (nonatomic, getter=isFocused) BOOL focused; 14 | 15 | - (id)initWithName:(NSString *)name callSite:(SPTCallSite *)callSite focused:(BOOL)focused block:(SPTVoidBlock)block; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTExample.m: -------------------------------------------------------------------------------- 1 | #import "SPTExample.h" 2 | 3 | @implementation SPTExample 4 | 5 | - (id)initWithName:(NSString *)name callSite:(SPTCallSite *)callSite focused:(BOOL)focused block:(SPTVoidBlock)block { 6 | self = [super init]; 7 | if (self) { 8 | self.name = name; 9 | self.callSite = callSite; 10 | self.block = block; 11 | self.focused = focused; 12 | self.pending = block == nil; 13 | } 14 | return self; 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTExcludeGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Specta Team. All rights reserved. 3 | */ 4 | #import 5 | 6 | // This protocol was used for blacklisting classes for global beforeEach and afterEach blocks. 7 | // Now, instead, classes are whitelisted by implementing the SPTGlobalBeforeAfterEach protocol. 8 | __deprecated_msg("Please whitelist classes instead with the SPTGlobalBeforeAfterEach protocol") 9 | @protocol SPTExcludeGlobalBeforeAfterEach 10 | @end 11 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTGlobalBeforeAfterEach.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015 Specta Team. All rights reserved. 3 | */ 4 | #import 5 | 6 | // This protocol is used for whitelisting classes for global beforeEach and afterEach blocks. 7 | // If you want a class to participate in those just add this protocol to a category and it will be 8 | // included. 9 | @protocol SPTGlobalBeforeAfterEach 10 | 11 | @optional 12 | + (void)beforeEach; 13 | + (void)afterEach; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTSharedExampleGroups.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | 5 | @class _XCTestCaseImplementation; 6 | 7 | @class SPTExampleGroup; 8 | 9 | @interface SPTSharedExampleGroups : XCTestCase 10 | 11 | + (void)addSharedExampleGroupWithName:(NSString *)name block:(SPTDictionaryBlock)block exampleGroup:(SPTExampleGroup *)exampleGroup; 12 | + (SPTDictionaryBlock)sharedExampleGroupWithName:(NSString *)name exampleGroup:(SPTExampleGroup *)exampleGroup; 13 | 14 | - (void)sharedExampleGroups; 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SPTTestSuite.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class 4 | SPTExample 5 | , SPTExampleGroup 6 | ; 7 | 8 | @interface SPTTestSuite : NSObject 9 | 10 | @property (nonatomic, strong) SPTExampleGroup *rootGroup; 11 | @property (nonatomic, strong) NSMutableArray *groupStack; 12 | @property (nonatomic, strong) NSArray *compiledExamples; 13 | @property (nonatomic, copy) NSString *fileName; 14 | @property (nonatomic) NSUInteger lineNumber; 15 | @property (nonatomic, getter = isDisabled) BOOL disabled; 16 | @property (nonatomic) BOOL hasFocusedExamples; 17 | 18 | - (SPTExampleGroup *)currentGroup; 19 | - (void)compile; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/Specta.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | //! Project version number for Specta. 5 | FOUNDATION_EXPORT double SpectaVersionNumber; 6 | 7 | //! Project version string for Specta. 8 | FOUNDATION_EXPORT const unsigned char SpectaVersionString[]; 9 | 10 | // In this header, you should import all the public headers of your framework using statements like #import 11 | 12 | #import 13 | #import 14 | #import 15 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/SpectaTypes.h: -------------------------------------------------------------------------------- 1 | @class SPTSpec; 2 | 3 | typedef void (^SPTVoidBlock)(void); 4 | typedef void (^SPTSpecBlock)(SPTSpec *spec); 5 | typedef void (^SPTDictionaryBlock)(NSDictionary *dictionary); 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Specta/Specta/Specta/XCTestCase+Specta.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface XCTestCase (Specta) 4 | 5 | - (void)spt_handleException:(NSException *)exception; 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Expecta/Expecta-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Expecta : NSObject 3 | @end 4 | @implementation PodsDummy_Expecta 5 | @end 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Expecta/Expecta-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/FlexLib/FlexLib-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FlexLib : NSObject 3 | @end 4 | @implementation PodsDummy_FlexLib 5 | @end 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/FlexLib/FlexLib-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/FlexLib/FlexLib.modulemap: -------------------------------------------------------------------------------- 1 | module FlexLib { 2 | umbrella header "FlexLib-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Pods-FlexLib_Example/Pods-FlexLib_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FlexLib_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FlexLib_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Pods-FlexLib_Tests/Pods-FlexLib_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FlexLib_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FlexLib_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Specta/Specta-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Specta : NSObject 3 | @end 4 | @implementation PodsDummy_Specta 5 | @end 6 | -------------------------------------------------------------------------------- /Example_oc/Pods/Target Support Files/Specta/Specta-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_oc/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | @import Specta; 6 | @import Expecta; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Example_oc/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_oc/Tests/zh-Hans.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // FlexOsxDemo 4 | // 5 | // Created by 郑立宝 on 2019/11/21. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : NSObject 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/FlexOsxDemo.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.assets.movies.read-write 8 | 9 | com.apple.security.assets.music.read-write 10 | 11 | com.apple.security.assets.pictures.read-write 12 | 13 | com.apple.security.files.downloads.read-write 14 | 15 | com.apple.security.files.user-selected.read-write 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/FlexXmlView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FlexXmlView.h 3 | // FlexOsxDemo 4 | // 5 | // Created by 郑立宝 on 2020/6/16. 6 | // Copyright © 2020 郑立宝. All rights reserved. 7 | // 8 | 9 | #import "UIView.h" 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface FlexXmlView : UIView 14 | 15 | -(BOOL)loadXml:(NSString*)xmlPath; 16 | 17 | @end 18 | 19 | NS_ASSUME_NONNULL_END 20 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/10/28. 6 | // Copyright © 2019年 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "FlexBaseVC.h" 11 | 12 | @interface ViewController : FlexBaseVC 13 | 14 | 15 | @end 16 | 17 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/ViewController.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FlexOsxDemo 4 | // 5 | // Created by 郑立宝 on 2019/11/21. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, const char * argv[]) { 12 | @autoreleasepool { 13 | // Setup code that might create autoreleased objects goes here. 14 | } 15 | return NSApplicationMain(argc, argv); 16 | } 17 | -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/res/chat_phone@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_osx/FlexOsxDemo/res/chat_phone@2x.png -------------------------------------------------------------------------------- /Example_osx/FlexOsxDemo/res/chat_phone@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_osx/FlexOsxDemo/res/chat_phone@3x.png -------------------------------------------------------------------------------- /Example_osx/Podfile: -------------------------------------------------------------------------------- 1 | target 'FlexOsxDemo' do 2 | xcodeproj ‘FlexOsxDemo.xcodeproj' 3 | pod 'FlexLibOsx', :path => '../' 4 | end 5 | -------------------------------------------------------------------------------- /Example_osx/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlexLibOsx (2.7.0): 3 | - FlexLibOsx/standard (= 2.7.0) 4 | - FlexLibOsx/standard (2.7.0): 5 | - FlexLibOsx/standard/no-arc (= 2.7.0) 6 | - Yoga (= 1.14.0) 7 | - FlexLibOsx/standard/no-arc (2.7.0): 8 | - Yoga (= 1.14.0) 9 | - Yoga (1.14.0) 10 | 11 | DEPENDENCIES: 12 | - FlexLibOsx (from `../`) 13 | 14 | SPEC REPOS: 15 | trunk: 16 | - Yoga 17 | 18 | EXTERNAL SOURCES: 19 | FlexLibOsx: 20 | :path: "../" 21 | 22 | SPEC CHECKSUMS: 23 | FlexLibOsx: c72d47cfd5c238e9792d6fd1b858a60adb33bc67 24 | Yoga: cff67a400f6b74dc38eb0bad4f156673d9aa980c 25 | 26 | PODFILE CHECKSUM: dfb67265bac6a232067aeba4ba5c60696ffa2d68 27 | 28 | COCOAPODS: 1.9.3 29 | -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexBaseVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexBaseVC.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexContainerView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexCustomBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexCustomBaseView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexFrameView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexFrameView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexLib.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexLib.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexNode.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexRootView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexScrollView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexStyleMgr.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexStyleMgr.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTextView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTouchMaskView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTouchView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexUtils.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/FlexXmlBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexXmlBaseView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/GDataXMLNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/GDataXMLNode.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSButton+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSButton+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSControl+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSDatePicker+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSImageView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSImageView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSScrollView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSSlider+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSSlider+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSStepper+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSStepper+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSTextField+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSTextField+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSTextView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSTextView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/NSView+Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/NSView+Yoga.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/UIImageView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UIImageView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/UILabel.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UILabel.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/UIView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UIView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/YGLayout+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/YGLayout+Private.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/FlexLibOsx/YGLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/YGLayout.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/CompactValue.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/CompactValue.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/Utils.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/Utils.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGConfig.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGConfig.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGEnums.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGEnums.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGFloatOptional.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGFloatOptional.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGLayout.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGLayout.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGMacros.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGMacros.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGMarker.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGMarker.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGNode.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGNode.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGNodePrint.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGNodePrint.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGStyle.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGStyle.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/YGValue.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGValue.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/Yoga-internal.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/Yoga-internal.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/Yoga.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/instrumentation.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/instrumentation.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Private/Yoga/log.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/log.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexBaseVC.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexBaseVC.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexContainerView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexCustomBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexCustomBaseView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexFrameView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexFrameView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexLib.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexLib.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexNode.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexRootView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexRootView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexScrollView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexStyleMgr.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexStyleMgr.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexTextView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTextView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTouchMaskView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexTouchView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexUtils.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexUtils.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/FlexXmlBaseView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/FlexXmlBaseView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/GDataXMLNode.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/GDataXMLNode.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSButton+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSButton+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSControl+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSControl+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSDatePicker+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSImageView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSImageView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSScrollView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSSlider+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSSlider+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSStepper+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSStepper+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSTextField+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSTextField+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSTextView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSTextView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSView+Flex.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/ViewExt/NSView+Flex.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/NSView+Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/NSView+Yoga.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/UIImageView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UIImageView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/UILabel.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UILabel.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/UIView.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/UIView.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/YGLayout+Private.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/YGLayout+Private.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/FlexLibOsx/YGLayout.h: -------------------------------------------------------------------------------- 1 | ../../../../../macosx/Classes/YogaKit/YGLayout.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/YGEnums.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGEnums.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/YGMacros.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGMacros.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/YGValue.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/YGValue.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/Yoga-umbrella.h: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/Yoga/Yoga-umbrella.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/Yoga.h: -------------------------------------------------------------------------------- 1 | ../../../Yoga/yoga/Yoga.h -------------------------------------------------------------------------------- /Example_osx/Pods/Headers/Public/Yoga/Yoga.modulemap: -------------------------------------------------------------------------------- 1 | ../../../Target Support Files/Yoga/Yoga.modulemap -------------------------------------------------------------------------------- /Example_osx/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlexLibOsx (2.7.0): 3 | - FlexLibOsx/standard (= 2.7.0) 4 | - FlexLibOsx/standard (2.7.0): 5 | - FlexLibOsx/standard/no-arc (= 2.7.0) 6 | - Yoga (= 1.14.0) 7 | - FlexLibOsx/standard/no-arc (2.7.0): 8 | - Yoga (= 1.14.0) 9 | - Yoga (1.14.0) 10 | 11 | DEPENDENCIES: 12 | - FlexLibOsx (from `../`) 13 | 14 | SPEC REPOS: 15 | trunk: 16 | - Yoga 17 | 18 | EXTERNAL SOURCES: 19 | FlexLibOsx: 20 | :path: "../" 21 | 22 | SPEC CHECKSUMS: 23 | FlexLibOsx: c72d47cfd5c238e9792d6fd1b858a60adb33bc67 24 | Yoga: cff67a400f6b74dc38eb0bad4f156673d9aa980c 25 | 26 | PODFILE CHECKSUM: dfb67265bac6a232067aeba4ba5c60696ffa2d68 27 | 28 | COCOAPODS: 1.9.3 29 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/FlexLibOsx/FlexLibOsx-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FlexLibOsx : NSObject 3 | @end 4 | @implementation PodsDummy_FlexLibOsx 5 | @end 6 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/FlexLibOsx/FlexLibOsx-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FlexOsxDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FlexOsxDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources.sh 2 | ${PODS_CONFIGURATION_BUILD_DIR}/FlexLibOsx/FlexLib.bundle -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FlexLib.bundle -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources.sh 2 | ${PODS_CONFIGURATION_BUILD_DIR}/FlexLibOsx/FlexLib.bundle -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Pods-FlexOsxDemo/Pods-FlexOsxDemo-resources-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FlexLib.bundle -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Yoga : NSObject 3 | @end 4 | @implementation PodsDummy_Yoga 5 | @end 6 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "YGEnums.h" 14 | #import "YGMacros.h" 15 | #import "YGValue.h" 16 | #import "Yoga.h" 17 | 18 | FOUNDATION_EXPORT double yogaVersionNumber; 19 | FOUNDATION_EXPORT const unsigned char yogaVersionString[]; 20 | 21 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Yoga 2 | DEFINES_MODULE = YES 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Yoga" "${PODS_ROOT}/Headers/Public" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Yoga 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga.modulemap: -------------------------------------------------------------------------------- 1 | module yoga { 2 | umbrella header "Yoga-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example_osx/Pods/Target Support Files/Yoga/Yoga.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Yoga 2 | DEFINES_MODULE = YES 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/Yoga" "${PODS_ROOT}/Headers/Public" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Yoga 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example_osx/Pods/Yoga/LICENSE-examples: -------------------------------------------------------------------------------- 1 | The examples provided by Facebook are for non-commercial testing and evaluation 2 | purposes only. Facebook reserves all rights not expressly granted. 3 | 4 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 5 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 7 | FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 8 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 9 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /Example_osx/Pods/Yoga/yoga/YGMarker.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #include "YGMarker.h" 8 | #include "YGConfig.h" 9 | 10 | void YGConfigSetMarkerCallbacks( 11 | YGConfigRef config, 12 | YGMarkerCallbacks markerCallbacks) { 13 | config->markerCallbacks = markerCallbacks; 14 | } 15 | -------------------------------------------------------------------------------- /Example_osx/Pods/Yoga/yoga/YGNodePrint.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #ifdef DEBUG 8 | #pragma once 9 | #include 10 | 11 | #include "Yoga.h" 12 | 13 | namespace facebook { 14 | namespace yoga { 15 | 16 | void YGNodeToString( 17 | std::string& str, 18 | YGNodeRef node, 19 | YGPrintOptions options, 20 | uint32_t level); 21 | 22 | } // namespace yoga 23 | } // namespace facebook 24 | #endif 25 | -------------------------------------------------------------------------------- /Example_osx/Pods/Yoga/yoga/YGValue.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #include "YGValue.h" 8 | 9 | const YGValue YGValueZero = {0, YGUnitPoint}; 10 | const YGValue YGValueUndefined = {YGUndefined, YGUnitUndefined}; 11 | const YGValue YGValueAuto = {YGUndefined, YGUnitAuto}; 12 | -------------------------------------------------------------------------------- /Example_osx/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | @import Specta; 6 | @import Expecta; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Example_osx/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_osx/Tests/zh-Hans.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/FrameVC.swift: -------------------------------------------------------------------------------- 1 | // 2 | // FrameVC.swift 3 | // FlexSwiftDemo 4 | // 5 | // Created by zhenglibao on 2018/2/5. 6 | // Copyright © 2018年 wbg. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | import FlexLib 11 | 12 | class FrameVC: UIViewController { 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | self.view = FlexFrameView.init(flex: "FrameVC", frame: CGRect.zero, owner: self) 18 | } 19 | 20 | override func didReceiveMemoryWarning() { 21 | super.didReceiveMemoryWarning() 22 | // Dispose of any resources that can be recreated. 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/TestTouchVC.swift: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | import UIKit 11 | import FlexLib 12 | 13 | @objc(TestTouchVC) 14 | class TestTouchVC: FlexBaseVC { 15 | 16 | override func viewDidLoad() { 17 | super.viewDidLoad() 18 | 19 | // Do any additional setup after loading the view. 20 | } 21 | 22 | override func didReceiveMemoryWarning() { 23 | super.didReceiveMemoryWarning() 24 | // Dispose of any resources that can be recreated. 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/TestVC.swift: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | import Foundation 11 | import FlexLib 12 | 13 | class TestVC: FlexBaseVC { 14 | 15 | override func viewDidLoad() { 16 | super.viewDidLoad() 17 | 18 | self.navigationItem.title = "TestVC"; 19 | } 20 | 21 | override func didReceiveMemoryWarning() { 22 | super.didReceiveMemoryWarning() 23 | // Dispose of any resources that can be recreated. 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/en.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | "multilangdemo" = "This string is multi-language demo. You can change system language to see the effect. This example only support English & Chinese."; 11 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/AttachmentView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/TableHeader.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/TestTableVC.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/TestXmlView.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/addnewtype@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/addnewtype@2x.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/arrow_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/arrow_right@2x.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/batchcheck@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/batchcheck@2x.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/example1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/example1.jpg -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/qrcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/qrcode.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/return@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/return@2x.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/select@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/select@2x.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/res/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/Example_swift/FlexSwiftDemo/res/splash.png -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/zh-Hans.lproj/LaunchScreen.strings: -------------------------------------------------------------------------------- 1 | 2 | /* Class = "UILabel"; text = "FlexLib"; ObjectID = "nP2-3X-mkb"; */ 3 | "nP2-3X-mkb.text" = "FlexLib"; 4 | -------------------------------------------------------------------------------- /Example_swift/FlexSwiftDemo/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | "multilangdemo" = "这条字符串用来展示多语言支持能力,你可以切换系统语言来看看效果,这个demo仅支持中文和英文"; 11 | -------------------------------------------------------------------------------- /Example_swift/Podfile: -------------------------------------------------------------------------------- 1 | use_frameworks! 2 | 3 | 4 | target ‘FlexSwiftDemo’ do 5 | pod 'FlexLib', :path => '../' 6 | pod 'FlexLib/preview', :path => '../' 7 | pod 'Yoga', '1.14.0' 8 | end 9 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/FlexLib/FlexLib-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FlexLib : NSObject 3 | @end 4 | @implementation PodsDummy_FlexLib 5 | @end 6 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/FlexLib/FlexLib-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/FlexLib/FlexLib.modulemap: -------------------------------------------------------------------------------- 1 | framework module FlexLib { 2 | umbrella header "FlexLib-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/FlexLib/FlexLib.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlexLib 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Yoga" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) /usr/include/libxml2 5 | OTHER_LDFLAGS = $(inherited) -l"c++" -l"xml2" 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Pods-FlexSwiftDemo/Pods-FlexSwiftDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_FlexSwiftDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_FlexSwiftDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Pods-FlexSwiftDemo/Pods-FlexSwiftDemo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_FlexSwiftDemoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_FlexSwiftDemoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Pods-FlexSwiftDemo/Pods-FlexSwiftDemo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_FlexSwiftDemo { 2 | umbrella header "Pods-FlexSwiftDemo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Yoga/Yoga-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Yoga : NSObject 3 | @end 4 | @implementation PodsDummy_Yoga 5 | @end 6 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Yoga/Yoga-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Yoga/Yoga-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "YGEnums.h" 14 | #import "YGMacros.h" 15 | #import "YGValue.h" 16 | #import "Yoga.h" 17 | 18 | FOUNDATION_EXPORT double yogaVersionNumber; 19 | FOUNDATION_EXPORT const unsigned char yogaVersionString[]; 20 | 21 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Yoga/Yoga.modulemap: -------------------------------------------------------------------------------- 1 | framework module yoga { 2 | umbrella header "Yoga-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example_swift/Pods/Target Support Files/Yoga/Yoga.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Yoga 2 | DEFINES_MODULE = YES 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/Yoga 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example_swift/Pods/Yoga/LICENSE-examples: -------------------------------------------------------------------------------- 1 | The examples provided by Facebook are for non-commercial testing and evaluation 2 | purposes only. Facebook reserves all rights not expressly granted. 3 | 4 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 5 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 6 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 7 | FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 8 | ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 9 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /Example_swift/Pods/Yoga/yoga/YGMarker.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #include "YGMarker.h" 8 | #include "YGConfig.h" 9 | 10 | void YGConfigSetMarkerCallbacks( 11 | YGConfigRef config, 12 | YGMarkerCallbacks markerCallbacks) { 13 | config->markerCallbacks = markerCallbacks; 14 | } 15 | -------------------------------------------------------------------------------- /Example_swift/Pods/Yoga/yoga/YGNodePrint.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #ifdef DEBUG 8 | #pragma once 9 | #include 10 | 11 | #include "Yoga.h" 12 | 13 | namespace facebook { 14 | namespace yoga { 15 | 16 | void YGNodeToString( 17 | std::string& str, 18 | YGNodeRef node, 19 | YGPrintOptions options, 20 | uint32_t level); 21 | 22 | } // namespace yoga 23 | } // namespace facebook 24 | #endif 25 | -------------------------------------------------------------------------------- /Example_swift/Pods/Yoga/yoga/YGValue.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #include "YGValue.h" 8 | 9 | const YGValue YGValueZero = {0, YGUnitPoint}; 10 | const YGValue YGValueUndefined = {YGUndefined, YGUnitUndefined}; 11 | const YGValue YGValueAuto = {YGUndefined, YGUnitAuto}; 12 | -------------------------------------------------------------------------------- /Example_swift/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | @import Specta; 6 | @import Expecta; 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /Example_swift/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example_swift/Tests/zh-Hans.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /FlexLib/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/FlexLib/Assets/.gitkeep -------------------------------------------------------------------------------- /FlexLib/Assets/Base.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | // keyboard toolbar 11 | "Prev" = "Prev"; 12 | "Next" = "Next"; 13 | "Send" = "Send"; 14 | "Finish" = "Finish"; 15 | 16 | 17 | -------------------------------------------------------------------------------- /FlexLib/Assets/zh-Hans.lproj/Localizable.strings: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | // keyboard toolbar 11 | "Prev" = "上一个"; 12 | "Next" = "下一个"; 13 | "Send" = "发送"; 14 | "Finish" = "完成"; 15 | 16 | -------------------------------------------------------------------------------- /FlexLib/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/FlexLib/Classes/.gitkeep -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexCollectionView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | @interface FlexCollectionView : UICollectionView 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexCollectionView.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "FlexCollectionView.h" 11 | 12 | @implementation FlexCollectionView 13 | 14 | - (instancetype)init 15 | { 16 | UICollectionViewFlowLayout *layout=[[UICollectionViewFlowLayout alloc]init]; 17 | return [super initWithFrame:CGRectZero collectionViewLayout: layout]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | @interface FlexContainerView : UIView 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexContainerView.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "FlexContainerView.h" 11 | #import "FlexRootView.h" 12 | 13 | @implementation FlexContainerView 14 | 15 | -(CGSize)sizeThatFits:(CGSize)size 16 | { 17 | for (UIView* subview in self.subviews) { 18 | if(!subview.hidden && 19 | [subview isFlexLayoutEnable]) 20 | { 21 | return [super sizeThatFits:size]; 22 | } 23 | } 24 | 25 | return CGSizeZero; 26 | } 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexExpression.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | typedef double (^FlexMacro)(void); 15 | 16 | /** 17 | * 设置自定义宏,宏可以用在表达式里面,如果宏名称和已有的重名,将会覆盖掉原来的宏 18 | */ 19 | void FlexRegisterMacro(NSString* macroName,FlexMacro value); 20 | 21 | /** 22 | * 获取宏的值 23 | */ 24 | double FlexGetMacroValue(NSString* macro); 25 | 26 | /** 27 | * 计算表达式的值,比如 ScreenWidth / 3 + 20 28 | */ 29 | double FlexCalcExpression(NSString* expression); 30 | 31 | 32 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexModalView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | @class FlexRootView; 15 | 16 | @interface FlexModalView : UIView 17 | 18 | -(void)setOwnerRootView:(FlexRootView*)rootView; 19 | 20 | // 在底部、中心、顶部显示 21 | -(void)showModalInView:(UIView*)view Anim:(BOOL)anim; 22 | 23 | //在绝对位置显示 24 | -(void)showModalInView:(UIView*)view Position:(CGPoint)topLeft Anim:(BOOL)anim; 25 | 26 | //隐藏 27 | -(void)hideModal:(BOOL)anim; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | @class FlexRootView; 14 | 15 | @interface FlexScrollView : UIScrollView 16 | 17 | @property(nonatomic,readonly) FlexRootView* contentView; 18 | 19 | @property(nonatomic,assign) BOOL horizontal; 20 | @property(nonatomic,assign) BOOL vertical; 21 | 22 | // 移除subview,主要目的是解除事件通知 23 | -(void)removeSubView:(UIView*)view; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | @interface FlexTouchMaskView : UIView 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexTouchMaskView.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "FlexTouchMaskView.h" 11 | #import "UIView+Yoga.h" 12 | 13 | @implementation FlexTouchMaskView 14 | 15 | -(void)markChildDirty:(UIView*)child 16 | { 17 | } 18 | -(void)postCreate 19 | { 20 | self.superview.clipsToBounds = YES ; 21 | self.hidden = YES; 22 | } 23 | @end 24 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | typedef void(^OnTouchEvent)(BOOL bPressed); 14 | 15 | @interface FlexTouchView : UIView 16 | 17 | @property(nonatomic,copy) OnTouchEvent onTouch; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIActivityIndicatorView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIActivityIndicatorView (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIButton+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIButton (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIControl+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIControl (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIDatePicker (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIImageView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface UIImageView (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIPageControl+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIPageControl (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIPickerView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIPickerView (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIPickerView+Flex.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import "UIPickerView+Flex.h" 13 | #import "UIView+Flex.h" 14 | #import 15 | #import "../FlexUtils.h" 16 | 17 | 18 | @implementation UIPickerView (Flex) 19 | 20 | FLEXSET(showSelIndicator) 21 | { 22 | self.showsSelectionIndicator = String2BOOL(sValue); 23 | } 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIProgressView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIProgressView (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | 14 | @interface UIScrollView (Flex) 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UISearchBar+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UISearchBar (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UISegmentedControl+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | 14 | @interface UISegmentedControl (Flex) 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UISegmentedControl+Flex.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import "UISegmentedControl+Flex.h" 12 | #import "UIView+Flex.h" 13 | #import 14 | #import "../FlexUtils.h" 15 | 16 | 17 | @implementation UISegmentedControl (Flex) 18 | 19 | 20 | FLEXSET(selectedIndex) 21 | { 22 | self.selectedSegmentIndex = [sValue integerValue]; 23 | } 24 | FLEXSET(tintColor) 25 | { 26 | self.tintColor = colorFromString(sValue,owner); 27 | } 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UISlider+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UISlider (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIStepper+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | 14 | @interface UIStepper (Flex) 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UISwitch+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UISwitch (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UITabBar+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UITabBar (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UITextField+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface UITextField (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UITextView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface UITextView (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /FlexLib/Classes/Flexlib/ViewExt/UIToolbar+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface UIToolbar (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /FlexLib/Classes/YogaKit/YGKLayout+Private.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #import "YGKLayout.h" 8 | #import "Yoga.h" 9 | 10 | @interface YGLayout () 11 | 12 | @property (nonatomic, assign, readonly) YGNodeRef node; 13 | 14 | - (instancetype)initWithView:(UIView *)view; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /FlexLib/Classes/yoga/YGNodePrint.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #ifdef DEBUG 9 | #pragma once 10 | #include 11 | 12 | #include "Yoga.h" 13 | 14 | namespace facebook { 15 | namespace yoga { 16 | 17 | void YGNodeToString( 18 | std::string& str, 19 | YGNodeRef node, 20 | YGPrintOptions options, 21 | uint32_t level); 22 | 23 | } // namespace yoga 24 | } // namespace facebook 25 | #endif 26 | -------------------------------------------------------------------------------- /FlexLib/Classes/yoga/YGValue.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #include "YGValue.h" 9 | 10 | const YGValue YGValueZero = {0, YGUnitPoint}; 11 | const YGValue YGValueUndefined = {YGUndefined, YGUnitUndefined}; 12 | const YGValue YGValueAuto = {YGUndefined, YGUnitAuto}; 13 | -------------------------------------------------------------------------------- /FlexLib/Classes/yoga/internal/experiments.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #pragma once 9 | 10 | #include 11 | 12 | namespace facebook { 13 | namespace yoga { 14 | namespace internal { 15 | 16 | enum struct Experiment : size_t { 17 | kDoubleMeasureCallbacks, 18 | }; 19 | 20 | void enable(Experiment); 21 | void disable(Experiment); 22 | bool toggle(Experiment); 23 | 24 | } // namespace internal 25 | } // namespace yoga 26 | } // namespace facebook 27 | -------------------------------------------------------------------------------- /FlexLibPreview/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhenglibao/FlexLib/e9b5d3d36e18de40a7014b16ba5f3ecaf34f73a5/FlexLibPreview/Assets/.gitkeep -------------------------------------------------------------------------------- /FlexLibPreview/Assets/FlexLayoutViewerVC.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexHttpVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "FlexBaseVC.h" 11 | 12 | @interface FlexHttpVC : FlexBaseVC 13 | 14 | @property(nonatomic,copy) NSString* url; 15 | 16 | +(void)presentInVC:(UIViewController*)parentVC; 17 | 18 | +(NSMutableArray*)extractLinks:(NSString*)data; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexLayoutViewerVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import "FlexBaseVC.h" 12 | 13 | @interface FlexLayoutViewerVC : FlexBaseVC 14 | 15 | +(void)presentInVC:(UIViewController*)parentVC; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexLibPreview.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import "FlexHttpVC.h" 12 | #import "FlexLayoutViewerVC.h" 13 | #import "FlexSetPreviewVC.h" 14 | 15 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexPreviewUtil.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #ifndef FlexPreviewUtil_h 11 | #define FlexPreviewUtil_h 12 | 13 | #define FlexPreviewLocalizeString(key) \ 14 | [FlexPreviewBundle() localizedStringForKey:key value:@"" table:nil] 15 | 16 | 17 | NSBundle* FlexPreviewBundle(void); 18 | 19 | #endif /* FlexPreviewUtil_h */ 20 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexPreviewUtil.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | #import "FlexHttpVC.h" 12 | 13 | NSBundle* FlexPreviewBundle(void) 14 | { 15 | NSString* flexPath = [[NSBundle bundleForClass:[FlexHttpVC class]]resourcePath]; 16 | flexPath = [flexPath stringByAppendingPathComponent:@"FlexLibPreview.bundle"]; 17 | return [NSBundle bundleWithPath:flexPath]; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /FlexLibPreview/Classes/FlexSetPreviewVC.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import "FlexBaseVC.h" 12 | 13 | @interface FlexSetPreviewVC : FlexBaseVC 14 | 15 | +(void)presentInVC:(UIViewController*)parentVC; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /macosx/Classes/FlexContainerView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | #import "UIView.h" 13 | 14 | @interface FlexContainerView : UIView 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /macosx/Classes/FlexScrollView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | @class FlexRootView; 14 | 15 | @interface FlexScrollView : NSScrollView 16 | 17 | @property(nonatomic,readonly) FlexRootView* flexRootView; 18 | 19 | @property(nonatomic,assign) BOOL horizontal; 20 | @property(nonatomic,assign) BOOL vertical; 21 | 22 | -(void)addSubviewFromXml:(NSView*)view; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /macosx/Classes/FlexTouchMaskView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | @interface FlexTouchMaskView : NSView 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /macosx/Classes/FlexTouchMaskView.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import "FlexTouchMaskView.h" 11 | #import "YogaKit/NSView+Yoga.h" 12 | 13 | @implementation FlexTouchMaskView 14 | 15 | -(void)markChildDirty:(NSView*)child 16 | { 17 | } 18 | -(void)postCreate 19 | { 20 | self.hidden = YES; 21 | } 22 | @end 23 | -------------------------------------------------------------------------------- /macosx/Classes/FlexTouchView.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | typedef void(^OnTouchEvent)(BOOL bPressed); 14 | 15 | @interface FlexTouchView : NSView 16 | 17 | @property(nonatomic,copy) OnTouchEvent onTouch; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /macosx/Classes/FlexXmlBaseView.h: -------------------------------------------------------------------------------- 1 | // 2 | // FlexXmlBaseView.h 3 | // Expecta 4 | // 5 | // Created by 郑立宝 on 2019/2/2. 6 | // 7 | 8 | #import 9 | 10 | @class FlexRootView; 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | /* 15 | * 用来制作基于xml的组件的基类,该类与FlexCustomBaseView的区别是: 16 | * FlexCustomBaseView的派生类既可以用在xml中,也可以像传统的NSView派生类 17 | * 那样使用initWithFrame创建,缺点是会额外的增加多余的视图层级 18 | * FlexXmlBaseView能使用在xml文件中,可以通过initWithRootView方式创建,但不能通过 19 | * initWithFrame创建,也不能能直接设置frame,优点是更加轻量级,不会增加额外的视图层级 20 | */ 21 | 22 | @interface FlexXmlBaseView : NSView 23 | 24 | /// 用代码的方式创建视图组件 25 | -(instancetype)initWithRootView:(FlexRootView*)rootView; 26 | 27 | /// 子类可以重写这个方法来做额外的初始化工作 28 | -(void)onInit; 29 | 30 | @end 31 | 32 | NS_ASSUME_NONNULL_END 33 | -------------------------------------------------------------------------------- /macosx/Classes/UIImageView.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView.h 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/11/20. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UIImageView : NSImageView 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /macosx/Classes/UIImageView.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIImageView.m 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/11/20. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import "UIImageView.h" 10 | 11 | @implementation UIImageView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /macosx/Classes/UILabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // UILabel.h 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/11/19. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UILabel : NSTextField 14 | 15 | @property(nonatomic,assign) NSTextAlignment textAlignment; 16 | @property(nonatomic,assign) NSInteger numberOfLines; 17 | @property(nonatomic,strong) NSString* text; 18 | @property(nonatomic,strong) NSAttributedString* attributedText; 19 | 20 | @end 21 | 22 | NS_ASSUME_NONNULL_END 23 | -------------------------------------------------------------------------------- /macosx/Classes/UITextField.h: -------------------------------------------------------------------------------- 1 | // 2 | // UITextField.h 3 | // FlexLibOsx 4 | // 5 | // Created by 郑立宝 on 2020/6/18. 6 | // 7 | 8 | #import 9 | 10 | NS_ASSUME_NONNULL_BEGIN 11 | 12 | @interface UITextField : NSTextField 13 | 14 | @end 15 | 16 | NS_ASSUME_NONNULL_END 17 | -------------------------------------------------------------------------------- /macosx/Classes/UIView.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView.h 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/11/20. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | NS_ASSUME_NONNULL_BEGIN 12 | 13 | @interface UIView : NSView 14 | 15 | @end 16 | 17 | NS_ASSUME_NONNULL_END 18 | -------------------------------------------------------------------------------- /macosx/Classes/UIView.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView.m 3 | // FlexViewer 4 | // 5 | // Created by 郑立宝 on 2019/11/20. 6 | // Copyright © 2019 郑立宝. All rights reserved. 7 | // 8 | 9 | #import "UIView.h" 10 | 11 | @implementation UIView 12 | 13 | - (BOOL)isFlipped 14 | { 15 | return YES; 16 | } 17 | @end 18 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSButton+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface NSButton (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSControl+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface NSControl (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSDatePicker+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface NSDatePicker (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSImageView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface NSImageView (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSScrollView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | 14 | @interface NSScrollView (Flex) 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSSlider+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | 12 | #import 13 | 14 | 15 | @interface NSSlider (Flex) 16 | 17 | 18 | @end 19 | 20 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSStepper+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | 11 | #import 12 | 13 | 14 | @interface NSStepper (Flex) 15 | 16 | 17 | @end 18 | 19 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSTextField+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface NSTextField (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /macosx/Classes/ViewExt/NSTextView+Flex.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2017-present, zhenglibao, Inc. 3 | * email: 798393829@qq.com 4 | * All rights reserved. 5 | * 6 | * This source code is licensed under the MIT-style license found in the 7 | * LICENSE file in the root directory of this source tree. 8 | */ 9 | 10 | #import 11 | 12 | 13 | @interface NSTextView (Flex) 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /macosx/Classes/YogaKit/YGLayout+Private.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the LICENSE 5 | * file in the root directory of this source tree. 6 | */ 7 | #import "YGLayout.h" 8 | #import 9 | 10 | @interface YGLayout () 11 | 12 | @property (nonatomic, assign, readonly) YGNodeRef node; 13 | 14 | - (instancetype)initWithView:(NSView *)view; 15 | 16 | @end 17 | --------------------------------------------------------------------------------