Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

연락처 관리 앱 [Step3] 이지, 카일 #92

Open
wants to merge 35 commits into
base: d_easy
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
cc1f322
add: ContactTableViewErrorCell 추가
Changhyun-Kyle Jan 12, 2024
0307412
add: ContactTableViewErrorCell 추가
Changhyun-Kyle Jan 12, 2024
3711302
add: NotificationName 파일 추가
Changhyun-Kyle Jan 12, 2024
65c2ecc
feat: 사용자 입력값 유효성 검증 객체 생성
Changhyun-Kyle Jan 12, 2024
9f613c7
refactor: editContact -> safe index 활용 리팩토링
Changhyun-Kyle Jan 12, 2024
19c44c8
feat: 전화번호 포맷팅 String Extension 구현
Changhyun-Kyle Jan 12, 2024
4964673
feat: safe index Array Extension 구현
Changhyun-Kyle Jan 12, 2024
cca7ea3
chore: 코드 인덴트 수정
Changhyun-Kyle Jan 12, 2024
041a6b5
feat: phoneNumberTextFieldEditingChanged 함수 구현
Changhyun-Kyle Jan 12, 2024
670ce9f
chroe: Array+, String+, NotificaitonName 파일 추가
Changhyun-Kyle Jan 12, 2024
66c71f5
refactor: NotficationName -> enum 타입에서 extension으로 변경
yoruck2 Jan 12, 2024
cfbf3cf
chore: MARK 주석 추가
yoruck2 Jan 12, 2024
f7dc965
Merge branch 'STEP2'
Changhyun-Kyle Jan 15, 2024
752a22b
fix: 병합 과정 누락 파일 추가
Changhyun-Kyle Jan 15, 2024
b442421
fix: 병합 과정 누락 파일 추가
Changhyun-Kyle Jan 15, 2024
1f28372
refactor: 불필요 주석 제거
Changhyun-Kyle Jan 15, 2024
56b4472
Merge pull request #9 from yoruck2/hotfix
Changhyun-Kyle Jan 15, 2024
184b047
refactor: 불필요 주석 제거
Changhyun-Kyle Jan 15, 2024
edc38a0
feat: 연락처 검색을 위한 filteredContacts() 구현
Changhyun-Kyle Jan 16, 2024
5da5b79
feat: isFiltered Boolean 값을 통한 연락처 검색 기능 구현
Changhyun-Kyle Jan 16, 2024
2bd17f1
feat: Dynamic Type 적용
Changhyun-Kyle Jan 16, 2024
57dfd9b
feat: 연락처테이블뷰 셀 선택 시 연락처 변경 화면 전환 기능구현
yoruck2 Jan 17, 2024
cb53a7f
fix: 프로젝트 파일 복구
yoruck2 Jan 17, 2024
c6b7b39
feat: navigationBar hidden 설정
Changhyun-Kyle Jan 17, 2024
9f00001
fix: 연락처 검색 시 삭제 오류 수정
Changhyun-Kyle Jan 17, 2024
56224fc
refactor: 인덴트 수정 및 STEP2 리뷰 반영
Changhyun-Kyle Jan 18, 2024
7c9a59a
feat: TypeIdentifiable 채택
Changhyun-Kyle Jan 23, 2024
e882387
feat: 연락처 검색 기능 구현
Changhyun-Kyle Jan 23, 2024
0948684
feat: TypeIdentifiable 채택
Changhyun-Kyle Jan 23, 2024
ffd4428
chore: Private Methods extension으로 분기
Changhyun-Kyle Jan 23, 2024
6bb945c
chore: Private Methods extension으로 분기
Changhyun-Kyle Jan 23, 2024
223dcca
chore: 불필요 인덴트 수정
Changhyun-Kyle Jan 23, 2024
227a5af
chore: 불필요 인덴트 수정
Changhyun-Kyle Jan 23, 2024
0a49955
chore: Private Methods extension으로 분기
Changhyun-Kyle Jan 23, 2024
39d7a5a
remove: NotificationCenter 기능 삭제로 인한 파일제거
Changhyun-Kyle Jan 23, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@
objects = {

/* Begin PBXBuildFile section */
277808382B4F894500FC3E71 /* ContactTableViewErrorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277808372B4F894400FC3E71 /* ContactTableViewErrorCell.swift */; };
2778083A2B4F8DA800FC3E71 /* Array+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 277808392B4F8DA800FC3E71 /* Array+.swift */; };
274612932B4D2218000372A3 /* UIViewController+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 274612922B4D2218000372A3 /* UIViewController+.swift */; };
2782250E2B5127C1000A5EEE /* String+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2782250D2B5127C1000A5EEE /* String+.swift */; };
278225102B51284C000A5EEE /* ContactTableViewErrorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2782250F2B51284C000A5EEE /* ContactTableViewErrorCell.swift */; };
278225122B5128EA000A5EEE /* Array+.swift in Sources */ = {isa = PBXBuildFile; fileRef = 278225112B5128EA000A5EEE /* Array+.swift */; };
27B240442B5A02BB00707CD3 /* TypeIdentifiable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27B240432B5A02BB00707CD3 /* TypeIdentifiable.swift */; };
27B240462B5A043A00707CD3 /* UpdateContactDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27B240452B5A043A00707CD3 /* UpdateContactDelegate.swift */; };
27BD67B32B550F16003EDAA1 /* ContactManageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27BD67B22B550F16003EDAA1 /* ContactManageViewController.swift */; };
27BD67BF2B55132B003EDAA1 /* InputValidator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27BD67BE2B55132B003EDAA1 /* InputValidator.swift */; };
27BD67C12B55132F003EDAA1 /* ContactError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27BD67C02B55132F003EDAA1 /* ContactError.swift */; };
842FA5F82B576AE5003D73CA /* ContactListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 842FA5F72B576AE5003D73CA /* ContactListViewController.swift */; };
846A09D02B43AB0000236358 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 846A09CF2B43AB0000236358 /* AppDelegate.swift */; };
846A09D22B43AB0000236358 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 846A09D12B43AB0000236358 /* SceneDelegate.swift */; };
846A09D42B43AB0000236358 /* ContactListViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 846A09D32B43AB0000236358 /* ContactListViewController.swift */; };
846A09D72B43AB0000236358 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 846A09D52B43AB0000236358 /* Main.storyboard */; };
846A09D92B43AB0200236358 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 846A09D82B43AB0200236358 /* Assets.xcassets */; };
846A09DC2B43AB0200236358 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 846A09DA2B43AB0200236358 /* LaunchScreen.storyboard */; };
Expand All @@ -21,12 +28,19 @@
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
277808372B4F894400FC3E71 /* ContactTableViewErrorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContactTableViewErrorCell.swift; sourceTree = "<group>"; };
277808392B4F8DA800FC3E71 /* Array+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+.swift"; sourceTree = "<group>"; };
274612922B4D2218000372A3 /* UIViewController+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIViewController+.swift"; sourceTree = "<group>"; };
2782250D2B5127C1000A5EEE /* String+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+.swift"; sourceTree = "<group>"; };
2782250F2B51284C000A5EEE /* ContactTableViewErrorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContactTableViewErrorCell.swift; sourceTree = "<group>"; };
278225112B5128EA000A5EEE /* Array+.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+.swift"; sourceTree = "<group>"; };
27B240432B5A02BB00707CD3 /* TypeIdentifiable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TypeIdentifiable.swift; sourceTree = "<group>"; };
27B240452B5A043A00707CD3 /* UpdateContactDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpdateContactDelegate.swift; sourceTree = "<group>"; };
27BD67B22B550F16003EDAA1 /* ContactManageViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContactManageViewController.swift; sourceTree = "<group>"; };
27BD67BE2B55132B003EDAA1 /* InputValidator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = InputValidator.swift; sourceTree = "<group>"; };
27BD67C02B55132F003EDAA1 /* ContactError.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContactError.swift; sourceTree = "<group>"; };
842FA5F72B576AE5003D73CA /* ContactListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContactListViewController.swift; sourceTree = "<group>"; };
846A09CC2B43AB0000236358 /* ios-contact-manager-ui.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ios-contact-manager-ui.app"; sourceTree = BUILT_PRODUCTS_DIR; };
846A09CF2B43AB0000236358 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
846A09D12B43AB0000236358 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
846A09D32B43AB0000236358 /* ContactListViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContactListViewController.swift; sourceTree = "<group>"; };
846A09D62B43AB0000236358 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
846A09D82B43AB0200236358 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
846A09DB2B43AB0200236358 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
Expand All @@ -50,15 +64,27 @@
274612912B4D21F4000372A3 /* Extension */ = {
isa = PBXGroup;
children = (
277808392B4F8DA800FC3E71 /* Array+.swift */,
274612922B4D2218000372A3 /* UIViewController+.swift */,
2782250D2B5127C1000A5EEE /* String+.swift */,
278225112B5128EA000A5EEE /* Array+.swift */,
);
path = Extension;
sourceTree = "<group>";
};
27B240422B5A02A100707CD3 /* Utils */ = {
isa = PBXGroup;
children = (
27B240432B5A02BB00707CD3 /* TypeIdentifiable.swift */,
27B240452B5A043A00707CD3 /* UpdateContactDelegate.swift */,
);
path = Utils;
sourceTree = "<group>";
};
27B86A2A2B4551DD0081F621 /* Controller */ = {
isa = PBXGroup;
children = (
846A09D32B43AB0000236358 /* ContactListViewController.swift */,
842FA5F72B576AE5003D73CA /* ContactListViewController.swift */,
27BD67B22B550F16003EDAA1 /* ContactManageViewController.swift */,
);
path = Controller;
sourceTree = "<group>";
Expand All @@ -69,7 +95,7 @@
846A09D52B43AB0000236358 /* Main.storyboard */,
846A09DA2B43AB0200236358 /* LaunchScreen.storyboard */,
846F3E582B47B9D300FE38D1 /* ContactTableViewCell.swift */,
277808372B4F894400FC3E71 /* ContactTableViewErrorCell.swift */,
2782250F2B51284C000A5EEE /* ContactTableViewErrorCell.swift */,
);
path = View;
sourceTree = "<group>";
Expand All @@ -79,6 +105,8 @@
children = (
846A09E32B43F71800236358 /* Contact.swift */,
846A09E52B43F89D00236358 /* ContactManager.swift */,
27BD67C02B55132F003EDAA1 /* ContactError.swift */,
27BD67BE2B55132B003EDAA1 /* InputValidator.swift */,
);
path = Model;
sourceTree = "<group>";
Expand Down Expand Up @@ -124,6 +152,7 @@
27B86A2B2B4551E10081F621 /* View */,
27B86A2A2B4551DD0081F621 /* Controller */,
274612912B4D21F4000372A3 /* Extension */,
27B240422B5A02A100707CD3 /* Utils */,
27B86A2E2B45520F0081F621 /* Resource */,
846A09DD2B43AB0200236358 /* Info.plist */,
);
Expand Down Expand Up @@ -201,12 +230,19 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
278225122B5128EA000A5EEE /* Array+.swift in Sources */,
27B240442B5A02BB00707CD3 /* TypeIdentifiable.swift in Sources */,
846F3E592B47B9D300FE38D1 /* ContactTableViewCell.swift in Sources */,
2778083A2B4F8DA800FC3E71 /* Array+.swift in Sources */,
274612932B4D2218000372A3 /* UIViewController+.swift in Sources */,
846A09E62B43F89D00236358 /* ContactManager.swift in Sources */,
27BD67C12B55132F003EDAA1 /* ContactError.swift in Sources */,
27BD67BF2B55132B003EDAA1 /* InputValidator.swift in Sources */,
846A09E42B43F71800236358 /* Contact.swift in Sources */,
846A09D42B43AB0000236358 /* ContactListViewController.swift in Sources */,
277808382B4F894500FC3E71 /* ContactTableViewErrorCell.swift in Sources */,
278225102B51284C000A5EEE /* ContactTableViewErrorCell.swift in Sources */,
842FA5F82B576AE5003D73CA /* ContactListViewController.swift in Sources */,
27BD67B32B550F16003EDAA1 /* ContactManageViewController.swift in Sources */,
27B240462B5A043A00707CD3 /* UpdateContactDelegate.swift in Sources */,
2782250E2B5127C1000A5EEE /* String+.swift in Sources */,
846A09D02B43AB0000236358 /* AppDelegate.swift in Sources */,
846A09D22B43AB0000236358 /* SceneDelegate.swift in Sources */,
);
Expand Down Expand Up @@ -360,13 +396,17 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = K9NKZR257N;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "ios-contact-manager-ui/Info.plist";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UIStatusBarStyle = "";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand All @@ -387,13 +427,17 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = K9NKZR257N;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "ios-contact-manager-ui/Info.plist";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
INFOPLIST_KEY_UIStatusBarStyle = "";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,20 @@ import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate {



func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.

return true
}

// MARK: UISceneSession Lifecycle

func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Called when a new scene session is being created.
// Use this method to select a configuration to create the new scene with.

return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}

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.

}


}

Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,29 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

var window: UIWindow?


func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).

guard let _ = (scene as? UIWindowScene) else { return }
}

func sceneDidDisconnect(_ scene: UIScene) {
// Called as the scene is being released by the system.
// This occurs shortly after the scene enters the background, or when its session is discarded.
// Release any resources associated with this scene that can be re-created the next time the scene connects.
// The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).

}

func sceneDidBecomeActive(_ scene: UIScene) {
// Called when the scene has moved from an inactive state to an active state.
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.

}

func sceneWillResignActive(_ scene: UIScene) {
// Called when the scene will move from an active state to an inactive state.
// This may occur due to temporary interruptions (ex. an incoming phone call).

}

func sceneWillEnterForeground(_ scene: UIScene) {
// Called as the scene transitions from the background to the foreground.
// Use this method to undo the changes made on entering the background.

}

func sceneDidEnterBackground(_ scene: UIScene) {
// Called as the scene transitions from the foreground to the background.
// Use this method to save data, release shared resources, and store enough scene-specific state information
// to restore the scene back to its current state.

}


}

Loading