@ -13,7 +13,7 @@ import Social
import FacebookShare
import FBSDKShareKit
class HomeViewController : UIViewController , TableViewCellDelegate , FBSDKSharingDelegate {
class _ HomeViewController: UIViewController , TableViewCellDelegate , FBSDKSharingDelegate {
enum TableViewCells : Int {
@ -289,7 +289,7 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
let supportEmail = UIAlertAction ( title : " support@gmeremit.com " , style : . default ) {
UIAlertAction in
let storyboard = UIStoryboard . init ( name : " Home " , bundle : Bundle . main )
let storyboard = UIStoryboard . init ( name : " _ Home" , bundle : Bundle . main )
if let messageViewController = storyboard . instantiateViewController ( withIdentifier : " message " ) as ? MessageComposeViewController {
messageViewController . supportIndex = 0
self . navigationController ! . pushViewController ( messageViewController , animated : true )
@ -412,17 +412,17 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
}
@objc private func showSideMenuAboutGme ( ) {
let vc = UIStoryboard . init ( name : " Home " , bundle : nil ) . instantiateViewController ( withIdentifier : " AboutGMEViewController " ) as ! AboutGMEViewController
let vc = UIStoryboard . init ( name : " _ Home" , bundle : nil ) . instantiateViewController ( withIdentifier : " AboutGMEViewController " ) as ! AboutGMEViewController
self . navigationController ? . pushViewController ( vc , animated : true )
}
@objc private func showSideMenuSetting ( ) {
let vc = UIStoryboard . init ( name : " Home " , bundle : nil ) . instantiateViewController ( withIdentifier : " SettingViewController " ) as ! SettingViewController
let vc = UIStoryboard . init ( name : " _ Home" , bundle : nil ) . instantiateViewController ( withIdentifier : " SettingViewController " ) as ! SettingViewController
self . navigationController ? . pushViewController ( vc , animated : true )
}
@objc private func showSideMenuSupport ( ) {
let vc = UIStoryboard . init ( name : " Home " , bundle : nil ) . instantiateViewController ( withIdentifier : " SupportViewController " ) as ! SupportViewController
let vc = UIStoryboard . init ( name : " _ Home" , bundle : nil ) . instantiateViewController ( withIdentifier : " SupportViewController " ) as ! SupportViewController
self . navigationController ? . pushViewController ( vc , animated : true )
}
@ -467,7 +467,7 @@ class HomeViewController: UIViewController, TableViewCellDelegate, FBSDKSharing
*/
extension HomeViewController {
extension _ HomeViewController {
// U P L O A D T E X T A S S T A T U S
@objc func uploadTextStatus ( _ sender : TableViewCell ) {
@ -573,7 +573,7 @@ extension HomeViewController {
@objc func loadBalanceTap ( _ sender : TableViewCell ) {
guard let navController = self . navigationController else { return }
let popUpViewController = UIStoryboard ( name : " Home " , bundle : nil ) . instantiateViewController ( withIdentifier : " loadBalance " ) as ! LoadBalanceViewController
let popUpViewController = UIStoryboard ( name : " _ Home" , bundle : nil ) . instantiateViewController ( withIdentifier : " loadBalance " ) as ! LoadBalanceViewController
navController . addChildViewController ( popUpViewController )
popUpViewController . view . frame = navController . view . bounds
@ -589,7 +589,7 @@ extension HomeViewController {
}
@objc func agentTap ( _ sender : TableViewCell ) {
let storyboard = UIStoryboard . init ( name : " Home " , bundle : Bundle . main )
let storyboard = UIStoryboard . init ( name : " _ Home" , bundle : Bundle . main )
let vController = storyboard . instantiateViewController ( withIdentifier : " PayoutViewController " ) as ! PayoutViewController
self . navigationController ! . pushViewController ( vController , animated : true )
@ -983,7 +983,7 @@ extension HomeViewController {
----------------- HANDLES THE SECTION HEIGHT IN TABLEVIEW ------------
*/
extension HomeViewController : UIScrollViewDelegate {
extension _ HomeViewController: UIScrollViewDelegate {
@IBAction func scrollToTop ( _ sender : Any ) {
tableView . scrollToRow ( at : IndexPath ( row : 0 , section : 0 ) , at : UITableViewScrollPosition . top , animated : true )
@ -1070,7 +1070,7 @@ extension HomeViewController: UIScrollViewDelegate {
}
}
extension HomeViewController : UITableViewDelegate , UITableViewDataSource {
extension _ HomeViewController: UITableViewDelegate , UITableViewDataSource {
func tableView ( _ tableView : UITableView , heightForRowAt indexPath : IndexPath ) -> CGFloat {
@ -1251,7 +1251,7 @@ extension HomeViewController: UITableViewDelegate, UITableViewDataSource {
----------------- IMAGE DIALOG ------------
----------------- GALLERY AND CAMERA ACTION ------------*/
extension HomeViewController {
extension _ HomeViewController {
func addUserProfileImage ( ) {
@ -1318,7 +1318,7 @@ extension HomeViewController {
----------------- HANDLES IMAGE PICKING ------------
----------------- HANDLES PICKING FROM CAMERA AND GALLERY ------------*/
extension HomeViewController : UINavigationControllerDelegate , UIImagePickerControllerDelegate {
extension _ HomeViewController: UINavigationControllerDelegate , UIImagePickerControllerDelegate {
func imagePickerController ( _ picker : UIImagePickerController , didFinishPickingMediaWithInfo info : [ String : Any ] ) {
@ -1342,7 +1342,7 @@ extension HomeViewController: UINavigationControllerDelegate, UIImagePickerContr
----------------- HANDLES COLLECTION VIEW MARGINS ------------
----------------- HANDLES COLLECTION VIEW ITEMS DRAG ------------*/
extension HomeViewController : UICollectionViewDelegate , UICollectionViewDataSource , UICollectionViewDelegateFlowLayout {
extension _ HomeViewController: UICollectionViewDelegate , UICollectionViewDataSource , UICollectionViewDelegateFlowLayout {
func collectionView ( _ collectionView : UICollectionView , numberOfItemsInSection section : Int ) -> Int {