diff --git a/BetteReddit.xcodeproj/project.pbxproj b/BetteReddit.xcodeproj/project.pbxproj index 5697da4..c244e8c 100644 --- a/BetteReddit.xcodeproj/project.pbxproj +++ b/BetteReddit.xcodeproj/project.pbxproj @@ -468,34 +468,15 @@ files = ( ); inputFileListPaths = ( - ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/AFNetworking/AFNetworking.framework", - "${BUILT_PRODUCTS_DIR}/AppAuth/AppAuth.framework", - "${BUILT_PRODUCTS_DIR}/Masonry/Masonry.framework", - "${BUILT_PRODUCTS_DIR}/SAMKeychain/SAMKeychain.framework", - "${BUILT_PRODUCTS_DIR}/SDWebImage/SDWebImage.framework", - "${PODS_ROOT}/Sparkle/Sparkle.framework", - "${PODS_ROOT}/Sparkle/Sparkle.framework.dSYM", - "${BUILT_PRODUCTS_DIR}/TSMarkdownParser/TSMarkdownParser.framework", + "${PODS_ROOT}/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AFNetworking.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AppAuth.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Masonry.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SAMKeychain.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SDWebImage.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Sparkle.framework", - "${DWARF_DSYM_FOLDER_PATH}/Sparkle.framework.dSYM", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/TSMarkdownParser.framework", + "${PODS_ROOT}/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-BetteReddit/Pods-BetteReddit-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; F27456B90D3392B0F17399AF /* [CP] Check Pods Manifest.lock */ = { diff --git a/BetteReddit/AppDelegate.m b/BetteReddit/AppDelegate.m index 7a984c8..a1b6713 100644 --- a/BetteReddit/AppDelegate.m +++ b/BetteReddit/AppDelegate.m @@ -51,10 +51,12 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { self.currentUser = self.loggedinUsers.firstObject; [[NSNotificationCenter defaultCenter] postNotificationName:LOGGED_IN object:weakSelf]; for(BRUser *user in self.loggedinUsers){ - NSMenuItem *chooseItem = [[NSMenuItem alloc] init]; - chooseItem.title = user.username; + NSMenuItem *chooseItem = [[NSMenuItem alloc] initWithTitle:user.username action:@selector(chooseUser:) keyEquivalent:@""]; + chooseItem.target = self; if(self.currentUser == user) chooseItem.state = NSControlStateValueOn; + else + chooseItem.state = NSControlStateValueOff; [self.accountsMenu insertItem:chooseItem atIndex:0]; @@ -68,6 +70,11 @@ - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { } } + +-(void)chooseUser:(id)sender{ + +} + - (IBAction)newSignin:(id)sender { static NSString *const kSuccessURLString = @"alextaffe.BetteReddit://oauth2redirect/example-provider"; NSURL *successURL = [NSURL URLWithString:kSuccessURLString]; diff --git a/BetteReddit/Info.plist b/BetteReddit/Info.plist index 3aa3178..075127c 100644 --- a/BetteReddit/Info.plist +++ b/BetteReddit/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.16 + 0.17 CFBundleURLTypes @@ -30,7 +30,7 @@ CFBundleVersion - 7 + 8 Fabric APIKey diff --git a/Updates/BetteReddit 2019-01-29 10-17-06.zip b/Updates/BetteReddit 2019-01-29 10-17-06.zip new file mode 100644 index 0000000..1e9a9d7 Binary files /dev/null and b/Updates/BetteReddit 2019-01-29 10-17-06.zip differ diff --git a/Updates/appcast.xml b/Updates/appcast.xml index bd0aa70..0a5dc95 100644 --- a/Updates/appcast.xml +++ b/Updates/appcast.xml @@ -31,6 +31,13 @@ 10.14 + +0.17 +Tue, 29 Jan 2019 10:17:33 -0500 +10.14 + + +