Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
1,465 changes: 1,465 additions & 0 deletions AR_MEASUREMENT_TOOL_IMPLEMENTATION_PLAN.md

Large diffs are not rendered by default.

1,029 changes: 1,029 additions & 0 deletions COMPLETE_TECHNICAL_DOCUMENTATION.md

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions Envision.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = R5PAJ8PLL5;
DEVELOPMENT_TEAM = 4PMY8MS8XC;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Envision/Info.plist;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;
Expand All @@ -161,7 +161,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 25.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.vinayakchandra.Envision;
PRODUCT_BUNDLE_IDENTIFIER = com.vinayakchandra.Envisionjhf;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
Expand All @@ -180,7 +180,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = R5PAJ8PLL5;
DEVELOPMENT_TEAM = 4PMY8MS8XC;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = Envision/Info.plist;
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;
Expand All @@ -196,7 +196,7 @@
"@executable_path/Frameworks",
);
MARKETING_VERSION = 25.0.0;
PRODUCT_BUNDLE_IDENTIFIER = com.vinayakchandra.Envision;
PRODUCT_BUNDLE_IDENTIFIER = com.vinayakchandra.Envisionjhf;
PRODUCT_NAME = "$(TARGET_NAME)";
STRING_CATALOG_GENERATE_SYMBOLS = YES;
SWIFT_APPROACHABLE_CONCURRENCY = YES;
Expand Down
Binary file not shown.
Binary file modified Envision/.DS_Store
Binary file not shown.
42 changes: 17 additions & 25 deletions Envision/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,31 @@

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {

return true
}

import UIKit

@main
class AppDelegate: UIResponder, UIApplicationDelegate {

func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
return true
}

// Required for SceneDelegate lifecycle
func application(_ application: UIApplication,
configurationForConnecting connectingSceneSession: UISceneSession,
options: UIScene.ConnectionOptions) -> UISceneConfiguration {
return UISceneConfiguration(name: "Default Configuration",
sessionRole: connectingSceneSession.role)
}


// Required for SceneDelegate lifecycle
func application(_ application: UIApplication,
configurationForConnecting connectingSceneSession: UISceneSession,
options: UIScene.ConnectionOptions) -> UISceneConfiguration {
return UISceneConfiguration(name: "Default Configuration",
sessionRole: connectingSceneSession.role)
}

// MARK: UISceneSession Lifecycle



func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
// Called when the user discards a scene session.
// If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
// Use this method to release any resources that were specific to the discarded scenes, as they will not return.
}


}

Binary file modified Envision/Assets.xcassets/.DS_Store
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"info" : {
"author" : "xcode",
"version" : 1
},
"symbols" : [
{
"filename" : "custom.sofafill.viewfinder.svg",
"idiom" : "universal"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Envision/Extensions/Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import UIKit
// self.init(red: r, green: g, blue: b, alpha: a)
// }
//}

//abhinav
extension UIView {
func applyGradientBackground(colors: [UIColor]) {
let gradientLayer = CAGradientLayer()
Expand Down
4 changes: 2 additions & 2 deletions Envision/Extensions/SaveManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ enum ModelType {
case .furniture: return "Furniture"
case .room: return "Room"
}
}
}
}

struct ModelMetadata: Codable {
Expand Down Expand Up @@ -143,7 +143,7 @@ final class SaveManager {
completion(true)
}
} catch {
print("Error deleting model: \(error)")
print("Error deleting model: \(error)")
DispatchQueue.main.async {
completion(false)
}
Expand Down
2 changes: 1 addition & 1 deletion Envision/Extensions/UserManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ final class UserManager {
}
return true
} catch {
print(" Failed to save profile image: \(error)")
print(" Failed to save profile image: \(error)")
return false
}
}
Expand Down
7 changes: 6 additions & 1 deletion Envision/MainTabBarController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ final class MainTabBarController: UITabBarController {
setupLiquidGlassEffect()
}

override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
// Intentionally no global overlay tips here.
}

private func setupTabs() {
// let home = UINavigationController(rootViewController: RoomsViewController())
let home = UINavigationController(rootViewController: MyRoomsViewController())
home.tabBarItem = UITabBarItem(title: "My Rooms", image: UIImage(systemName: "house"), selectedImage: UIImage(systemName: "house.fill"))

let scan = UINavigationController(rootViewController: ScanFurnitureViewController())
scan.tabBarItem = UITabBarItem(title: "My Furniture", image: UIImage(named: "sofa.viewfinder"), selectedImage: UIImage(named: "sofa.viewfinder"))
scan.tabBarItem = UITabBarItem(title: "My Furniture", image: UIImage(named: "sofa.viewfinder"), selectedImage: UIImage(named: "custom.sofafill.viewfinder"))

// let shop = UINavigationController(rootViewController: ShopViewController())
// shop.tabBarItem = UITabBarItem(title: "Shop", image: UIImage(systemName: "bag"), selectedImage: UIImage(systemName: "bag.fill"))
Expand Down
Loading