This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-03-24 10:32:57.538 30677-30677/com.salsation.fitness.store E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: com.salsation.fitness.store, PID: 30677 | |
java.lang.RuntimeException: Unable to resume activity {com.salsation.fitness.store/com.salsation.fitness.view.main.MainActivity}: java.lang.IllegalStateException: FragmentManager is already executing transactions | |
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205) | |
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237) | |
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52) | |
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176) | |
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2016) | |
at android.os.Handler.dispatchMessage(Handler.java:107) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PhaseScriptExecution [CP]\ Copy\ Pods\ Resources /Users/premedios/Library/Developer/Xcode/DerivedData/AirshipTest-cvcktwaicalyldezffgqmopvpprq/Build/Intermediates.noindex/AirshipTest.build/Debug-iphonesimulator/AirshipTest.build/Script-A18C03444F0B8256EF57DC8F.sh (in target 'AirshipTest' from project 'AirshipTest') | |
cd /Users/premedios/Developer/Fidelidade/AirshipTest/platforms/ios | |
/bin/sh -c /Users/premedios/Library/Developer/Xcode/DerivedData/AirshipTest-cvcktwaicalyldezffgqmopvpprq/Build/Intermediates.noindex/AirshipTest.build/Debug-iphonesimulator/AirshipTest.build/Script-A18C03444F0B8256EF57DC8F.sh | |
error: Resource "/Users/premedios/Library/Developer/Xcode/DerivedData/AirshipTest-cvcktwaicalyldezffgqmopvpprq/Build/Products/Debug-iphonesimulator/UrbanAirship-iOS-SDK/AirshipResources.bundle" not found. Run 'pod install' to update the copy resources script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let fetchRequest: NSFetchRequest<NSDictionary> = NSFetchRequest(entityName: "Bus") | |
fetchRequest.propertiesToFetch = ["carreira"] | |
fetchRequest.returnsDistinctResults = true | |
fetchRequest.returnsObjectsAsFaults = false | |
fetchRequest.resultType = NSFetchRequestResultType.dictionaryResultType | |
fetchedResultsController = NSFetchedResultsController(fetchRequest: fetchRequest, managedObjectContext: CoreDataManager.sharedManager.mainContext, sectionNameKeyPath: nil, cacheName: nil) as? NSFetchedResultsController<NSFetchRequestResult> | |
fetchedResultsController?.delegate = nil | |
do { | |
try fetchedResultsController?.performFetch() | |
} catch { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// BusNumberListViewController.swift | |
// ETA | |
// | |
// Created by Pedro Remedios on 16/01/15. | |
// Copyright (c) 2015 Pedro Remedios. All rights reserved. | |
// | |
import UIKit | |
import CoreData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ImportOperation.swift | |
// ETA | |
// | |
// Created by Pedro Remedios on 22/02/15. | |
// Copyright (c) 2015 Pedro Remedios. All rights reserved. | |
// | |
import UIKit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make the table invisible, then reload its data | |
self.tableView.alpha = 0.0f; | |
[self.tableView reloadData]; | |
// Store a delta timing variable so I can tweak the timing delay | |
// between each row’s animation and some additional | |
CGFloat diff = .05; | |
CGFloat tableHeight = self.tableView.bounds.size.height; | |
NSArray *cells = [self.tableView visibleCells]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error loading /private/var/mobile/Containers/Data/Application/03446880-9C9B-48F9-A79D-D5716B728A9C/tmp/SwiftReversiTests.xctest/SwiftReversiTests: dlopen(/private/var/mobile/Containers/Data/Application/03446880-9C9B-48F9-A79D-D5716B728A9C/tmp/SwiftReversiTests.xctest/SwiftReversiTests, 262): no suitable image found. Did find: | |
/private/var/mobile/Containers/Data/Application/03446880-9C9B-48F9-A79D-D5716B728A9C/tmp/SwiftReversiTests.xctest/SwiftReversiTests: mmap() error 1 at address=0x0054D000, size=0x00008000 segment=__TEXT in Segment::map() mapping /private/var/mobile/Containers/Data/Application/03446880-9C9B-48F9-A79D-D5716B728A9C/tmp/SwiftReversiTests.xctest/SwiftReversiTests | |
DevToolsBundleInjection: Error loading bundle '/private/var/mobile/Containers/Data/Application/03446880-9C9B-48F9-A79D-D5716B728A9C/tmp/SwiftReversiTests.xctest' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SBViewController.m | |
// SearchBox | |
// | |
// Created by Pedro Remedios on 14/01/14. | |
// Copyright (c) 2014 Pedro Remedios. All rights reserved. | |
// | |
#import "SBViewController.h" | |
#import "ResultTableViewCell.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ld /Users/Peter/Library/Developer/Xcode/DerivedData/SearchBox-dpxojbceltozthdhaniikkmuimvy/Build/Products/Debug-iphonesimulator/SearchBoxTests.xctest/SearchBoxTests normal x86_64 | |
cd /Users/Peter/Developer/iOS/SearchBox | |
export IPHONEOS_DEPLOYMENT_TARGET=8.0 | |
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/usr/local/opt/rbenv/shims:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -L/Users/Peter/Library/Developer/Xcode/DerivedData/SearchBox-dpxojbceltozthdhaniikkmuimvy/Build/Products/Debug-iphonesimulator -F/Users/Peter/Library/Developer/Xcode/DerivedData/SearchBox-dpxojbceltozthdhaniikkmuimvy/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Deve |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)twitterLogin:(UIButton *)sender { | |
STTwitterAPI *twitter = [STTwitterAPI twitterAPIWithOAuthConsumerKey:@"kQIEDlgYpejDPcB9a6xJ9Aqjg" consumerSecret:@"5MNUJcqyTBRZriHv7dCFyGP1BZSh3tf3A4vZYeFOTK7GU5KnKB"]; | |
[twitter postTokenRequest:^(NSURL *url, NSString *oauthToken) { | |
[[UIApplication sharedApplication] openURL:url]; | |
//[self performSegueWithIdentifier:@"User Info" sender:self]; | |
// The above line works but the segue happens before switching to Safari to open the URL. | |
} authenticateInsteadOfAuthorize:NO forceLogin:@YES screenName:nil oauthCallback:@"tweepy://twitter_oauth" errorBlock:^(NSError *error) { | |
NSLog(@"Error!"); | |
}]; | |
} |
NewerOlder