Skip to content

Commit

Permalink
Update pods
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-taffe committed Oct 17, 2019
1 parent 64861a5 commit 2e31e35
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 26 deletions.
25 changes: 3 additions & 22 deletions BetteReddit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */ = {
Expand Down
11 changes: 9 additions & 2 deletions BetteReddit/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand All @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions BetteReddit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.16</string>
<string>0.17</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand All @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>7</string>
<string>8</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
Expand Down
Binary file added Updates/BetteReddit 2019-01-29 10-17-06.zip
Binary file not shown.
7 changes: 7 additions & 0 deletions Updates/appcast.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
<sparkle:minimumSystemVersion>10.14</sparkle:minimumSystemVersion>
<enclosure url="https://raw.githubusercontent.com/alex-taffe/BetteReddit/master/Updates/BetteReddit-2018-11-27%2020-30-53.zip" sparkle:version="7" sparkle:shortVersionString="0.16" length="3408329" type="application/octet-stream"/>
</item>
<item>
<title>0.17</title>
<pubDate>Tue, 29 Jan 2019 10:17:33 -0500</pubDate>
<sparkle:minimumSystemVersion>10.14</sparkle:minimumSystemVersion>
<enclosure url="https://raw.githubusercontent.com/alex-taffe/BetteReddit/master/Updates/BetteReddit%202019-01-29%2010-17-06.zip" sparkle:version="8" sparkle:shortVersionString="0.17" length="3753365" type="application/octet-stream"/>
</item>




Expand Down

0 comments on commit 2e31e35

Please sign in to comment.