// // StoryboardManager.m // Secret // // Created by armin on 2019/7/10. // Copyright © 2019 Chengdu Xinyue. All rights reserved. // #import "StoryboardManager.h" @interface StoryboardManager () @property (weak, nonatomic) UIStoryboard *myCenter; @property (weak, nonatomic) UIStoryboard *setting; @property (weak, nonatomic) UIStoryboard *login; @property (weak, nonatomic) UIStoryboard *chatMsg; @property (weak, nonatomic) UIStoryboard *chatMsgSearch; @property (weak, nonatomic) UIStoryboard *myCenterSearch; @property (weak, nonatomic) UIStoryboard *workingGroup; @property (weak, nonatomic) UIStoryboard *chatMsgNotice; @property (weak, nonatomic) UIStoryboard *mailList; @property (weak, nonatomic) UIStoryboard *chatMsgDetailChat; @property (weak, nonatomic) UIStoryboard *tdInterLeterAnonymous; @property (weak, nonatomic) UIStoryboard *interLeterHome; @property (weak, nonatomic) UIStoryboard *verisonData; @property (weak, nonatomic) UIStoryboard *waitWork; @property (weak, nonatomic) UIStoryboard *TDGroup; @property (weak, nonatomic) UIStoryboard *myfavorite; @property (weak, nonatomic) UIStoryboard *myNoteBook; @property (weak, nonatomic) UIStoryboard *TDGroupInfo; @property (weak, nonatomic) UIStoryboard *myTDTopic; @property (weak, nonatomic) UIStoryboard *myTDTopicExtent; @property (weak, nonatomic) UIStoryboard *Search; @end @implementation StoryboardManager + (StoryboardManager *)shared { static dispatch_once_t onceToken; static StoryboardManager *manager; dispatch_once(&onceToken, ^{ manager = [StoryboardManager new]; }); return manager; } - (UIStoryboard *)myCenter { if (_myCenter) { return _myCenter; } return _myCenter = [UIStoryboard storyboardWithName:@"My_Center" bundle:nil]; } - (UIStoryboard *)setting { if (_setting) { return _setting; } return _setting = [UIStoryboard storyboardWithName:@"Setting" bundle:nil]; } - (UIStoryboard *)login { if (_login) { return _login; } return _login = [UIStoryboard storyboardWithName:@"Login" bundle:nil]; } - (UIStoryboard *)chatMsg { if (_chatMsg) { return _chatMsg; } return _chatMsg = [UIStoryboard storyboardWithName:@"ChatMsg" bundle:nil]; } - (UIStoryboard *)chatMsgSearch { if (_chatMsgSearch) { return _chatMsgSearch; } return _chatMsgSearch = [UIStoryboard storyboardWithName:@"ChatMsgSearch" bundle:nil]; } - (UIStoryboard *)myCenterSearch { if (_myCenterSearch) { return _myCenterSearch; } return _myCenterSearch = [UIStoryboard storyboardWithName:@"MyCenterSearch" bundle:nil]; } - (UIStoryboard *)workingGroup { if (_workingGroup) { return _workingGroup; } return _workingGroup = [UIStoryboard storyboardWithName:@"WorkingGroup" bundle:nil]; } - (UIStoryboard *)chatMsgNotice { if (_chatMsgNotice) { return _chatMsgNotice; } return _chatMsgNotice = [UIStoryboard storyboardWithName:@"ChatMsgNotice" bundle:nil]; } - (UIStoryboard *)mailList { if (_mailList) { return _mailList; } return _mailList = [UIStoryboard storyboardWithName:@"MailList" bundle:nil]; } - (UIStoryboard *)chatMsgDetailChat { if (_chatMsgDetailChat) { return _chatMsgDetailChat; } return _chatMsgDetailChat = [UIStoryboard storyboardWithName:@"ChatMsgDetail" bundle:nil]; } - (UIStoryboard *)tdInterLeterAnonymous{ if (_tdInterLeterAnonymous) { return _tdInterLeterAnonymous; } return _tdInterLeterAnonymous = [UIStoryboard storyboardWithName:@"TDAnonymousFileFind" bundle:nil]; } - (UIStoryboard *)interLeterHome{ if (_interLeterHome) { return _interLeterHome; } return _interLeterHome = [UIStoryboard storyboardWithName:@"TDInterLeterHome" bundle:nil]; } - (UIStoryboard *)verisonData{ if (_verisonData) { return _verisonData; } return _verisonData = [UIStoryboard storyboardWithName:@"VersionData" bundle:nil]; } - (UIStoryboard *)waitWork{ if (_waitWork) { return _waitWork; } return _waitWork = [UIStoryboard storyboardWithName:@"WaitWork" bundle:nil]; } - (UIStoryboard *)TDGroup{ if (_TDGroup) { return _TDGroup; } return _TDGroup = [UIStoryboard storyboardWithName:@"TDGroup" bundle:nil]; } - (UIStoryboard *)myfavorite{ if (_myfavorite) { return _myfavorite; } return _myfavorite = [UIStoryboard storyboardWithName:@"Favorite" bundle:nil]; }- (UIStoryboard *)myNoteBook{ if (_myNoteBook) { return _myNoteBook; } return _myNoteBook = [UIStoryboard storyboardWithName:@"NoteBook" bundle:nil]; } - (UIStoryboard *)TDGroupInfo{ if (_TDGroupInfo) { return _TDGroupInfo; } return _TDGroupInfo = [UIStoryboard storyboardWithName:@"TDGroupInfo" bundle:nil]; } - (UIStoryboard *)myTDTopic{ if (_myTDTopic) { return _myTDTopic; } return _myTDTopic = [UIStoryboard storyboardWithName:@"MyTDTopic" bundle:nil]; } - (UIStoryboard *)myTDTopicExtent{ if (_myTDTopicExtent) { return _myTDTopicExtent; } return _myTDTopicExtent = [UIStoryboard storyboardWithName:@"MyTDTopicExtent" bundle:nil]; } - (UIStoryboard *)Search{ if (_Search) { return _Search; } return _Search = [UIStoryboard storyboardWithName:@"Search" bundle:nil]; } @end