├── .gitignore ├── README.md ├── STKitDemo.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcshareddata │ │ └── STKitDemo.xccheckout │ └── xcuserdata │ │ └── sunjiangting.xcuserdatad │ │ └── UserInterfaceState.xcuserstate └── xcuserdata │ ├── Suen.xcuserdatad │ └── xcschemes │ │ ├── STKitDemo.xcscheme │ │ └── xcschememanagement.plist │ └── sunjiangting.xcuserdatad │ ├── xcdebugger │ └── Breakpoints_v2.xcbkptlist │ └── xcschemes │ ├── STKitDemo-InHouse.xcscheme │ ├── STKitDemo.xcscheme │ └── xcschememanagement.plist ├── STKitDemo ├── Classes │ ├── 3rdLibs │ │ ├── MZCroppableView │ │ │ ├── MZCroppableView.h │ │ │ ├── MZCroppableView.m │ │ │ ├── UIBezierPath-Points.h │ │ │ └── UIBezierPath-Points.m │ │ ├── PingTester │ │ │ ├── SimplePing.h │ │ │ └── SimplePing.m │ │ └── SphereView │ │ │ ├── PFGoldenSectionSpiral.h │ │ │ ├── PFGoldenSectionSpiral.m │ │ │ ├── ZYQSphereView.h │ │ │ └── ZYQSphereView.m │ ├── BaseUI │ │ ├── STAlertView.h │ │ ├── STAlertView.m │ │ ├── STDCardTransitionDelegate.h │ │ ├── STDCardTransitionDelegate.m │ │ ├── STDCoreDataManager.h │ │ ├── STDCoreDataManager.m │ │ ├── STDLoadingView.h │ │ ├── STDLoadingView.m │ │ ├── STDRefreshControl.h │ │ ├── STDRefreshControl.m │ │ ├── STDRotateTransitionDelegate.h │ │ ├── STDRotateTransitionDelegate.m │ │ ├── STDScrollViewController.h │ │ ├── STDScrollViewController.m │ │ ├── STDTabBarController.h │ │ ├── STDTabBarController.m │ │ ├── STDTableViewController.h │ │ ├── STDTableViewController.m │ │ ├── STDTextTableViewController.h │ │ ├── STDTextTableViewController.m │ │ ├── STDTransitionDelegate.h │ │ ├── STDTransitionDelegate.m │ │ ├── STDViewController.h │ │ ├── STDViewController.m │ │ ├── STDropMenuView.h │ │ ├── STDropMenuView.m │ │ ├── STMenuView.h │ │ ├── STMenuView.m │ │ ├── SideBar │ │ │ ├── STDLeftViewController.h │ │ │ ├── STDLeftViewController.m │ │ │ ├── STDSideBarController.h │ │ │ └── STDSideBarController.m │ │ └── TBLoading │ │ │ ├── 01@2x.png │ │ │ ├── 02@2x.png │ │ │ ├── 03@2x.png │ │ │ ├── 04@2x.png │ │ │ ├── 05@2x.png │ │ │ ├── 06@2x.png │ │ │ ├── 07@2x.png │ │ │ └── 08@2x.png │ ├── Modules │ │ ├── Components │ │ │ ├── Image │ │ │ │ ├── STDCardViewController.h │ │ │ │ ├── STDCardViewController.m │ │ │ │ ├── STDFeedCell.h │ │ │ │ ├── STDFeedCell.m │ │ │ │ ├── STDFeedImageView.h │ │ │ │ ├── STDFeedImageView.m │ │ │ │ ├── STDFeedItem.h │ │ │ │ ├── STDFeedItem.m │ │ │ │ ├── STDFeedViewController.h │ │ │ │ ├── STDFeedViewController.m │ │ │ │ ├── STDownloadViewController.h │ │ │ │ └── STDownloadViewController.m │ │ │ ├── STDImageBlurViewController.h │ │ │ ├── STDImageBlurViewController.m │ │ │ ├── STDNavigationTestViewController.h │ │ │ ├── STDNavigationTestViewController.m │ │ │ ├── STDScrollViewController.h │ │ │ ├── STDScrollViewController.m │ │ │ ├── STDemoViewController.h │ │ │ ├── STDemoViewController.m │ │ │ └── TextLayout │ │ │ │ ├── STDAboutViewController.h │ │ │ │ ├── STDAboutViewController.m │ │ │ │ ├── STDLinkViewController.h │ │ │ │ ├── STDLinkViewController.m │ │ │ │ ├── STDTextViewController.h │ │ │ │ └── STDTextViewController.m │ │ ├── DesignPatterns │ │ │ ├── Creational │ │ │ │ ├── STDAbstractFactory.h │ │ │ │ ├── STDAbstractFactory.m │ │ │ │ ├── STDBuilder.h │ │ │ │ ├── STDBuilder.m │ │ │ │ ├── STDFactoryMethod.h │ │ │ │ ├── STDFactoryMethod.m │ │ │ │ ├── STDPrototype.h │ │ │ │ ├── STDPrototype.m │ │ │ │ ├── STDSingleton.h │ │ │ │ └── STDSingleton.m │ │ │ ├── STDesignPatterns.h │ │ │ └── Structural │ │ │ │ ├── STDAdapter.h │ │ │ │ ├── STDAdapter.m │ │ │ │ ├── STDBridge.h │ │ │ │ ├── STDBridge.m │ │ │ │ ├── STDFacade.h │ │ │ │ ├── STDFacade.m │ │ │ │ ├── STDProxy.h │ │ │ │ └── STDProxy.m │ │ ├── STDSideBar │ │ │ ├── STDMapViewController.h │ │ │ ├── STDMapViewController.m │ │ │ └── STDMapViewController.xib │ │ ├── STDStartViewController.h │ │ ├── STDStartViewController.m │ │ ├── STQRCode │ │ │ ├── scan_background@2x.png │ │ │ └── scan_line@2x.png │ │ ├── Services │ │ │ ├── Algorithm │ │ │ │ ├── STACodeViewController.h │ │ │ │ ├── STACodeViewController.m │ │ │ │ ├── STAHanoiOperation.h │ │ │ │ ├── STAHanoiOperation.m │ │ │ │ ├── STAHanoiView.h │ │ │ │ ├── STAHanoiView.m │ │ │ │ ├── STAHanoiViewController.h │ │ │ │ ├── STAHanoiViewController.m │ │ │ │ ├── STARootViewController.h │ │ │ │ ├── STARootViewController.m │ │ │ │ ├── STASortDefines.h │ │ │ │ ├── STASortOperation.h │ │ │ │ ├── STASortOperation.m │ │ │ │ ├── STASortView.h │ │ │ │ ├── STASortView.m │ │ │ │ ├── STASortViewController.h │ │ │ │ └── STASortViewController.m │ │ │ ├── BookReader │ │ │ │ ├── STDBookViewController.h │ │ │ │ ├── STDBookViewController.m │ │ │ │ ├── STDReaderViewController.h │ │ │ │ ├── STDReaderViewController.m │ │ │ │ ├── STRichView.h │ │ │ │ ├── STRichView.m │ │ │ │ └── book.txt │ │ │ ├── BoxMan │ │ │ │ └── Resources │ │ │ │ │ └── Image │ │ │ │ │ ├── background.png │ │ │ │ │ ├── background@2x.png │ │ │ │ │ ├── boxman │ │ │ │ │ ├── boxman_down.png │ │ │ │ │ ├── boxman_down@2x.png │ │ │ │ │ ├── boxman_left.png │ │ │ │ │ ├── boxman_left@2x.png │ │ │ │ │ ├── boxman_right.png │ │ │ │ │ ├── boxman_right@2x.png │ │ │ │ │ ├── boxman_up.png │ │ │ │ │ ├── boxman_up@2x.png │ │ │ │ │ ├── man_baby.png │ │ │ │ │ ├── man_baby@2x.png │ │ │ │ │ ├── man_baby_down.png │ │ │ │ │ ├── man_baby_down@2x.png │ │ │ │ │ ├── man_baby_left.png │ │ │ │ │ ├── man_baby_left@2x.png │ │ │ │ │ ├── man_baby_right.png │ │ │ │ │ ├── man_baby_right@2x.png │ │ │ │ │ ├── man_baby_up.png │ │ │ │ │ └── man_baby_up@2x.png │ │ │ │ │ ├── level │ │ │ │ │ ├── level_1_thumb.png │ │ │ │ │ ├── level_1_thumb@2x.png │ │ │ │ │ ├── level_2_thumb.png │ │ │ │ │ ├── level_2_thumb@2x.png │ │ │ │ │ ├── level_3_thumb.png │ │ │ │ │ ├── level_3_thumb@2x.png │ │ │ │ │ ├── level_4_thumb.png │ │ │ │ │ ├── level_4_thumb@2x.png │ │ │ │ │ ├── level_bkg.png │ │ │ │ │ ├── level_bkg@2x.png │ │ │ │ │ ├── level_border.png │ │ │ │ │ ├── level_border@2x.png │ │ │ │ │ ├── level_thumb.png │ │ │ │ │ └── level_thumb@2x.png │ │ │ │ │ ├── material │ │ │ │ │ ├── balloon.png │ │ │ │ │ ├── balloon@2x.png │ │ │ │ │ ├── box.png │ │ │ │ │ ├── box@2x.png │ │ │ │ │ ├── green_road.png │ │ │ │ │ ├── green_road@2x.png │ │ │ │ │ ├── green_shrub.png │ │ │ │ │ ├── green_shrub@2x.png │ │ │ │ │ ├── green_tree.png │ │ │ │ │ ├── green_tree@2x.png │ │ │ │ │ ├── house_blue.png │ │ │ │ │ ├── house_blue@2x.png │ │ │ │ │ ├── house_red.png │ │ │ │ │ ├── house_red@2x.png │ │ │ │ │ ├── house_yellow.png │ │ │ │ │ ├── house_yellow@2x.png │ │ │ │ │ ├── pool_down.png │ │ │ │ │ ├── pool_down@2x.png │ │ │ │ │ ├── pool_left.png │ │ │ │ │ ├── pool_left@2x.png │ │ │ │ │ ├── pool_right.png │ │ │ │ │ ├── pool_right@2x.png │ │ │ │ │ ├── pool_up.png │ │ │ │ │ ├── pool_up@2x.png │ │ │ │ │ ├── red_barricade.png │ │ │ │ │ ├── red_barricade@2x.png │ │ │ │ │ ├── red_wall.png │ │ │ │ │ ├── red_wall@2x.png │ │ │ │ │ ├── scenery_tree.png │ │ │ │ │ ├── scenery_tree@2x.png │ │ │ │ │ ├── yellow_flower.png │ │ │ │ │ └── yellow_flower@2x.png │ │ │ │ │ └── menu │ │ │ │ │ ├── introduce.png │ │ │ │ │ ├── introduce@2x.png │ │ │ │ │ ├── menu.png │ │ │ │ │ ├── menu@2x.png │ │ │ │ │ ├── next.png │ │ │ │ │ ├── next@2x.png │ │ │ │ │ ├── previous.png │ │ │ │ │ ├── previous@2x.png │ │ │ │ │ ├── reset.png │ │ │ │ │ ├── reset@2x.png │ │ │ │ │ ├── start.png │ │ │ │ │ └── start@2x.png │ │ │ ├── CoreData │ │ │ │ ├── Entity │ │ │ │ │ ├── STDEntityDefines.h │ │ │ │ │ ├── STDImage.h │ │ │ │ │ ├── STDImage.m │ │ │ │ │ ├── STDMessage.h │ │ │ │ │ ├── STDMessage.m │ │ │ │ │ ├── STDSession.h │ │ │ │ │ ├── STDSession.m │ │ │ │ │ ├── STDUser.h │ │ │ │ │ └── STDUser.m │ │ │ │ ├── STDBaseChatCell.h │ │ │ │ ├── STDBaseChatCell.m │ │ │ │ ├── STDChat.h │ │ │ │ ├── STDChat.m │ │ │ │ ├── STDChatInputView.h │ │ │ │ ├── STDChatInputView.m │ │ │ │ ├── STDChatViewController.h │ │ │ │ ├── STDChatViewController.m │ │ │ │ ├── STDImageChatCell.h │ │ │ │ ├── STDImageChatCell.m │ │ │ │ ├── STDModel.xcdatamodeld │ │ │ │ │ ├── .xccurrentversion │ │ │ │ │ ├── STDModel 2.xcdatamodel │ │ │ │ │ │ └── contents │ │ │ │ │ └── STDModel.xcdatamodel │ │ │ │ │ │ └── contents │ │ │ │ ├── STDTextChatCell.h │ │ │ │ ├── STDTextChatCell.m │ │ │ │ └── TestChat │ │ │ │ │ ├── chat_image_1.jpg │ │ │ │ │ ├── chat_image_2.jpg │ │ │ │ │ ├── chat_image_3.jpg │ │ │ │ │ ├── chat_image_4.jpg │ │ │ │ │ ├── chat_image_5.jpg │ │ │ │ │ ├── chat_image_6.jpg │ │ │ │ │ ├── chat_image_7.jpg │ │ │ │ │ └── chat_image_8.jpg │ │ │ ├── Image │ │ │ │ └── frame │ │ │ │ │ └── SlideSwitch │ │ │ │ │ └── resources │ │ │ │ │ ├── icon_rightarrow.png │ │ │ │ │ ├── icon_rightarrow@2x.png │ │ │ │ │ └── red_line_and_shadow@2x.png │ │ │ ├── Recorder │ │ │ │ ├── SCSiriWaveformView.h │ │ │ │ ├── SCSiriWaveformView.m │ │ │ │ ├── STDAboutAudioViewController.h │ │ │ │ ├── STDAboutAudioViewController.m │ │ │ │ ├── STDRecordViewController.h │ │ │ │ ├── STDRecordViewController.m │ │ │ │ ├── STWaveBarView.h │ │ │ │ └── STWaveBarView.m │ │ │ ├── STDServiceViewController.h │ │ │ └── STDServiceViewController.m │ │ └── Settings │ │ │ ├── Debug │ │ │ ├── STDAuthorization.h │ │ │ ├── STDAuthorization.m │ │ │ ├── STDDebugPingViewController.h │ │ │ ├── STDDebugPingViewController.m │ │ │ ├── STDLocationPickerController.h │ │ │ ├── STDLocationPickerController.m │ │ │ ├── STDPingServices.h │ │ │ ├── STDPingServices.m │ │ │ ├── STDebugFoundation.h │ │ │ └── STDebugFoundation.m │ │ │ ├── STDButton.h │ │ │ ├── STDButton.m │ │ │ ├── STDFontViewController.h │ │ │ ├── STDFontViewController.m │ │ │ ├── STDMoreViewController.h │ │ │ ├── STDMoreViewController.m │ │ │ ├── STDNavigationSettingViewController.h │ │ │ ├── STDNavigationSettingViewController.m │ │ │ ├── STDNavigationSettingViewController.xib │ │ │ ├── STDSettingViewController.h │ │ │ └── STDSettingViewController.m │ └── STKit.framework │ │ ├── Headers │ │ ├── Foundation+STKit.h │ │ ├── NSData+STGZip.h │ │ ├── STAESCryptor.h │ │ ├── STAlbumManager.h │ │ ├── STApplicationContext.h │ │ ├── STAudioCenter.h │ │ ├── STAudioRecorder.h │ │ ├── STButton.h │ │ ├── STCategories.h │ │ ├── STCollectionViewFlowLayout.h │ │ ├── STControlDefines.h │ │ ├── STCoreDataManager.h │ │ ├── STDefines.h │ │ ├── STGIFGenerator.h │ │ ├── STHTTPConfiguration.h │ │ ├── STHTTPNetwork.h │ │ ├── STHTTPOperation.h │ │ ├── STHTTPRequest.h │ │ ├── STImage.h │ │ ├── STImageCache.h │ │ ├── STImageCollectionView.h │ │ ├── STImageLoader.h │ │ ├── STImagePickerController.h │ │ ├── STImagePresent.h │ │ ├── STImageScrollView.h │ │ ├── STImageView.h │ │ ├── STImageViewController.h │ │ ├── STIndicatorView.h │ │ ├── STJavaScriptBridge.h │ │ ├── STKeychain.h │ │ ├── STKit.h │ │ ├── STLabel.h │ │ ├── STLinkLabel.h │ │ ├── STLocationManager.h │ │ ├── STModel.h │ │ ├── STModelViewController.h │ │ ├── STNavigationBar.h │ │ ├── STNavigationController.h │ │ ├── STNetworkConfiguration.h │ │ ├── STNotificationWindow.h │ │ ├── STObject.h │ │ ├── STPaginationControl.h │ │ ├── STPayManager.h │ │ ├── STPayViewController.h │ │ ├── STPersistence.h │ │ ├── STPopoverView.h │ │ ├── STRSACryptor.h │ │ ├── STRateControl.h │ │ ├── STReachability.h │ │ ├── STRefreshControl.h │ │ ├── STRoundProgressView.h │ │ ├── STScrollDirector.h │ │ ├── STSearchBar.h │ │ ├── STSearchDisplayController.h │ │ ├── STShadow.h │ │ ├── STSideBarController.h │ │ ├── STStringTokenizer.h │ │ ├── STTabBar.h │ │ ├── STTabBarController.h │ │ ├── STTabBarItem.h │ │ ├── STTableView.h │ │ ├── STTableViewCell.h │ │ ├── STTableViewController.h │ │ ├── STTextView.h │ │ ├── STTheme.h │ │ ├── STThemeManager.h │ │ ├── STTrashManager.h │ │ ├── STURLCache.h │ │ ├── STViewController.h │ │ ├── STWaveAnalysis.h │ │ ├── STWebViewController.h │ │ ├── STZipArchive.h │ │ ├── UIAlertView+STBlock.h │ │ ├── UIImageView+STImageLoader.h │ │ ├── UIKit+STKit.h │ │ ├── UIView+STConstraint.h │ │ └── fft.h │ │ ├── Info.plist │ │ └── STKit ├── Images.xcassets │ ├── AppIcon.appiconset │ │ ├── Icon-60@2x.png │ │ ├── Icon-Small.png │ │ ├── Icon-Small@2x.png │ │ ├── Icon-Spotlight-40@2x.png │ │ ├── Icon.png │ │ └── Icon@2x.png │ ├── Navigation │ │ ├── navigation_highlighted.imageset │ │ │ └── navigation_highlighted@2x.png │ │ └── navigation_menu.imageset │ │ │ ├── navigation_menu.png │ │ │ └── navigation_menu@2x.png │ ├── SideBar │ │ ├── SideBarAvatar_highlighted.imageset │ │ │ └── SideBarAvatar_highlighted@2x.png │ │ ├── SideBarAvatar_normal.imageset │ │ │ └── SideBarAvatar_normal@2x.png │ │ ├── SideBarNearby_highlighted.imageset │ │ │ └── SideBarNearby_highlighted@2x.png │ │ ├── SideBarNearby_normal.imageset │ │ │ └── SideBarNearby_normal@2x.png │ │ ├── SideBarSetting_highlighted.imageset │ │ │ └── SideBarSetting_highlighted@2x.png │ │ ├── SideBarSetting_normal.imageset │ │ │ └── SideBarSetting_normal@2x.png │ │ ├── SideBarShare_highlighted.imageset │ │ │ └── SideBarShare_highlighted@2x.png │ │ └── SideBarShare_normal.imageset │ │ │ └── SideBarShare_normal@2x.png │ ├── ViewController │ │ ├── left_account_header.imageset │ │ │ ├── left_account_header.png │ │ │ └── left_account_header@2x.png │ │ └── left_bkg.imageset │ │ │ └── left_bkg@2x.png │ ├── navigation_back_highlighted.imageset │ │ ├── navigation_back_highlighted.png │ │ └── navigation_back_highlighted@2x.png │ ├── navigation_back_normal.imageset │ │ ├── navigation_back_normal.png │ │ └── navigation_back_normal@2x.png │ ├── viewer_zoom_in.imageset │ │ ├── viewer_zoom_in.png │ │ └── viewer_zoom_in@2x.png │ └── viewer_zoom_out.imageset │ │ ├── viewer_zoom_out.png │ │ └── viewer_zoom_out@2x.png ├── LaunchScreen.xib ├── Main.storyboard ├── Resources │ ├── STDLoading │ │ ├── 01@2x.png │ │ ├── 02@2x.png │ │ ├── 03@2x.png │ │ ├── 04@2x.png │ │ ├── 05@2x.png │ │ ├── 06@2x.png │ │ ├── 07@2x.png │ │ └── 08@2x.png │ ├── licenses.html │ ├── shangxin_292182.jpg │ └── shangxin_292182@2x.jpg ├── STDAppDelegate.h ├── STDAppDelegate.m ├── STDemoImages.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── Icon-60@2x-1.png │ │ ├── Icon-60@2x.png │ │ ├── Icon-72.png │ │ ├── Icon-72@2x.png │ │ ├── Icon-76.png │ │ ├── Icon-76@2x.png │ │ ├── Icon-Small-50.png │ │ ├── Icon-Small-50@2x.png │ │ ├── Icon-Small.png │ │ ├── Icon-Small@2x.png │ │ ├── Icon-Spotlight-40.png │ │ ├── Icon-Spotlight-40@2x.png │ │ ├── Icon.png │ │ └── Icon@2x.png │ ├── Base │ │ ├── avatar72.imageset │ │ │ ├── Contents.json │ │ │ ├── avatar72.png │ │ │ └── avatar72@2x@2x.png │ │ └── navigation.imageset │ │ │ ├── Contents.json │ │ │ ├── navigation.png │ │ │ └── navigation@2x.png │ ├── Chat │ │ ├── bubble_image_green.imageset │ │ │ ├── Contents.json │ │ │ ├── bubble_image_green.png │ │ │ └── bubble_image_green@2x.png │ │ ├── bubble_image_white.imageset │ │ │ ├── Contents.json │ │ │ ├── bubble_image_white.png │ │ │ └── bubble_image_white@2x.png │ │ ├── bubble_text_green.imageset │ │ │ ├── Contents.json │ │ │ ├── bubble_text_green.png │ │ │ └── bubble_text_green@2x.png │ │ ├── bubble_text_white.imageset │ │ │ ├── Contents.json │ │ │ ├── bubble_text_white.png │ │ │ └── bubble_text_white@2x.png │ │ ├── chat_input_send_highlighted.imageset │ │ │ ├── Contents.json │ │ │ ├── chat_input_send_highlighted.png │ │ │ └── chat_input_send_highlighted@2x.png │ │ └── chat_input_send_normal.imageset │ │ │ ├── Contents.json │ │ │ ├── chat_input_send_normal.png │ │ │ └── chat_input_send_normal@2x.png │ ├── FeedCell │ │ ├── feed_cell_background.imageset │ │ │ ├── Contents.json │ │ │ └── feed_cell_background@2x.png │ │ ├── feed_cell_border.imageset │ │ │ ├── Contents.json │ │ │ └── feed_cell_border@2x.png │ │ └── feed_hot_icon.imageset │ │ │ ├── Contents.json │ │ │ └── feed_hot_icon@2x.png │ ├── LaunchImage.launchimage │ │ ├── Contents.json │ │ ├── Default-568h@2x.png │ │ ├── Default-667h@2x.png │ │ ├── Default-736h@3x.png │ │ ├── Default.png │ │ └── Default@2x.png │ ├── Navigation │ │ ├── nav_cancel_normal.imageset │ │ │ ├── Contents.json │ │ │ └── nav_cancel_normal@2x.png │ │ ├── nav_done_normal.imageset │ │ │ ├── Contents.json │ │ │ └── nav_done_normal@2x.png │ │ ├── nav_menu_normal.imageset │ │ │ ├── Contents.json │ │ │ └── nav_menu_normal@2x.png │ │ ├── nav_refresh_normal.imageset │ │ │ ├── Contents.json │ │ │ └── nav_refresh_normal@2x.png │ │ └── nav_setting_normal.imageset │ │ │ ├── Contents.json │ │ │ └── nav_setting_normal@2x.png │ ├── Porn │ │ ├── article_collect.imageset │ │ │ ├── Contents.json │ │ │ └── article_collect.pdf │ │ └── article_collected.imageset │ │ │ ├── Contents.json │ │ │ └── article_collected.pdf │ ├── Publish │ │ ├── choose_image_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── choose_image_highlighted@2x.png │ │ ├── choose_image_normal.imageset │ │ │ ├── Contents.json │ │ │ └── choose_image_normal@2x.png │ │ ├── hud_done.imageset │ │ │ ├── Contents.json │ │ │ └── hud_done@2x.png │ │ ├── product_default.imageset │ │ │ ├── Contents.json │ │ │ ├── product_default.png │ │ │ └── product_default@2x.png │ │ ├── publish_button_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── publish_button_highlighted@2x.png │ │ ├── publish_button_normal.imageset │ │ │ ├── Contents.json │ │ │ └── publish_button_normal@2x.png │ │ └── publish_tool_bkg.imageset │ │ │ ├── Contents.json │ │ │ ├── publish_tool_bkg.png │ │ │ └── publish_tool_bkg@2x.png │ ├── SearchBar │ │ ├── search_cancel_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── search_cancel_highlighted@2x.png │ │ ├── search_cancel_normal.imageset │ │ │ ├── Contents.json │ │ │ └── search_cancel_normal@2x.png │ │ ├── searchbar_bkg.imageset │ │ │ ├── Contents.json │ │ │ └── searchbar_bkg@2x.png │ │ └── textfield_delete_normal.imageset │ │ │ ├── Contents.json │ │ │ └── textfield_delete_normal@2x.png │ ├── SideBar │ │ ├── SideBarAvatar_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarAvatar_highlighted@2x.png │ │ ├── SideBarAvatar_normal.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarAvatar_normal@2x.png │ │ ├── SideBarNearby_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarNearby_highlighted@2x.png │ │ ├── SideBarNearby_normal.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarNearby_normal@2x.png │ │ ├── SideBarSetting_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarSetting_highlighted@2x.png │ │ ├── SideBarSetting_normal.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarSetting_normal@2x.png │ │ ├── SideBarShare_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarShare_highlighted@2x.png │ │ └── SideBarShare_normal.imageset │ │ │ ├── Contents.json │ │ │ └── SideBarShare_normal@2x.png │ ├── TabBar │ │ ├── tab_bkg.imageset │ │ │ ├── Contents.json │ │ │ └── tab_bkg@2x.png │ │ ├── tab_message_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── tab_message_highlighted@2x.png │ │ ├── tab_message_normal.imageset │ │ │ ├── Contents.json │ │ │ └── tab_message_normal@2x.png │ │ ├── tab_profile_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── tab_profile_highlighted@2x.png │ │ ├── tab_profile_normal.imageset │ │ │ ├── Contents.json │ │ │ └── tab_profile_normal@2x.png │ │ ├── tab_receipt_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── tab_receipt_highlighted@2x.png │ │ ├── tab_receipt_normal.imageset │ │ │ ├── Contents.json │ │ │ └── tab_receipt_normal@2x.png │ │ ├── tab_service_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── tab_service_highlighted@2x.png │ │ └── tab_service_normal.imageset │ │ │ ├── Contents.json │ │ │ └── tab_service_normal@2x.png │ ├── Test │ │ ├── button_bkg_highlighted.imageset │ │ │ ├── Contents.json │ │ │ └── button_bkg_highlighted@2x.png │ │ ├── button_bkg_normal.imageset │ │ │ ├── Contents.json │ │ │ └── button_bkg_normal@2x.png │ │ ├── home_search_left_normal.imageset │ │ │ ├── Contents.json │ │ │ └── home_search_left_normal@2x.png │ │ ├── home_search_right_normal.imageset │ │ │ ├── Contents.json │ │ │ └── home_search_right_normal@2x.png │ │ └── search_history_edit.imageset │ │ │ ├── Contents.json │ │ │ └── search_history_edit@2x.png │ ├── UIControls │ │ ├── Menu │ │ │ ├── wormhole0.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole0@2x.png │ │ │ ├── wormhole1.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole1@2x.png │ │ │ ├── wormhole2.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole2@2x.png │ │ │ ├── wormhole3.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole3@2x.png │ │ │ ├── wormhole4.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole4@2x.png │ │ │ └── wormhole5.imageset │ │ │ │ ├── Contents.json │ │ │ │ └── wormhole5@2x.png │ │ ├── aero_button.imageset │ │ │ ├── Contents.json │ │ │ └── aero_button@2x.png │ │ ├── viewer_zoom_in.imageset │ │ │ ├── Contents.json │ │ │ ├── viewer_zoom_in.png │ │ │ └── viewer_zoom_in@2x.png │ │ └── viewer_zoom_out.imageset │ │ │ ├── Contents.json │ │ │ ├── viewer_zoom_out.png │ │ │ └── viewer_zoom_out@2x.png │ ├── ViewController │ │ ├── left_account_header.imageset │ │ │ ├── Contents.json │ │ │ ├── left_account_header.png │ │ │ └── left_account_header@2x.png │ │ └── left_bkg.imageset │ │ │ ├── Contents.json │ │ │ └── left_bkg@2x.png │ └── terms.imageset │ │ ├── Contents.json │ │ └── terms@2x.png ├── STKitDemo-Info.plist ├── STKitDemo-Prefix.pch ├── STKitDemo.entitlements ├── STKitDemoInHouse-Info.plist ├── Settings.bundle │ ├── Root.plist │ └── en.lproj │ │ └── Root.strings ├── TemplateIcon2x.png ├── en.lproj │ └── InfoPlist.strings └── main.m ├── STKitDemoTests ├── DesignPatterns │ └── Creational │ │ ├── STDAbstractFactoryTests.m │ │ ├── STDFactoryMethodTests.m │ │ └── STDSingletonTests.m ├── Info.plist └── STKitDemoTests.m └── STKitWidget ├── Info.plist ├── MainInterface.storyboard ├── STKitWidgetInHouse-Info.plist ├── TodayViewController.h └── TodayViewController.m /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | *.swp 3 | *project.xcworkspace 4 | *contents.xcworkspacedata 5 | *.xcuserdata* 6 | *xcuserdata* 7 | .DS_Store 8 | xcuserdata/ 9 | xcshareddata/ 10 | 11 | -------------------------------------------------------------------------------- /STKitDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /STKitDemo.xcodeproj/project.xcworkspace/xcuserdata/sunjiangting.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo.xcodeproj/project.xcworkspace/xcuserdata/sunjiangting.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /STKitDemo.xcodeproj/xcuserdata/sunjiangting.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /STKitDemo.xcodeproj/xcuserdata/sunjiangting.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | STKitDemo-InHouse.xcscheme 8 | 9 | orderHint 10 | 2 11 | 12 | STKitDemo.xcscheme 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | F61DD34A186ED713008D0268 21 | 22 | primary 23 | 24 | 25 | F6442FDD1871387D0062D524 26 | 27 | primary 28 | 29 | 30 | F6471E751851CD7C00574E94 31 | 32 | primary 33 | 34 | 35 | F6471E961851CD7C00574E94 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /STKitDemo/Classes/3rdLibs/MZCroppableView/MZCroppableView.h: -------------------------------------------------------------------------------- 1 | // 2 | // MZCroppableView.h 3 | // MZCroppableView 4 | // 5 | // Created by macbook on 30/10/2013. 6 | // Copyright (c) 2013 macbook. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MZCroppableView : UIView 12 | { 13 | 14 | } 15 | @property(nonatomic, strong) UIBezierPath *croppingPath; 16 | @property(nonatomic, strong) UIColor *lineColor; 17 | @property(nonatomic, assign) float lineWidth; 18 | 19 | - (id)initWithImageView:(UIImageView *)imageView; 20 | + (CGPoint)convertCGPoint:(CGPoint)point1 fromRect1:(CGSize)rect1 toRect2:(CGSize)rect2; 21 | + (CGPoint)convertPoint:(CGPoint)point1 fromRect1:(CGSize)rect1 toRect2:(CGSize)rect2; 22 | + (CGRect)scaleRespectAspectFromRect1:(CGRect)rect1 toRect2:(CGRect)rect2; 23 | 24 | - (UIImage *)deleteBackgroundOfImage:(UIImageView *)image; 25 | @end 26 | -------------------------------------------------------------------------------- /STKitDemo/Classes/3rdLibs/MZCroppableView/UIBezierPath-Points.h: -------------------------------------------------------------------------------- 1 | /* 2 | Erica Sadun, http://ericasadun.com 3 | iPhone Developer's Cookbook, 6.x Edition 4 | BSD License, Use at your own risk 5 | */ 6 | 7 | #import 8 | 9 | @interface UIBezierPath (Points) 10 | @property (nonatomic, readonly) NSArray *points; 11 | @property (nonatomic, readonly) NSArray *bezierElements; 12 | @property (nonatomic, readonly) CGFloat length; 13 | 14 | - (NSArray *) pointPercentArray; 15 | - (CGPoint) pointAtPercent: (CGFloat) percent withSlope: (CGPoint *) slope; 16 | + (UIBezierPath *) pathWithPoints: (NSArray *) points; 17 | + (UIBezierPath *) pathWithElements: (NSArray *) elements; 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/3rdLibs/SphereView/ZYQSphereView.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZYQSphereView.h 3 | // SphereViewSample 4 | // 5 | // Created by Zhao Yiqi on 13-12-8. 6 | // Copyright (c) 2013年 Zhao Yiqi. All rights reserved. 7 | // 8 | 9 | #import "PFGoldenSectionSpiral.h" 10 | 11 | @interface ZYQSphereView : UIView { 12 | NSMutableDictionary *pointMap; 13 | 14 | CGPoint originalLocationInView; 15 | CGPoint previousLocationInView; 16 | 17 | PFAxisDirection lastXAxisDirection; 18 | PFAxisDirection lastYAxisDirection; 19 | 20 | CGRect originalSphereViewBounds; 21 | } 22 | 23 | @property(nonatomic,assign)BOOL isPanTimerStart; 24 | @property(nonatomic,getter = isTimerStart,readonly)BOOL isTimerStart; 25 | 26 | - (void)setItems:(NSArray *)items; 27 | 28 | -(void)timerStart; 29 | 30 | -(void)timerStop; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STAlertView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STAlertView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-8-28. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STAlertView : UIView 12 | 13 | - (instancetype)initWithMenuTitles:(NSString *)menuTitle, ... NS_REQUIRES_NIL_TERMINATION; 14 | 15 | - (NSInteger)showInView:(UIView *)view animated:(BOOL)animated; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDCardTransitionDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDCardTransitionDelegate.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTransitionDelegate.h" 10 | 11 | @interface STDCardTransitionDelegate : STDTransitionDelegate 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDCoreDataManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDCoreDataManager.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15/8/11. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STDCoreDataManager : NSObject 13 | 14 | + (STCoreDataManager *)chatDataManager; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDCoreDataManager.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDCoreDataManager.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15/8/11. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDCoreDataManager.h" 10 | 11 | @implementation STDCoreDataManager 12 | 13 | static STCoreDataManager *_chatDataManager; 14 | + (STCoreDataManager *)chatDataManager { 15 | static dispatch_once_t onceToken; 16 | dispatch_once(&onceToken, ^{ 17 | NSString *modelName = @"STDModel"; 18 | NSString *path = [STDocumentDirectory() stringByAppendingFormat:@"%@.sqlite", modelName]; 19 | _chatDataManager = [[STCoreDataManager alloc] initWithModelName:modelName dbFilePath:path]; 20 | }); 21 | return _chatDataManager; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDLoadingView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDLoadingView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-2. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDLoadingView : UIView 12 | 13 | @property(nonatomic) CGFloat completion; 14 | 15 | - (void)startAnimating; 16 | - (BOOL)isAnimating; 17 | - (void)stopAnimating; 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDRefreshControl.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDRefreshControl.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-2. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDRefreshControl : STRefreshControl 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDRotateTransitionDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDRotateTransitionDelegate.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTransitionDelegate.h" 10 | 11 | @interface STDRotateTransitionDelegate : STDTransitionDelegate 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDScrollViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDScrollViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-7. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDScrollView : UIView 12 | 13 | @property(nonatomic, strong) UIView *headerView; 14 | 15 | @end 16 | 17 | @interface STDScrollViewController : STDViewController 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDTabBarController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDTabBarController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-2-18. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDTabBarController : STTabBarController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDTableViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDTableViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDViewController.h" 11 | 12 | @interface STDTableViewController : STModelViewController 13 | 14 | - (instancetype)initWithStyle:(UITableViewStyle) tableViewStyle; 15 | 16 | @property(nonatomic, readonly, strong) UITableView *tableView; 17 | @property(nonatomic, assign) BOOL clearsSelectionOnViewWillAppear; 18 | 19 | @property(nonatomic, strong, readonly) STScrollDirector *scrollDirector; 20 | @end 21 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDTransitionDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDTransitionDelegate.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-4-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDTransitionDelegate : NSObject 12 | 13 | + (instancetype)sharedDelegate; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-11-20. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STDViewController : STViewController 13 | 14 | @property (nonatomic, assign) BOOL customizeEdgeOffset; 15 | 16 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/STDropMenuView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDropMenuView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-8-14. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDropMenuView : STPopoverView 12 | 13 | - (instancetype) initWithMenuTitles:(NSString *) menuTitle, ... NS_REQUIRES_NIL_TERMINATION; 14 | 15 | @property (nonatomic, strong) void (^ dismissHandler) (STDropMenuView * dropView, NSInteger index); 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/SideBar/STDLeftViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDLeftViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-11-20. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDLeftViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/SideBar/STDSideBarController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDSideBarController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-11-20. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDSideBarController : STSideBarController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/01@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/01@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/02@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/02@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/03@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/03@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/04@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/04@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/05@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/05@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/06@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/06@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/07@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/07@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/BaseUI/TBLoading/08@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/BaseUI/TBLoading/08@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDCardViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDCardViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-9-26. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDFeedViewController.h" 10 | 11 | /// 明星片 12 | @interface STDCardViewController : STDFeedViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDFeedCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFeedCell.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-9-26. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDFeedItem.h" 11 | 12 | @interface STDFeedCell : UICollectionViewCell 13 | 14 | @property (nonatomic, strong) UIImageView * imageView; 15 | @property (nonatomic, strong) STLabel * titleLabel; 16 | 17 | @property (nonatomic, strong) STDFeedItem * feedItem; 18 | - (void) reloadUI; 19 | 20 | + (CGFloat) heightForCollectionCellWithFeedItem:(STDFeedItem *) feedItem constrainedToWidth:(CGFloat) width; 21 | 22 | @end 23 | 24 | extern UIEdgeInsets const STDFeedCellContentInset; -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDFeedImageView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFeedImageView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-9-26. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDFeedImageView : UIImageView 12 | 13 | @property (nonatomic, strong, readonly) UIView * selectedView; 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDFeedItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFeedItem.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-9-26. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDFeedItem : STObject 12 | 13 | @property (nonatomic, copy) NSString *title; 14 | @property (nonatomic, copy) NSString *thumbURLString; 15 | @property (nonatomic, copy) NSString *imageURLString; 16 | @property (nonatomic, assign) CGFloat width; 17 | @property (nonatomic, assign) CGFloat height; 18 | // 评分 19 | @property (nonatomic, assign) CGFloat rate; 20 | 21 | - (STImageItem *)imageItem; 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDFeedItem.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDFeedItem.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-9-26. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDFeedItem.h" 10 | 11 | @implementation STDFeedItem 12 | 13 | + (NSDictionary *) relationship { 14 | return @{@"thumbURLString":@"thumb", @"imageURLString":@"photo"}; 15 | } 16 | 17 | - (STImageItem *) imageItem { 18 | STImageItem * imageItem = [[STImageItem alloc] init]; 19 | imageItem.imageURLString = self.imageURLString; 20 | imageItem.thumbURLString = self.thumbURLString; 21 | return imageItem; 22 | } 23 | @end 24 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/Image/STDownloadViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDownloadViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-3-9. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDownloadViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/STDImageBlurViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDImageBlurViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-10-12. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDImageBlurViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/STDNavigationTestViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDNavigationTestViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-8-25. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTextTableViewController.h" 10 | 11 | @interface STDNavigationTestViewController : STDTextTableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/STDScrollViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDScrollViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-4. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDScrollViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/STDemoViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDemoViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-2-20. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTextTableViewController.h" 10 | 11 | @interface STDemoViewController : STDTextTableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/TextLayout/STDAboutViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAboutViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDAboutViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/TextLayout/STDLinkViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDLinkViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-12-24. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTableViewController.h" 10 | 11 | @interface STDLinkViewController : STDTableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Components/TextLayout/STDTextViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDTextViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-5-12. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDTextViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDAbstractFactory.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAbstractFactory.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDesignPatterns.h" 11 | 12 | @protocol STDAbstractProduct; 13 | /** 14 | * @abstract 抽象工厂模式 15 | * 16 | * 抽象工厂中有四个角色,抽象工厂,工厂,抽象产品,产品 17 | */ 18 | @interface STDAbstractFactory : NSObject 19 | 20 | + (id )createProduct; 21 | 22 | @end 23 | 24 | @interface STDFactoryA : STDAbstractFactory 25 | 26 | @end 27 | 28 | @interface STDFactoryB : STDAbstractFactory 29 | 30 | @end 31 | 32 | // ... 33 | /* 如果需要扩展,就在这里扩展一个工厂 34 | @interface STDFactoryC : STDAbstractFactory 35 | 36 | @end 37 | */ 38 | 39 | @interface STDProductA : NSObject 40 | 41 | @end 42 | 43 | @interface STDProductB : NSObject 44 | 45 | @end 46 | 47 | // ... 48 | 49 | 50 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDBuilder.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDBuilder.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDesignPatterns.h" 11 | 12 | @interface STDProduct : NSObject 13 | 14 | @property (nonatomic) NSObject *partA, *partB, *partC, *partD; 15 | 16 | @end 17 | /// 建造者模式 18 | @interface STDBuilder : NSObject 19 | - (void)buildPartA; 20 | - (void)buildPartB; 21 | - (void)buildPartC; 22 | - (void)buildPartD; 23 | - (STDProduct *)product; 24 | @end 25 | 26 | @interface STDBuildDirector : NSObject 27 | - (instancetype)initWithBuilder:(STDBuilder *)builder; 28 | - (STDProduct *)construct; 29 | - (STDProduct *)constructWithBuilder:(STDBuilder *)builder; 30 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDFactoryMethod.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFactoryMethod.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDesignPatterns.h" 11 | 12 | /** 13 | * @abstract 工厂方法模式 14 | */ 15 | @interface STDFactoryMethod : NSObject 16 | 17 | + (id)createProduct; 18 | 19 | @end 20 | 21 | @interface STDFactoryMethodProduct : NSObject 22 | 23 | @end 24 | 25 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDFactoryMethod.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDFactoryMethod.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDFactoryMethod.h" 10 | 11 | @implementation STDFactoryMethod 12 | 13 | + (void)test { 14 | id product = [STDFactoryMethod createProduct]; 15 | [product printProductName]; 16 | } 17 | 18 | + (id)createProduct { 19 | return STDFactoryMethodProduct.new; 20 | } 21 | 22 | - (void)printDesignPatternName { 23 | NSLog(@"工厂方法模式"); 24 | } 25 | 26 | @end 27 | 28 | @implementation STDFactoryMethodProduct 29 | 30 | - (void)printProductName { 31 | NSLog(@"This is a product"); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDPrototype.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDPrototype.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDesignPatterns.h" 11 | 12 | @interface STDPrototype : NSObject 13 | @property (nonatomic, strong) NSString *propertyA; 14 | @property (nonatomic, strong) NSDictionary *propertyB; 15 | @end 16 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDSingleton.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDSingleton.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDesignPatterns.h" 11 | 12 | @interface STDSingleton : NSObject 13 | 14 | + (instancetype)sharedInstance; 15 | 16 | @property (nonatomic, copy)NSString *globalName; 17 | 18 | - (void)printMemoryAddress; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Creational/STDSingleton.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDSingleton.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDSingleton.h" 10 | 11 | @implementation STDSingleton 12 | 13 | + (void)test { 14 | [STDSingleton sharedInstance].globalName = @"Suen技术哥"; 15 | [[STDSingleton sharedInstance] printMemoryAddress]; 16 | [[STDSingleton sharedInstance] printMemoryAddress]; 17 | } 18 | 19 | static STDSingleton *_sharedInstance; 20 | + (instancetype)sharedInstance { 21 | static dispatch_once_t onceToken; 22 | dispatch_once(&onceToken, ^{ 23 | _sharedInstance = [[self alloc] init]; 24 | }); 25 | return _sharedInstance; 26 | } 27 | 28 | - (void)printMemoryAddress { 29 | NSLog(@"%p", self); 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/STDesignPatterns.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDesignPatterns.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-3. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @protocol STDesignPatternsDelegate 12 | 13 | + (void)test; 14 | 15 | @optional 16 | - (void)printDesignPatternName; 17 | - (void)printAdvantages; 18 | - (void)printDisadvantages; 19 | 20 | @end 21 | 22 | /// 工厂部分 23 | /// 抽象产品,提供一个制造的接口 24 | @protocol STDAbstractProduct 25 | 26 | - (void)printProductName; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Structural/STDAdapter.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAdapter.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-4. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDesignPatterns.h" 10 | 11 | 12 | @protocol STDAdapter 13 | 14 | - (void)AFRequestWithURLString:(NSString *)URLString; 15 | 16 | @end 17 | 18 | @interface STDASINetwork : NSObject 19 | 20 | - (void)ASIRequestWithURLString:(NSString *)URLString; 21 | 22 | @end 23 | 24 | @interface STDAFNetwork : NSObject 25 | 26 | - (void)AFRequestWithURLString:(NSString *)URLString; 27 | 28 | @end 29 | 30 | /// 适配器模式 31 | @interface STDAdapter : STDASINetwork 32 | 33 | - (instancetype)initWithAFNetwork:(STDAFNetwork *)AFNetwork; 34 | 35 | - (void)AFRequestWithURLString:(NSString *)URLString; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Structural/STDBridge.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDBridge.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-9. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDesignPatterns.h" 10 | 11 | @interface STDBridge : NSObject 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Structural/STDBridge.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDBridge.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-9. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDBridge.h" 10 | 11 | @implementation STDBridge 12 | 13 | + (void)test { 14 | 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Structural/STDFacade.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFacade.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-5. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDesignPatterns.h" 10 | 11 | @interface STDFObjectA : NSObject 12 | 13 | - (void)methodA; 14 | 15 | @end 16 | 17 | @interface STDFObjectB : NSObject 18 | - (void)methodB; 19 | @end 20 | 21 | @interface STDFObjectC : NSObject 22 | - (void)methodC; 23 | @end 24 | 25 | @interface STDFObjectD : NSObject 26 | - (void)methodD; 27 | @end 28 | 29 | @interface STDFacade : NSObject 30 | 31 | - (void)unifiedMethodA; 32 | - (void)unifiedMethodB; 33 | - (void)unifiedMethodC; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/DesignPatterns/Structural/STDProxy.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDProxy.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-5. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDesignPatterns.h" 10 | 11 | @protocol STDPObject 12 | 13 | - (void)methodA; 14 | - (void)methodB; 15 | 16 | @end 17 | 18 | @interface STDPObject : NSObject 19 | 20 | @end 21 | 22 | @interface STDProxy : NSObject 23 | 24 | - (instancetype)initWithObject:(id)object; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/STDSideBar/STDMapViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDMapViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-3-9. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDMapViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/STDStartViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDStartViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-2-20. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDViewController.h" 11 | 12 | @interface STDStartViewController : STDViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/STQRCode/scan_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/STQRCode/scan_background@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/STQRCode/scan_line@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/STQRCode/scan_line@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STACodeViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STACodeViewController.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-4. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDViewController.h" 11 | #import "STASortDefines.h" 12 | 13 | @interface STACodeViewController : STDViewController 14 | 15 | @property (nonatomic, assign) STAlgorithmType algorithmType; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STAHanoiOperation.h: -------------------------------------------------------------------------------- 1 | // 2 | // STAHanoiOperation.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-3. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STASortDefines.h" 11 | 12 | @class STAHanoiView; 13 | @interface STAHanoiOperation : NSOperation 14 | 15 | @property (nonatomic, assign) NSInteger index; 16 | @property (nonatomic, assign) NSInteger toIndex; 17 | @property (nonatomic, weak) STAHanoiView *hanoiView; 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STAHanoiOperation.m: -------------------------------------------------------------------------------- 1 | // 2 | // STAHanoiOperation.m 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-3. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STAHanoiOperation.h" 10 | #import "STAHanoiView.h" 11 | 12 | @interface STAHanoiOperation () 13 | 14 | @property (nonatomic, assign) NSTimeInterval duration; 15 | @property (atomic, assign) BOOL complete; 16 | 17 | @end 18 | 19 | @implementation STAHanoiOperation 20 | 21 | - (instancetype) init { 22 | self = [super init]; 23 | if (self) { 24 | self.duration = [[[NSUserDefaults standardUserDefaults] valueForKey:@"STMoveAnimationDuration"] doubleValue]; 25 | } 26 | return self; 27 | } 28 | 29 | - (void) main { 30 | 31 | void (^completion)(BOOL finished) = ^(BOOL finished){ 32 | self.complete = YES; 33 | }; 34 | dispatch_async(dispatch_get_main_queue(), ^{ 35 | [self.hanoiView moveDiskAtIndex:_index toIndex:_toIndex duration:_duration completion:completion]; 36 | }); 37 | while (!self.complete) { 38 | [[NSRunLoop currentRunLoop] runUntilDate:[NSDate distantFuture]]; 39 | } 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STAHanoiView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STAHanoiView.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-3. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STASortDefines.h" 11 | 12 | 13 | @interface STAHanoiView : UIView 14 | 15 | @property (nonatomic, assign) NSInteger numberOfHanois; 16 | 17 | - (void) reloadHanoiView; 18 | 19 | - (void) moveDiskAtIndex:(NSInteger) index 20 | toIndex:(NSInteger) toIndex 21 | duration:(NSTimeInterval) duration 22 | completion:(void(^)(BOOL finished)) completion; 23 | @end 24 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STAHanoiViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STAHanoiViewController.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-3. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STASortDefines.h" 11 | #import "STDViewController.h" 12 | 13 | @interface STAHanoiViewController : STDViewController 14 | 15 | @property (nonatomic, assign) NSInteger numberOfHanois; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STARootViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STARootViewController.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-2. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "STASortDefines.h" 12 | #import "STDTextTableViewController.h" 13 | 14 | @interface STARootViewController : STDTextTableViewController 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STASortDefines.h: -------------------------------------------------------------------------------- 1 | // 2 | // STASortDefines.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #ifndef STKitDemo_STASortDefines_h 10 | #define STKitDemo_STASortDefines_h 11 | 12 | typedef enum STAlgorithmType { 13 | 14 | STAlgorithmTypeBubbleSort = 1, 15 | STAlgorithmTypeSelectSort = 2, 16 | STAlgorithmTypeInsertSort = 3, 17 | STAlgorithmTypeQuickSort = 5, 18 | 19 | STAlgorithmTypeHanoi = 11, 20 | 21 | } STAlgorithmType; 22 | 23 | 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STASortOperation.h: -------------------------------------------------------------------------------- 1 | // 2 | // STSortOperation.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-2. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STASortDefines.h" 11 | 12 | 13 | typedef enum STSortOperationType { 14 | STSortOperationTypeMoveBaseline1 = 1, 15 | STSortOperationTypeMoveBaseline2 = 2, 16 | STSortOperationTypeMoveElement = 3, 17 | STSortOperationTypeCacheUpElement = 4, 18 | STSortOperationTypeCacheDownElement = 5, 19 | STSortOperationTypeExchangeElement = 6, 20 | } STSortOperationType; 21 | 22 | @class STASortView; 23 | @interface STASortOperation : NSOperation 24 | 25 | @property (nonatomic, assign) NSTimeInterval duration; 26 | @property (nonatomic, assign) NSInteger index1; 27 | @property (nonatomic, assign) NSInteger index2; 28 | @property (nonatomic, weak) STASortView *sortView; 29 | @property (nonatomic, assign) STSortOperationType operationType; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Algorithm/STASortViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STASortViewController.h 3 | // STBasic 4 | // 5 | // Created by SunJiangting on 13-11-1. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STASortDefines.h" 11 | 12 | #import "STDViewController.h" 13 | 14 | typedef enum STArraySortType { 15 | STArraySortTypeBubbleSort = 1, 16 | STArraySortTypeSelectSort = 2, 17 | STArraySortTypeInsertSort = 3, 18 | STArraySortTypeQuickSort = 5, 19 | STArraySortTypeMergeSort = 6, // k-路归并排序 20 | } STArraySortType; 21 | 22 | @interface STASortViewController : STDViewController 23 | 24 | @property (nonatomic, assign) STArraySortType arraySortType; 25 | @property (nonatomic, strong) NSArray *sortArray; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BookReader/STDBookViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDBookViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-31. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @protocol STDBookViewControllerDelegate 12 | 13 | - (void)backViewController; 14 | 15 | - (void)navigationBarVisibleDidChangeTo:(BOOL)currentVisible; 16 | 17 | @end 18 | 19 | @interface STDBookViewController : STDViewController 20 | 21 | @property (nonatomic, assign) NSInteger page; 22 | @property (nonatomic, assign) NSInteger total; 23 | @property (nonatomic, retain) NSString *content; 24 | @property (nonatomic, assign) BOOL preferredNavigationBarHidden; 25 | 26 | @property (nonatomic, weak) id delegate; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BookReader/STDReaderViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDReaderViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-31. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDReaderViewController : STDViewController 12 | 13 | - (instancetype)initWithContentsOfFile:(NSString *)path; 14 | - (instancetype)initWithString:(NSString *)string; 15 | @property (nonatomic, strong) UIPageViewController *pageViewController; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BookReader/STRichView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STRichView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-6-5. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STRichView : UIView 12 | 13 | @property(nonatomic, strong) UIColor *foregroundColor; 14 | @property(nonatomic, strong) NSDictionary *attributes; 15 | 16 | @property(nonatomic, copy) NSString *text; 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/background.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/background@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_down.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_down@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_left.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_left@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_right.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_right@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_up.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_up@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/boxman_up@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_down.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_down@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_left.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_left@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_right.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_right@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_up.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_up@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/boxman/man_baby_up@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_1_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_1_thumb.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_1_thumb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_1_thumb@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_2_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_2_thumb.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_2_thumb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_2_thumb@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_3_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_3_thumb.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_3_thumb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_3_thumb@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_4_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_4_thumb.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_4_thumb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_4_thumb@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_bkg.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_border.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_border@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_border@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_thumb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_thumb.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_thumb@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/level/level_thumb@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/balloon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/balloon.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/balloon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/balloon@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/box.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/box@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/box@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_road.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_road.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_road@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_road@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_shrub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_shrub.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_shrub@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_shrub@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_tree.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_tree@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/green_tree@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_blue.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_blue@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_blue@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_red.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_red@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_red@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_yellow.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_yellow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/house_yellow@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_down.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_down@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_down@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_left.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_left@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_right.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_right@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_up.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_up@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/pool_up@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_barricade.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_barricade.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_barricade@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_barricade@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_wall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_wall.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_wall@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/red_wall@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/scenery_tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/scenery_tree.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/scenery_tree@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/scenery_tree@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/yellow_flower.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/yellow_flower.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/yellow_flower@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/material/yellow_flower@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/introduce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/introduce.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/introduce@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/introduce@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/menu.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/menu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/menu@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/next.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/next@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/next@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/previous.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/previous.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/previous@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/previous@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/reset.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/reset@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/reset@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/start.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/start@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/BoxMan/Resources/Image/menu/start@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDEntityDefines.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDEntityDefines.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-19. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #ifndef STKitDemo_STDEntityDefines_h 10 | #define STKitDemo_STDEntityDefines_h 11 | 12 | typedef enum { 13 | STDMessageTypeText, 14 | STDMessageTypeImage, 15 | STDMessageTypeSound, 16 | } STDMessageType; 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDImage.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface STDImage : NSManagedObject 14 | 15 | @property (nonatomic) float height; 16 | @property (nonatomic, retain) NSString * imageId; 17 | @property (nonatomic, retain) NSString * imageURL; 18 | @property (nonatomic) float width; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDImage.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDImage.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDImage.h" 10 | 11 | 12 | @implementation STDImage 13 | 14 | @dynamic height; 15 | @dynamic imageId; 16 | @dynamic imageURL; 17 | @dynamic width; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDMessage.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDMessage.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @class STDImage, STDUser; 13 | 14 | @interface STDMessage : NSManagedObject 15 | 16 | @property (nonatomic, retain) NSString * chatViewRect; 17 | @property (nonatomic, retain) NSString * content; 18 | @property (nonatomic) float height; 19 | @property (nonatomic, retain) NSString * identifier; 20 | @property (nonatomic, retain) NSString * mid; 21 | @property (nonatomic) int16_t type; 22 | @property (nonatomic) NSTimeInterval time; 23 | @property (nonatomic, retain) STDUser *from; 24 | @property (nonatomic, retain) STDImage *image; 25 | @property (nonatomic, retain) STDUser *target; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDMessage.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDMessage.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDMessage.h" 10 | 11 | 12 | @implementation STDMessage 13 | 14 | @dynamic chatViewRect; 15 | @dynamic content; 16 | @dynamic height; 17 | @dynamic identifier; 18 | @dynamic mid; 19 | @dynamic type; 20 | @dynamic time; 21 | @dynamic from; 22 | @dynamic image; 23 | @dynamic target; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDSession.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDSession.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface STDSession : NSManagedObject 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDSession.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDSession.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDSession.h" 10 | 11 | 12 | @implementation STDSession 13 | 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDUser.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDUser.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @class STDImage; 13 | 14 | @interface STDUser : NSManagedObject 15 | 16 | @property (nonatomic, retain) NSString * name; 17 | @property (nonatomic, retain) NSString * nick; 18 | @property (nonatomic, retain) NSString * uid; 19 | @property (nonatomic, retain) STDImage *avatar; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/Entity/STDUser.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDUser.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDUser.h" 10 | 11 | 12 | @implementation STDUser 13 | 14 | @dynamic name; 15 | @dynamic nick; 16 | @dynamic uid; 17 | @dynamic avatar; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDBaseChatCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDBaseChatCell.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-18. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class STDMessage; 12 | 13 | @interface STDBaseChatCell : UITableViewCell 14 | 15 | @property(nonatomic, strong) UIImageView *avatarView; 16 | @property(nonatomic, strong) UIView *chatView; 17 | @property(nonatomic, strong) UIButton *bubbleImageView; 18 | 19 | /// This is abstract . subview must override this. default nil 20 | @property(nonatomic, assign) UIView *chatContentView; 21 | 22 | @property(nonatomic, weak) STDMessage *message; 23 | 24 | @end 25 | 26 | extern NSString *const NXChatCellTextActivityIdentifier; 27 | 28 | extern NSString *const NXChatCellTextLeftIdentifier; 29 | extern NSString *const NXChatCellTextRightIdentifier; 30 | 31 | extern NSString *const NXChatCellImageLeftIdentifier; 32 | extern NSString *const NXChatCellImageRightIdentifier; 33 | 34 | extern NSString *const NXChatCellQuoteLeftIdentifier; 35 | extern NSString *const NXChatCellQuoteRightIdentifier; 36 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDChat.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDChat.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-19. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | typedef enum STDChatViewDirection { 12 | STDChatViewDirectionDefault = 1, 13 | STDChatViewDirectionLeft = STDChatViewDirectionDefault, 14 | STDChatViewDirectionRight = 2 15 | } STDChatViewDirection; 16 | 17 | @class STDMessage; 18 | @interface STDChat : NSObject 19 | 20 | + (NSDictionary *)availableTypeIdentifiers; 21 | + (NSString *)identifierForMessageType:(int)messageType; 22 | 23 | + (CGRect)convertRect:(CGRect )rect0 24 | fromDirection:(STDChatViewDirection)fromDirection 25 | toDirection:(STDChatViewDirection)toDirection; 26 | 27 | + (CGFloat)heightForMessageWithEntity:(STDMessage *)messageEntity 28 | identifier:(NSString **)identifier 29 | chatViewRect:(CGRect *)chatViewRect; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDChatInputView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDChatInputView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-24. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | extern CGFloat const STDChatInputViewDefaultHeight; 12 | 13 | @interface STDChatInputView : UIView 14 | 15 | @property (nonatomic, copy) NSString *text; 16 | @property (nonatomic, weak) UIView *parentView; 17 | @property (nonatomic, readonly, strong) UITextView *textView; 18 | 19 | - (instancetype)initWithSuperView:(UIView *)superView; 20 | 21 | @property (nonatomic, readonly, strong) UIButton *pickButton; 22 | @property (nonatomic, readonly, strong) UIButton *sendButton; 23 | 24 | - (NSString *) text; 25 | 26 | - (void) sizeToFit; 27 | @end 28 | 29 | extern NSString *const STDChatInputViewDidChangeNotification; 30 | 31 | extern NSString *const STDChatInputViewAnimationDurationUserInfoKey; 32 | extern NSString *const STDChatInputViewKeyboardHiddenUserInfoKey; 33 | extern NSString *const STDChatInputViewFrameUserInfoKey; 34 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDChatViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDChatViewController.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-18. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | //#import "STDTableViewController.h" 10 | 11 | #import 12 | #import 13 | 14 | extern NSString *const STDChatUserDefaultID; 15 | extern NSString *const STDChatSystemDefaultID; 16 | 17 | @interface STDChatViewController : STDTableViewController 18 | 19 | - (id)initWithPageInfo:(NSDictionary *)pageInfo; 20 | 21 | @end 22 | 23 | @interface UITableView (STScrollToBottom) 24 | 25 | - (void)scrollToBottomAnimated:(BOOL)animated; 26 | 27 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDImageChatCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDImageChatCell.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-19. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDBaseChatCell.h" 10 | 11 | @interface STDImageChatCell : STDBaseChatCell 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDModel.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | STDModel 2.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/STDTextChatCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDTextChatCell.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-18. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDBaseChatCell.h" 10 | 11 | 12 | @interface STDTextChatCell : STDBaseChatCell 13 | 14 | @end 15 | 16 | 17 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_1.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_2.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_3.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_4.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_5.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_6.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_7.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/CoreData/TestChat/chat_image_8.jpg -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/icon_rightarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/icon_rightarrow.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/icon_rightarrow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/icon_rightarrow@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/red_line_and_shadow@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/Modules/Services/Image/frame/SlideSwitch/resources/red_line_and_shadow@2x.png -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Recorder/STDAboutAudioViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAboutAudioViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-5-10. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDAboutAudioViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Recorder/STDRecordViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDRecordViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDRecordViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/Recorder/STWaveBarView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STWaveBarView.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-3-22. 6 | // Copyright (c) 2013年 sun. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import 14 | 15 | typedef NS_ENUM(NSInteger, STWaveStyle) { 16 | SWaveStyleBar, 17 | SWaveStyleCurve, 18 | SWaveStyleBezier, 19 | SWaveStyleMedia, 20 | }; 21 | 22 | /// 模拟window media player 23 | @interface STWaveBarView : UIView { 24 | GLint _backingWidth; 25 | GLint _backingHeight; 26 | GLuint _renderBuffer; 27 | GLuint _frameBuffer; 28 | EAGLContext *_context; 29 | } 30 | 31 | @property(nonatomic, assign) NSInteger channels; 32 | 33 | @property(nonatomic, assign) STWaveStyle waveStyle; 34 | 35 | - (void)appendDataWithAudioBuffer:(AudioQueueBufferRef)bufferRef; 36 | 37 | - (void)reset; 38 | 39 | - (void)setInterfaceOrientation:(UIInterfaceOrientation)orientation; 40 | 41 | @end 42 | 43 | @interface STWaveBarView (OpenGLES) 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Services/STDServiceViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDServiceViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-3-8. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDTextTableViewController.h" 11 | 12 | @interface STDServiceViewController : STDTextTableViewController 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/Debug/STDAuthorization.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAuthorization.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-11-28. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /** 13 | * @abstract 认证之后的操作 14 | */ 15 | typedef enum { 16 | STAuthorizationOperationNone, // 认证失败之后不进行任何操作 17 | STAuthorizationOperationAlert = 1 << 0,// 认证之后进行弹框提示 18 | STAuthorizationOperationBanner = 1 << 1,// 认证之后进行横幅提示 19 | } STAuthorizationOperation; 20 | 21 | /** 22 | * @abstract 自动认证的时机 23 | */ 24 | typedef enum { 25 | STAutomicAuthorizationNever, // 从不进行自动认证 26 | STAutomicAuthorizationDidFinishLaunch, // 应用每次启动的时候认证 27 | STAutomicAuthorizationDidEnterForeground, // 应用每次进入前台之后认证 28 | } STAutomicAuthorizationTime; 29 | 30 | @interface STDAuthorization : NSObject 31 | 32 | + (instancetype)standardAuthorization; 33 | 34 | + (void)setAuthorizationKey:(NSString *)authorizationKey; 35 | + (NSString *)authorizationKey; 36 | 37 | + (void)authorizationWithKey:(NSString *)key authorizationTime:(STAutomicAuthorizationTime)authorizationTime; 38 | 39 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/Debug/STDDebugPingViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDDebugPingViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-9. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDDebugPingViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/Debug/STDLocationPickerController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDLocationPickerController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-27. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDLocationPickerController : STDViewController 12 | 13 | + (CLLocationCoordinate2D)cachedFakeLocationCoordinate; 14 | @end 15 | 16 | extern NSString *const STFakeLocationCoordinateCacheKey; -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/Debug/STDebugFoundation.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDebugFoundation.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-9. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import "STDAuthorization.h" 12 | 13 | @interface STDebugTextView : UITextView 14 | 15 | - (void)appendText:(NSString *)text; 16 | 17 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDButton.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-31. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDButton : STButton 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDButton.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDButton.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-31. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | @implementation STDButton 10 | 11 | /* 12 | // Only override drawRect: if you perform custom drawing. 13 | // An empty implementation adversely affects performance during animation. 14 | - (void)drawRect:(CGRect)rect { 15 | // Drawing code 16 | } 17 | */ 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDFontViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDFontViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-31. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STDFontViewController : STViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDFontViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDFontViewController.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-3-31. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | @implementation STDFontViewController 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDMoreViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDMoreViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-27. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDTextTableViewController.h" 10 | 11 | @interface STDMoreViewController : STDTextTableViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDNavigationSettingViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDNavigationSettingViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 14-8-17. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | 11 | @interface STDNavigationSettingViewController : STDViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/Modules/Settings/STDSettingViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDSettingViewController.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-15. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDViewController.h" 10 | #import "STDTextTableViewController.h" 11 | 12 | @interface STDSettingViewController : STDTextTableViewController 13 | 14 | + (BOOL)allowsCustomNavigationTransition; 15 | + (BOOL)chatReceiveImage; 16 | + (BOOL)reduceTransitionAnimation; 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/NSData+STGZip.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSData+STGZip.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15-3-26. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | // 需要引入 zib 12 | #define STKit_STDefines_GZip 0 13 | #if STKit_STDefines_GZip 14 | #import 15 | @interface NSData (STGZip) 16 | 17 | - (NSData *)st_compressDataUsingGZip; 18 | + (NSData *)st_dataWithZipCompressedData:(NSData *)data; 19 | 20 | @end 21 | #endif 22 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STAudioCenter.h: -------------------------------------------------------------------------------- 1 | // 2 | // STAudioCenter.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-10-5. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import 12 | #import 13 | 14 | @interface STAudioCenter : NSObject 15 | 16 | + (instancetype)sharedAudioCenter; 17 | 18 | + (void)setAudioSessionEnabled:(BOOL)audioSessionEnabled wantRecording:(BOOL)wantRecording; 19 | /// 播放震动 20 | - (void)playVibrations; 21 | 22 | @end 23 | 24 | @interface STAudioCenter (STAudioRecorder) 25 | 26 | @property(nonatomic, readonly, strong) STAudioRecorder *audioRecorder; 27 | 28 | - (void)startRecordWithPath:(NSString *)path handler:(STAudioRecordHandler)audioHandler; 29 | - (void)startRecordWithPath:(NSString *)path handler:(STAudioRecordHandler)audioHandler dataHandler:(STAudioDataHandler)dataHandler; 30 | - (void)finishRecord; 31 | @end 32 | 33 | extern NSString *const STAudioSessionOutputVolumeDidChangeNotification; 34 | 35 | extern NSString *const STAudioSessionOutputVolumeNewValueKey; 36 | extern NSString *const STAudioSessionOutputVolumeOldValueKey; -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // STButton.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-3-25. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | /// 1、提供选中和高亮背景色 12 | /// 2、此Button上的所有Subview。当Button处于highlighted状态,subview同样处于highlighted状态 13 | /// 3、此按钮为了避免系统按钮上的image和title无法设置frame问题,申明了ButtonImageView和buttonTitleLabel。 14 | @interface STButton : UIButton 15 | 16 | @property(nonatomic, assign) BOOL usingSystemLayout; 17 | 18 | @property(nonatomic, strong) UIColor *highlightedBackgroundColor; 19 | @property(nonatomic, strong) UIColor *selectedBackgroundColor; 20 | 21 | @end 22 | 23 | @interface STButton (STKit) 24 | 25 | @property(nonatomic, assign) NSString *normalTitle; 26 | @property(nonatomic, assign) NSString *highlightedTItle; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STCategories.h: -------------------------------------------------------------------------------- 1 | // 2 | // STCategories.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-10-31. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #ifndef STKit_STCategories_h 10 | #define STKit_STCategories_h 11 | 12 | #import 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // STImage.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-11-8. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STImage : UIImage 12 | 13 | @property(nonatomic, assign, readonly, getter=isGIFImage) BOOL GIFImage; 14 | @property(nonatomic, assign, readonly) NSInteger numberOfImages; 15 | 16 | - (UIImage *)imageAtIndex:(NSInteger)index duration:(NSTimeInterval *)duration; 17 | 18 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STImageScrollView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STImageScrollView.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-12-25. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class STImageScrollView, STRoundProgressView; 12 | @protocol STImageScrollViewDelegate 13 | 14 | @optional 15 | - (void)imageScrollViewDidTapped:(STImageScrollView *)imageScrollView; 16 | @optional 17 | - (void)imageScrollViewDidLongPressed:(STImageScrollView *)imageScrollView; 18 | 19 | @end 20 | 21 | @class STImageView; 22 | @interface STImageScrollView : UIScrollView 23 | 24 | @property(nonatomic, readonly, strong) UIImageView *imageView; 25 | @property(nonatomic, assign) BOOL autoFitImageView; 26 | @property(nonatomic, weak) id interactionDelegate; 27 | @property(nonatomic, strong, readonly) STRoundProgressView *roundProgressView; 28 | 29 | - (void)zoomToFit; 30 | - (void)zoomToFitImage:(UIImage *)image; 31 | 32 | - (void)setImage:(UIImage *)image animated:(BOOL)animated; 33 | - (void)setImageURL:(NSString *)imageURL animated:(BOOL)animated; 34 | @end 35 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STImageViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STImageViewController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-12-25. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class STImageViewController; 12 | @protocol STImageViewControllerDelegate 13 | 14 | @optional 15 | - (void)imageViewController:(STImageViewController *)imageViewController didScrollToImageAtIndex:(NSInteger)imageIndex; 16 | @end 17 | 18 | @interface STImageViewController : STViewController 19 | 20 | @property(nonatomic, weak) id delegate; 21 | 22 | @property(nonatomic, assign) NSInteger selectedIndex; 23 | /// 所有Image 数组 24 | @property(nonatomic, copy) NSArray *imageDataSource; 25 | 26 | @property(nonatomic, copy) NSString *navigationTitle; 27 | /// 长按 是否存储到相册 28 | @property(nonatomic, assign) BOOL saveImageToAlbumWhenLongPressed; 29 | 30 | @end 31 | // PS. 以下key为imageDataSource Key 32 | /// 预览图片缩略图 33 | extern NSString *const STImagePreviewThumbImageKey; 34 | /// 预览图片缩略图 URL 35 | extern NSString *const STImagePreviewThumbImageURLKey; 36 | /// 预览图片大图 37 | extern NSString *const STImagePreviewOriginalImageURLKey; -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STKeychain.h: -------------------------------------------------------------------------------- 1 | // 2 | // STKeychain.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15/6/28. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | ST_ASSUME_NONNULL_BEGIN 13 | @interface STKeychain : NSObject 14 | 15 | - (id)initWithIdentifier:(STNULLABLE NSString *)identifier accessGroup:(STNULLABLE NSString *)accessGroup NS_DESIGNATED_INITIALIZER; 16 | 17 | - (void)setValue:(STNULLABLE id)value forKey:(NSString *)key; 18 | - (STNULLABLE id)valueForKey:(NSString *)key; 19 | 20 | - (void)removeAllValues; 21 | 22 | @end 23 | 24 | @interface STKeychainManager : NSObject 25 | 26 | + (instancetype)sharedManager; 27 | 28 | - (void)setValue:(STNULLABLE id)value forKey:(NSString *)key; 29 | - (STNULLABLE id)valueForKey:(NSString *)key; 30 | 31 | @end 32 | ST_ASSUME_NONNULL_END -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STLabel.h: -------------------------------------------------------------------------------- 1 | // 2 | // STLabel.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-10-26. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | typedef enum { 13 | STVerticalAlignmentTop, // default 14 | STVerticalAlignmentMiddle, 15 | STVerticalAlignmentBottom, 16 | } STVerticalAlignment; 17 | 18 | /** 19 | * @abstract 为Label添加垂直对齐方式和内容间距 20 | */ 21 | @interface STLabel : UILabel 22 | /// 垂直方向上的对其方式 23 | @property(nonatomic, assign) STVerticalAlignment verticalAlignment; 24 | /// 内容间距 25 | @property(nonatomic, assign) UIEdgeInsets contentInsets; 26 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STModelViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STModelViewController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-12-17. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STModelViewController : STViewController 13 | /// 返回Model的类名 14 | + (Class)modelClass; 15 | @property(nonatomic, strong) STModel *model; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STPayViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STPayViewController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-9-3. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STPayManager.h" 11 | 12 | @interface STPayViewController : STViewController 13 | 14 | - (instancetype)initWithPayItem:(STPayItem *)payItem handler:(STPayHandler)payHandler; 15 | 16 | @property(nonatomic, readonly) STPayPlatform payPlatforms; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STRateControl.h: -------------------------------------------------------------------------------- 1 | // 2 | // STRateControl.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-9-18. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /// 几颗星 打分组件 13 | @interface STRateControl : UIControl 14 | //- (instancetype) initWithStaredImage:(UIImage *) staredImage unstaredImage:(UIImage *) unstaredImage; 15 | /// 填充满的星星 16 | @property(nonatomic, strong) UIImage *staredImage; 17 | /// 未填充满的星星 18 | @property(nonatomic, strong) UIImage *unstaredImage; 19 | /// 每个星星之间的间隔 20 | @property(nonatomic, assign) CGFloat verticalMargin; 21 | /// 最多的value, 默认 5 22 | @property(nonatomic, assign) CGFloat maximumValue; 23 | /// 当前value 24 | @property(nonatomic, assign) CGFloat value; 25 | @end 26 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STRoundProgressView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STRoundProgressView.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-11-26. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /** 13 | * @abstract 环形的进度完成率,默认风格为iOS7 应用下载的风格. 14 | */ 15 | @interface STRoundProgressView : UIControl 16 | /// 完成度 17 | @property(nonatomic) CGFloat completion; 18 | - (void)setCompletion:(CGFloat)completion animated:(BOOL)animated; 19 | 20 | @property(STPROPERTYNULLABLE nonatomic, strong) UIColor *progressTintColor; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STShadow.h: -------------------------------------------------------------------------------- 1 | // 2 | // STShadow.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15/8/27. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | ST_ASSUME_NONNULL_BEGIN 13 | 14 | @interface STShadow : NSObject 15 | 16 | @property(nonatomic, copy) UIColor *shadowColor; 17 | 18 | /* The opacity of the shadow. Defaults to 0. Specifying a value outside the 19 | * [0,1] range will give undefined results. Animatable. */ 20 | 21 | @property(nonatomic) CGFloat shadowOpacity; 22 | 23 | /* The shadow offset. Defaults to (0, -3). Animatable. */ 24 | 25 | @property(nonatomic) CGSize shadowOffset; 26 | 27 | /* The blur radius used to create the shadow. Defaults to 3. Animatable. */ 28 | 29 | @property(nonatomic) CGFloat shadowRadius; 30 | 31 | @end 32 | ST_ASSUME_NONNULL_END -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STStringTokenizer.h: -------------------------------------------------------------------------------- 1 | // 2 | // STStringTokenizer.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-5-12. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /// Text 14 | /// :后面的为 default value. 15 | /// to be continue 16 | /// 123.png 17 | @interface STStringTokenizer : NSObject 18 | 19 | + (NSAttributedString *)attributedStringWithMarkedString:(NSString *)markedText; 20 | /// 分词 21 | + (NSDictionary *)dictionaryWithMarkedString:(NSString *)markedString; 22 | 23 | @end 24 | 25 | @interface UILabel (STStringTokenizer) 26 | 27 | - (void)setMarkedText:(NSString *)markedText; 28 | 29 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STTableView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STTableView.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-5-14. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STTableView : UITableView 12 | //// 该TableView是为了兼容iOS6.0以下 13 | - (void)registerClass:(Class)cellClass forCellReuseIdentifier:(NSString *)identifier; 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STTableViewCell.h: -------------------------------------------------------------------------------- 1 | // 2 | // STTableViewCell.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15-1-19. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STTableViewCell : UITableViewCell 12 | 13 | @property(nonatomic, strong) UIColor *selectedBackgroundColor; 14 | @property(nonatomic, strong) UIColor *backgroundColor; 15 | @end 16 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STTextView.h: -------------------------------------------------------------------------------- 1 | // 2 | // STTextView.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-1-7. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | /// 提供了有placeHolder的文本输入框 12 | @interface STTextView : UITextView 13 | 14 | @property(STPROPERTYNONNULL nonatomic, strong, readonly) STLabel *placeholderLabel; 15 | @property(STPROPERTYNULLABLE nonatomic, copy) NSString *placeholder; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STTheme.h: -------------------------------------------------------------------------------- 1 | // 2 | // STTheme.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-12-19. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STTheme : NSObject 12 | 13 | /** 14 | * @abstract 为某个类下的某个key赋值。 15 | * 16 | * @param value 该主题的值,一般为 UIFont/UIColor等类型 17 | */ 18 | - (void)setThemeValue:(id)value forKey:(NSString *)key whenContainedIn:(Class)containerClass; 19 | - (id)themeValueForKey:(NSString *)key whenContainedIn:(Class)containerClass; 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STThemeManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // STThemeManager.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-12-19. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class STTheme; 12 | @interface STThemeManager : NSObject 13 | 14 | + (instancetype)sharedThemeManager; 15 | 16 | + (STTheme *)currentTheme; 17 | @end 18 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STTrashManager.h: -------------------------------------------------------------------------------- 1 | // 2 | // STTrashManager.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15/10/12. 6 | // Copyright © 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STTrashManager : NSObject 13 | 14 | + (instancetype)sharedManager; 15 | 16 | @property(nonatomic) BOOL tryEmptyTrashWhenEnterBackground; 17 | /// 移到废纸篓 18 | - (BOOL)trashItemAtPath:(NSString *)path resultingItemPath:(NSString **)outResultingPath error:(NSError **)error; 19 | /// 清空废纸篓 20 | - (void)emptyTrashWithCompletionHandler:(void (^)(BOOL finished))completion; 21 | 22 | /// caclulate all trash size synchronized, will block current thread 23 | - (unsigned long long)trashSize; 24 | 25 | - (void)calculateTrashSizeWithCompletionHandler:(void(^)(unsigned long long size))completionHandler; 26 | 27 | - (BOOL)isEmptying; 28 | 29 | - (void)cancel; 30 | 31 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STURLCache.h: -------------------------------------------------------------------------------- 1 | // 2 | // STURLCache.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15-4-20. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STURLCache : NSURLCache 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STViewController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-10-5. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STViewController : UIViewController 13 | 14 | @property(nonatomic, assign, getter=isInteractivePopGestureEnabled) BOOL interactivePopGestureEnabled; 15 | 16 | - (void)backViewControllerAnimated:(BOOL)animated; 17 | 18 | @end 19 | 20 | #import 21 | #import -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STWebViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // STWebViewController.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 13-11-21. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | /** 13 | * @abstract 此ViewController为加载WebView的Controller。一般用于 关于等页面,内提供基本的前进,后退,刷新等网页功能 14 | */ 15 | @interface STWebViewController : STViewController 16 | 17 | /// UIWebView。 18 | @property(nonatomic, readonly, strong) UIWebView *webView; 19 | /// 底部导航栏是否hidden,包含网页的前进,后退,刷新等按钮。 20 | @property(nonatomic, assign) BOOL webViewBarHidden; 21 | - (void)setWebViewBarHidden:(BOOL)webViewBarHidden animated:(BOOL)animated; 22 | 23 | /// 加载是是否需要菊花 24 | @property(nonatomic, assign) BOOL showIndicatorWhenLoading; 25 | 26 | /// designed initializer 27 | - (instancetype)initWithURL:(NSURL *)URL; 28 | - (instancetype)initWithURLString:(NSString *)URLString; 29 | 30 | @end 31 | 32 | 33 | @interface STWebViewController (STLocalFile) 34 | 35 | - (instancetype)initWithContentsOfFile:(NSString *)path; 36 | 37 | @end -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/STZipArchive.h: -------------------------------------------------------------------------------- 1 | // 2 | // STZipArchive.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-5-9. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface STZipArchive : NSObject { 12 | } 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/UIAlertView+STBlock.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIAlertView+STBlock.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 14-10-31. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | typedef void (^STAlertViewDismissBlock)(UIAlertView *alertView, NSUInteger dismissIndex); 13 | 14 | @interface UIAlertView (STBlock) 15 | 16 | - (void)st_showWithDismissBlock:(STAlertViewDismissBlock)block; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Headers/UIView+STConstraint.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+STConstraint.h 3 | // STKit 4 | // 5 | // Created by SunJiangting on 15-1-21. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface UIView (STConstraint) 13 | 14 | - (STNULLABLE NSArray *)st_constraintsWithFirstItem:(STNULLABLE UIView *)firstItem; 15 | - (STNULLABLE NSArray *)st_constraintsWithFirstItem:(STNULLABLE UIView *)firstItem 16 | firstAttribute:(NSLayoutAttribute)attribute; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/STKit.framework/Info.plist -------------------------------------------------------------------------------- /STKitDemo/Classes/STKit.framework/STKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Classes/STKit.framework/STKit -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Small.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Small@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Spotlight-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon-Spotlight-40@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/AppIcon.appiconset/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/AppIcon.appiconset/Icon@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/Navigation/navigation_highlighted.imageset/navigation_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/Navigation/navigation_highlighted.imageset/navigation_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/Navigation/navigation_menu.imageset/navigation_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/Navigation/navigation_menu.imageset/navigation_menu.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/Navigation/navigation_menu.imageset/navigation_menu@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/Navigation/navigation_menu.imageset/navigation_menu@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarAvatar_highlighted.imageset/SideBarAvatar_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarAvatar_highlighted.imageset/SideBarAvatar_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarAvatar_normal.imageset/SideBarAvatar_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarAvatar_normal.imageset/SideBarAvatar_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarNearby_highlighted.imageset/SideBarNearby_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarNearby_highlighted.imageset/SideBarNearby_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarNearby_normal.imageset/SideBarNearby_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarNearby_normal.imageset/SideBarNearby_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarSetting_highlighted.imageset/SideBarSetting_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarSetting_highlighted.imageset/SideBarSetting_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarSetting_normal.imageset/SideBarSetting_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarSetting_normal.imageset/SideBarSetting_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarShare_highlighted.imageset/SideBarShare_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarShare_highlighted.imageset/SideBarShare_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/SideBar/SideBarShare_normal.imageset/SideBarShare_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/SideBar/SideBarShare_normal.imageset/SideBarShare_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/ViewController/left_account_header.imageset/left_account_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/ViewController/left_account_header.imageset/left_account_header.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/ViewController/left_account_header.imageset/left_account_header@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/ViewController/left_account_header.imageset/left_account_header@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/ViewController/left_bkg.imageset/left_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/ViewController/left_bkg.imageset/left_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/navigation_back_highlighted.imageset/navigation_back_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/navigation_back_highlighted.imageset/navigation_back_highlighted.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/navigation_back_highlighted.imageset/navigation_back_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/navigation_back_highlighted.imageset/navigation_back_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/navigation_back_normal.imageset/navigation_back_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/navigation_back_normal.imageset/navigation_back_normal.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/navigation_back_normal.imageset/navigation_back_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/navigation_back_normal.imageset/navigation_back_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/viewer_zoom_in.imageset/viewer_zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/viewer_zoom_in.imageset/viewer_zoom_in.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/viewer_zoom_in.imageset/viewer_zoom_in@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/viewer_zoom_in.imageset/viewer_zoom_in@2x.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/viewer_zoom_out.imageset/viewer_zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/viewer_zoom_out.imageset/viewer_zoom_out.png -------------------------------------------------------------------------------- /STKitDemo/Images.xcassets/viewer_zoom_out.imageset/viewer_zoom_out@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Images.xcassets/viewer_zoom_out.imageset/viewer_zoom_out@2x.png -------------------------------------------------------------------------------- /STKitDemo/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/01@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/01@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/02@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/02@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/03@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/03@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/04@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/04@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/05@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/05@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/06@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/06@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/07@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/07@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/STDLoading/08@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/STDLoading/08@2x.png -------------------------------------------------------------------------------- /STKitDemo/Resources/shangxin_292182.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/shangxin_292182.jpg -------------------------------------------------------------------------------- /STKitDemo/Resources/shangxin_292182@2x.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Resources/shangxin_292182@2x.jpg -------------------------------------------------------------------------------- /STKitDemo/STDAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // STDAppDelegate.h 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-6. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @class SCSiriWaveformView; 12 | @interface STDAppDelegate : UIResponder 13 | 14 | @property(strong, nonatomic) UIWindow *window; 15 | 16 | - (UIViewController *)startViewController; 17 | - (UIViewController *)tabBarController; 18 | - (UIViewController *)sideBarController; 19 | - (void)replaceRootViewController:(UIViewController *)newViewController 20 | animationOptions:(UIViewAnimationOptions)options; 21 | @end -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-60@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-60@2x-1.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-60@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-72.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-72@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-76.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-76@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small-50.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Small@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Spotlight-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Spotlight-40.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Spotlight-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon-Spotlight-40@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/AppIcon.appiconset/Icon@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/avatar72.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "avatar72.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "avatar72@2x@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/avatar72.imageset/avatar72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Base/avatar72.imageset/avatar72.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/avatar72.imageset/avatar72@2x@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Base/avatar72.imageset/avatar72@2x@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/navigation.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "navigation.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "navigation@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/navigation.imageset/navigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Base/navigation.imageset/navigation.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Base/navigation.imageset/navigation@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Base/navigation.imageset/navigation@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_green.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "bubble_image_green.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "bubble_image_green@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_green.imageset/bubble_image_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_image_green.imageset/bubble_image_green.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_green.imageset/bubble_image_green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_image_green.imageset/bubble_image_green@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_white.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "bubble_image_white.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "bubble_image_white@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_white.imageset/bubble_image_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_image_white.imageset/bubble_image_white.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_image_white.imageset/bubble_image_white@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_image_white.imageset/bubble_image_white@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_green.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "bubble_text_green.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "bubble_text_green@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_green.imageset/bubble_text_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_text_green.imageset/bubble_text_green.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_green.imageset/bubble_text_green@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_text_green.imageset/bubble_text_green@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_white.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "bubble_text_white.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "bubble_text_white@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_white.imageset/bubble_text_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_text_white.imageset/bubble_text_white.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/bubble_text_white.imageset/bubble_text_white@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/bubble_text_white.imageset/bubble_text_white@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "chat_input_send_highlighted.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "chat_input_send_highlighted@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_highlighted.imageset/chat_input_send_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_highlighted.imageset/chat_input_send_highlighted.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_highlighted.imageset/chat_input_send_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_highlighted.imageset/chat_input_send_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "chat_input_send_normal.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "chat_input_send_normal@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_normal.imageset/chat_input_send_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_normal.imageset/chat_input_send_normal.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_normal.imageset/chat_input_send_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Chat/chat_input_send_normal.imageset/chat_input_send_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_background.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "feed_cell_background@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_background.imageset/feed_cell_background@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_background.imageset/feed_cell_background@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_border.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "feed_cell_border@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_border.imageset/feed_cell_border@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/FeedCell/feed_cell_border.imageset/feed_cell_border@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_hot_icon.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "feed_hot_icon@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/FeedCell/feed_hot_icon.imageset/feed_hot_icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/FeedCell/feed_hot_icon.imageset/feed_hot_icon@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-667h@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default-736h@3x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/LaunchImage.launchimage/Default@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_cancel_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "nav_cancel_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_cancel_normal.imageset/nav_cancel_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Navigation/nav_cancel_normal.imageset/nav_cancel_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_done_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "nav_done_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_done_normal.imageset/nav_done_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Navigation/nav_done_normal.imageset/nav_done_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_menu_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "nav_menu_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_menu_normal.imageset/nav_menu_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Navigation/nav_menu_normal.imageset/nav_menu_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_refresh_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "nav_refresh_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_refresh_normal.imageset/nav_refresh_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Navigation/nav_refresh_normal.imageset/nav_refresh_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_setting_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "nav_setting_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Navigation/nav_setting_normal.imageset/nav_setting_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Navigation/nav_setting_normal.imageset/nav_setting_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Porn/article_collect.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "article_collect.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Porn/article_collect.imageset/article_collect.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Porn/article_collect.imageset/article_collect.pdf -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Porn/article_collected.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "article_collected.pdf" 6 | } 7 | ], 8 | "info" : { 9 | "version" : 1, 10 | "author" : "xcode" 11 | } 12 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Porn/article_collected.imageset/article_collected.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Porn/article_collected.imageset/article_collected.pdf -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/choose_image_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "choose_image_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/choose_image_highlighted.imageset/choose_image_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/choose_image_highlighted.imageset/choose_image_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/choose_image_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "choose_image_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/choose_image_normal.imageset/choose_image_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/choose_image_normal.imageset/choose_image_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/hud_done.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "hud_done@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/hud_done.imageset/hud_done@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/hud_done.imageset/hud_done@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/product_default.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "product_default.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "product_default@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/product_default.imageset/product_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/product_default.imageset/product_default.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/product_default.imageset/product_default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/product_default.imageset/product_default@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_button_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "publish_button_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_button_highlighted.imageset/publish_button_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/publish_button_highlighted.imageset/publish_button_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_button_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "publish_button_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_button_normal.imageset/publish_button_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/publish_button_normal.imageset/publish_button_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_tool_bkg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "publish_tool_bkg.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "publish_tool_bkg@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_tool_bkg.imageset/publish_tool_bkg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/publish_tool_bkg.imageset/publish_tool_bkg.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Publish/publish_tool_bkg.imageset/publish_tool_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Publish/publish_tool_bkg.imageset/publish_tool_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "search_cancel_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_highlighted.imageset/search_cancel_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_highlighted.imageset/search_cancel_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "search_cancel_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_normal.imageset/search_cancel_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SearchBar/search_cancel_normal.imageset/search_cancel_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/searchbar_bkg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "searchbar_bkg@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/searchbar_bkg.imageset/searchbar_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SearchBar/searchbar_bkg.imageset/searchbar_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/textfield_delete_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "textfield_delete_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SearchBar/textfield_delete_normal.imageset/textfield_delete_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SearchBar/textfield_delete_normal.imageset/textfield_delete_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarAvatar_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_highlighted.imageset/SideBarAvatar_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_highlighted.imageset/SideBarAvatar_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarAvatar_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_normal.imageset/SideBarAvatar_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarAvatar_normal.imageset/SideBarAvatar_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarNearby_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_highlighted.imageset/SideBarNearby_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_highlighted.imageset/SideBarNearby_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarNearby_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_normal.imageset/SideBarNearby_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarNearby_normal.imageset/SideBarNearby_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarSetting_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_highlighted.imageset/SideBarSetting_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_highlighted.imageset/SideBarSetting_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarSetting_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_normal.imageset/SideBarSetting_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarSetting_normal.imageset/SideBarSetting_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarShare_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_highlighted.imageset/SideBarShare_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_highlighted.imageset/SideBarShare_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "SideBarShare_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_normal.imageset/SideBarShare_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/SideBar/SideBarShare_normal.imageset/SideBarShare_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_bkg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_bkg@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_bkg.imageset/tab_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_bkg.imageset/tab_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_message_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_message_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_message_highlighted.imageset/tab_message_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_message_highlighted.imageset/tab_message_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_message_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_message_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_message_normal.imageset/tab_message_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_message_normal.imageset/tab_message_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_profile_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_highlighted.imageset/tab_profile_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_highlighted.imageset/tab_profile_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_profile_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_normal.imageset/tab_profile_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_profile_normal.imageset/tab_profile_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_receipt_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_highlighted.imageset/tab_receipt_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_highlighted.imageset/tab_receipt_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_receipt_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_normal.imageset/tab_receipt_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_receipt_normal.imageset/tab_receipt_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_service_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_service_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_service_highlighted.imageset/tab_service_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_service_highlighted.imageset/tab_service_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_service_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "tab_service_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/TabBar/tab_service_normal.imageset/tab_service_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/TabBar/tab_service_normal.imageset/tab_service_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/button_bkg_highlighted.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "button_bkg_highlighted@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/button_bkg_highlighted.imageset/button_bkg_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Test/button_bkg_highlighted.imageset/button_bkg_highlighted@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/button_bkg_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "button_bkg_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/button_bkg_normal.imageset/button_bkg_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Test/button_bkg_normal.imageset/button_bkg_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/home_search_left_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "home_search_left_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/home_search_left_normal.imageset/home_search_left_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Test/home_search_left_normal.imageset/home_search_left_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/home_search_right_normal.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "home_search_right_normal@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/home_search_right_normal.imageset/home_search_right_normal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Test/home_search_right_normal.imageset/home_search_right_normal@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/search_history_edit.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "search_history_edit@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/Test/search_history_edit.imageset/search_history_edit@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/Test/search_history_edit.imageset/search_history_edit@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole0.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole0@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole0.imageset/wormhole0@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole0.imageset/wormhole0@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole1.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole1@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole1.imageset/wormhole1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole1.imageset/wormhole1@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole2.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole2@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole2.imageset/wormhole2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole2.imageset/wormhole2@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole3.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole3@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole3.imageset/wormhole3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole3.imageset/wormhole3@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole4.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole4@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole4.imageset/wormhole4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole4.imageset/wormhole4@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole5.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "wormhole5@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole5.imageset/wormhole5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/Menu/wormhole5.imageset/wormhole5@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/aero_button.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "aero_button@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/aero_button.imageset/aero_button@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/aero_button.imageset/aero_button@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_in.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "viewer_zoom_in.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "viewer_zoom_in@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_in.imageset/viewer_zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_in.imageset/viewer_zoom_in.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_in.imageset/viewer_zoom_in@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_in.imageset/viewer_zoom_in@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_out.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "viewer_zoom_out.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "viewer_zoom_out@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_out.imageset/viewer_zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_out.imageset/viewer_zoom_out.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_out.imageset/viewer_zoom_out@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/UIControls/viewer_zoom_out.imageset/viewer_zoom_out@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/ViewController/left_account_header.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "left_account_header.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "left_account_header@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/ViewController/left_account_header.imageset/left_account_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/ViewController/left_account_header.imageset/left_account_header.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/ViewController/left_account_header.imageset/left_account_header@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/ViewController/left_account_header.imageset/left_account_header@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/ViewController/left_bkg.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "left_bkg@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/ViewController/left_bkg.imageset/left_bkg@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/ViewController/left_bkg.imageset/left_bkg@2x.png -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/terms.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "terms@2x.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /STKitDemo/STDemoImages.xcassets/terms.imageset/terms@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/STDemoImages.xcassets/terms.imageset/terms@2x.png -------------------------------------------------------------------------------- /STKitDemo/STKitDemo-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 15 | #import 16 | #import "STDCoreDataManager.h" 17 | #define kSTKitDemoUmengAppKey @"52c2a67156240b811a09028e" 18 | 19 | extern void STDLogRemoteWithString(NSString *string, NSString *colorString); 20 | #endif 21 | -------------------------------------------------------------------------------- /STKitDemo/STKitDemo.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /STKitDemo/Settings.bundle/en.lproj/Root.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/Settings.bundle/en.lproj/Root.strings -------------------------------------------------------------------------------- /STKitDemo/TemplateIcon2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lovesunstar/stkitdemo/a844ecad995f5ab972ff9d133ebfb89f36c9b138/STKitDemo/TemplateIcon2x.png -------------------------------------------------------------------------------- /STKitDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /STKitDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 13-12-6. 6 | // Copyright (c) 2013年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import "STDAppDelegate.h" 10 | 11 | int main(int argc, char * argv[]) { 12 | @autoreleasepool { 13 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([STDAppDelegate class])); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /STKitDemoTests/DesignPatterns/Creational/STDAbstractFactoryTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDAbstractFactoryTests.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-12. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDAbstractFactory.h" 11 | 12 | @interface STDAbstractFactoryTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation STDAbstractFactoryTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testCreateProductA { 29 | id productA = [STDFactoryA createProduct]; 30 | [productA printProductName]; 31 | XCTAssertTrue([productA isKindOfClass:[STDProductA class]]); 32 | } 33 | 34 | - (void)testCreateProductB { 35 | id productB = [STDFactoryB createProduct]; 36 | [productB printProductName]; 37 | XCTAssertTrue([productB isKindOfClass:[STDProductB class]]); 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /STKitDemoTests/DesignPatterns/Creational/STDFactoryMethodTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // STDFactoryMethodTests.m 3 | // STKitDemo 4 | // 5 | // Created by SunJiangting on 15-2-11. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "STDFactoryMethod.h" 11 | 12 | @interface STDFactoryMethodTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation STDFactoryMethodTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testCreateProduct { 29 | id product = [STDFactoryMethod createProduct]; 30 | [product printProductName]; 31 | XCTAssertTrue([product isKindOfClass:[STDFactoryMethodProduct class]]); 32 | 33 | } 34 | 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /STKitDemoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /STKitDemoTests/STKitDemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // STKitDemoTests.m 3 | // STKitDemoTests 4 | // 5 | // Created by SunJiangting on 15-2-12. 6 | // Copyright (c) 2015年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface STKitDemoTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation STKitDemoTests 17 | 18 | - (void)setUp { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown { 24 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /STKitWidget/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | STKitWidget 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | com.suen.STKitDemo.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | XPC! 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSExtension 26 | 27 | NSExtensionMainStoryboard 28 | MainInterface 29 | NSExtensionPointIdentifier 30 | com.apple.widget-extension 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /STKitWidget/STKitWidgetInHouse-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | STKitWidget 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | com.suen.app.STKitDemo.$(PRODUCT_NAME:rfc1034identifier) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | XPC! 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSExtension 26 | 27 | NSExtensionMainStoryboard 28 | MainInterface 29 | NSExtensionPointIdentifier 30 | com.apple.widget-extension 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /STKitWidget/TodayViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TodayViewController.h 3 | // STKitWidget 4 | // 5 | // Created by SunJiangting on 14-10-9. 6 | // Copyright (c) 2014年 SunJiangting. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TodayViewController : UIViewController 12 | 13 | @end 14 | --------------------------------------------------------------------------------