Skip to content

Commit

Permalink
#34: Add UI to edit the preferences
Browse files Browse the repository at this point in the history
- Cross promotion
  • Loading branch information
Timac committed Apr 9, 2024
1 parent 45c62e6 commit 5c398ff
Show file tree
Hide file tree
Showing 13 changed files with 501 additions and 6 deletions.
26 changes: 26 additions & 0 deletions VPN.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
024D8FDA2BC1E6FC005BF977 /* ACPreferencesAboutViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 024D8FD92BC1E6FC005BF977 /* ACPreferencesAboutViewController.m */; };
024D8FDD2BC1E719005BF977 /* ACPreferencesAboutView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 024D8FDB2BC1E719005BF977 /* ACPreferencesAboutView.xib */; };
024D8FE12BC50D28005BF977 /* NSBundle+ACAppInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 024D8FDF2BC50D28005BF977 /* NSBundle+ACAppInfo.m */; };
024D8FE42BC51118005BF977 /* ACCrossPromotionWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 024D8FE22BC51118005BF977 /* ACCrossPromotionWindow.xib */; };
024D8FE82BC5114A005BF977 /* ACCrossPromotionWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 024D8FE62BC5114A005BF977 /* ACCrossPromotionWindowController.m */; };
02619DE820F7DF2200099652 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 02619DE720F7DF2200099652 /* AppDelegate.m */; };
02619DEA20F7DF2400099652 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 02619DE920F7DF2400099652 /* Assets.xcassets */; };
02619DED20F7DF2400099652 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 02619DEB20F7DF2400099652 /* MainMenu.xib */; };
Expand Down Expand Up @@ -84,6 +86,9 @@
024D8FDC2BC1E719005BF977 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ACPreferencesAboutView.xib; sourceTree = "<group>"; };
024D8FDF2BC50D28005BF977 /* NSBundle+ACAppInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+ACAppInfo.m"; sourceTree = "<group>"; };
024D8FE02BC50D28005BF977 /* NSBundle+ACAppInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSBundle+ACAppInfo.h"; sourceTree = "<group>"; };
024D8FE32BC51118005BF977 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/ACCrossPromotionWindow.xib; sourceTree = "<group>"; };
024D8FE52BC5114A005BF977 /* ACCrossPromotionWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ACCrossPromotionWindowController.h; sourceTree = "<group>"; };
024D8FE62BC5114A005BF977 /* ACCrossPromotionWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ACCrossPromotionWindowController.m; sourceTree = "<group>"; };
02619DE420F7DF2200099652 /* VPNStatus.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VPNStatus.app; sourceTree = BUILT_PRODUCTS_DIR; };
02619DE620F7DF2200099652 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
02619DE720F7DF2200099652 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
Expand Down Expand Up @@ -183,14 +188,25 @@
path = PreferencesUI;
sourceTree = "<group>";
};
024D8FE72BC5114A005BF977 /* CrossPromotion */ = {
isa = PBXGroup;
children = (
024D8FE52BC5114A005BF977 /* ACCrossPromotionWindowController.h */,
024D8FE62BC5114A005BF977 /* ACCrossPromotionWindowController.m */,
);
path = CrossPromotion;
sourceTree = "<group>";
};
02619DE520F7DF2200099652 /* VPNStatus */ = {
isa = PBXGroup;
children = (
02619DE620F7DF2200099652 /* AppDelegate.h */,
02619DE720F7DF2200099652 /* AppDelegate.m */,
024D8FE72BC5114A005BF977 /* CrossPromotion */,
024D8FD52BC1DF32005BF977 /* PreferencesUI */,
02619DE920F7DF2400099652 /* Assets.xcassets */,
02619DEB20F7DF2400099652 /* MainMenu.xib */,
024D8FE22BC51118005BF977 /* ACCrossPromotionWindow.xib */,
024D8FCA2BC1DE38005BF977 /* ACPreferencesGeneralView.xib */,
024D8FDB2BC1E719005BF977 /* ACPreferencesAboutView.xib */,
024D8FCC2BC1DE38005BF977 /* ACPreferencesWindow.xib */,
Expand Down Expand Up @@ -415,6 +431,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
024D8FE42BC51118005BF977 /* ACCrossPromotionWindow.xib in Resources */,
024D8FCE2BC1DE38005BF977 /* ACPreferencesGeneralView.xib in Resources */,
024D8FCF2BC1DE38005BF977 /* ACPreferencesWindow.xib in Resources */,
02619DEA20F7DF2400099652 /* Assets.xcassets in Resources */,
Expand Down Expand Up @@ -456,6 +473,7 @@
02619DE820F7DF2200099652 /* AppDelegate.m in Sources */,
024D8FE12BC50D28005BF977 /* NSBundle+ACAppInfo.m in Sources */,
024D8FD62BC1DF32005BF977 /* ACPreferencesGeneralViewController.m in Sources */,
024D8FE82BC5114A005BF977 /* ACCrossPromotionWindowController.m in Sources */,
024D8FDA2BC1E6FC005BF977 /* ACPreferencesAboutViewController.m in Sources */,
024D8FD72BC1DF32005BF977 /* ACPreferencesWindowController.m in Sources */,
02619DF720F7E23800099652 /* ACNEServicesManager.m in Sources */,
Expand Down Expand Up @@ -517,6 +535,14 @@
name = ACPreferencesAboutView.xib;
sourceTree = "<group>";
};
024D8FE22BC51118005BF977 /* ACCrossPromotionWindow.xib */ = {
isa = PBXVariantGroup;
children = (
024D8FE32BC51118005BF977 /* Base */,
);
name = ACCrossPromotionWindow.xib;
sourceTree = "<group>";
};
02619DEB20F7DF2400099652 /* MainMenu.xib */ = {
isa = PBXVariantGroup;
children = (
Expand Down
6 changes: 3 additions & 3 deletions VPNStatus/Assets.xcassets/Contents.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
}
21 changes: 21 additions & 0 deletions VPNStatus/Assets.xcassets/Dependencies.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "Dependencies.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions VPNStatus/Assets.xcassets/MarkChart.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "MarkChart.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions VPNStatus/Assets.xcassets/VPNStatus.imageset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "VPNStatus.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5c398ff

Please sign in to comment.