box / box-ios-browse-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi.
Having a gap between navigation bar and top cell in BOXFolderViewController. Search bar is placed there as table view header but it's being hidden and never brought back to visible.
This line from setupForSearch
method hides it:
self.searchController.searchBar.hidden = YES; // Starts of hidden, and only when we've fetched items do we bring it in.
I think it should set to visible somewhere in fetchItems completion block. Or do I miss something?
Thanks.
You cannot use 'defaultClient' if multiple users have established a session.
I facing this issue.
Please help me how should I destroy session.
Hey devs,
Is there a reason you don't still support Cocoapods? I realize for a brand new project someone might decide to use Carthage over Cocoapods, but my current project already has several pods and it's pretty tedious to have to add Carthage as well just for this one library.
Any chance of adding Cocoapods support again?
after tapping the start button, this error is shown. Have tried different pairs of client id and secret register in the developer account.
There is a string that is not being localized ("%@, %@" where the comma character, or order of elements might be different in different languages/locales).
Browse SDK: 1.0.7
iOS: 11.0.1
Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:131:26: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
unsigned char digest[SHA_DIGEST_LENGTH];
Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:140:26: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
unsigned char digest[SHA_DIGEST_LENGTH];
Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:141:24: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
char finaldigest[2*SHA_DIGEST_LENGTH];
Desktop/iOS/Sample ObjC Box/Pods/box-ios-sdk/BoxContentSDK/BoxContentSDK/External/HashHelper/BOXHashHelper.m:145:17: error: use of undeclared identifier 'SHA_DIGEST_LENGTH'
for (i=0; i<SHA_DIGEST_LENGTH; i++) {
Running pod install for the sample App returns:
Analyzing dependencies [!] The dependency
box-ios-browse-sdk (from ../
) is not used in any concrete target.
Cocoapods version: 1.1.0.rc.3
Pod file needs to be updated to:
use_frameworks!
platform :ios, '8.0'
target 'BoxBrowseSDKSampleApp' do
pod 'box-ios-browse-sdk'
end
We should use constants for the colors used instead of setting the full RGB value (UIColor colorWithRed:green:blue:alpha:) every time. This will be more readable and will allow us to reuse colors more easily.
The code should leverage NSByteCountFormatter instead of attempting to localize byte counts manually.
This seems to be related to OAuth but there's nothing in the setup instructions for how to go about setting this up.
I've also integrated the SDK with my own app and experienced the same issue
I'm trying to run the sample app. I've installed Carthage and run:
carthage update --platform iOS
in the directory. It appears to have executed successfully.
When I try to run the project in the simulator it builds but immediately crashes with this error:
dyld: Library not loaded: @rpath/BoxContentSDK.framework/BoxContentSDK
Referenced from: /Users/Tyler/Library/Developer/CoreSimulator/Devices/B04EF5A8-71DE-40C8-8D78-1D6D640ED4AC/data/Containers/Bundle/Application/2FBAA231-F522-48C3-96A2-C538A51DE0B4/BoxBrowseSDKSampleApp.app/BoxBrowseSDKSampleApp
Reason: image not found
There are no additional steps in the instructions for running the sample app, though I did create an app on your developer portal and input my client ID and secret.
I've tried the usual steps of deleting Derived Data, cleaning the app and rebuilding but to no avail.
Have I missed something?
Should use preferredFontForTextStyle: instead of systemFontOfSize: etc. to fully support dynamic type.
Will also want to listen for UIContentSizeCategoryDidChangeNotification to update the UI to pick up the new font (size).
I heard BoxDev 2015 keynote and Release iOS Web browser SDK.
i tried demo code.
[BOXContentClient setClientID:@"My Client ID"
clientSecret:@"My Client Secret"];
BOXContentClient *contentClient = [BOXContentClient defaultClient];
...
...
I compled and run code, after crush. log is
2015-04-22 12:51:08.073 boxbrowser[20630:768377] -[__NSCFData hasPrefix:]: unrecognized selector sent to instance 0x7fa2f6804a00
2015-04-22 12:51:08.080 boxbrowser[20630:768377] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData hasPrefix:]: unrecognized selector sent to instance 0x7fa2f6804a00'
*** First throw call stack:
(
0 CoreFoundation 0x000000010965ec65 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001092f7bb7 objc_exception_throw + 45
2 CoreFoundation 0x00000001096660ad -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x00000001095bc13c ___forwarding___ + 988
4 CoreFoundation 0x00000001095bbcd8 _CF_forwarding_prep_0 + 120
5 boxbrowser 0x00000001087345d3 +[BOXOAuth2Session usersInKeychain] + 787
6 boxbrowser 0x0000000108702c5e +[BOXContentClient users] + 46
7 boxbrowser 0x00000001087017fc __33+[BOXContentClient defaultClient]_block_invoke + 60
8 libdispatch.dylib 0x000000010d943614 _dispatch_client_callout + 8
9 libdispatch.dylib 0x000000010d92f881 dispatch_once_f + 565
10 boxbrowser 0x000000010870179d +[BOXContentClient defaultClient] + 141
11 boxbrowser 0x00000001086b785b -[ViewController viewDidLoad] + 123
12 UIKit 0x0000000109cdb210 -[UIViewController loadViewIfRequired] + 738
13 UIKit 0x0000000109cdb40e -[UIViewController view] + 27
14 UIKit 0x0000000109bf62c9 -[UIWindow addRootViewControllerViewIfPossible] + 58
15 UIKit 0x0000000109bf668f -[UIWindow _setHidden:forced:] + 247
16 UIKit 0x0000000109c02e21 -[UIWindow makeKeyAndVisible] + 42
17 UIKit 0x0000000109ba6457 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2732
18 UIKit 0x0000000109ba91de -[UIApplication _runWithMainScene:transitionContext:completion:] + 1349
19 UIKit 0x0000000109ba80d5 -[UIApplication workspaceDidEndTransaction:] + 179
20 FrontBoardServices 0x00000001102a35e5 __31-[FBSSerialQueue performAsync:]_block_invoke_2 + 21
21 CoreFoundation 0x000000010959241c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
22 CoreFoundation 0x0000000109588165 __CFRunLoopDoBlocks + 341
23 CoreFoundation 0x0000000109587f25 __CFRunLoopRun + 2389
24 CoreFoundation 0x0000000109587366 CFRunLoopRunSpecific + 470
25 UIKit 0x0000000109ba7b42 -[UIApplication _run] + 413
26 UIKit 0x0000000109baa900 UIApplicationMain + 1282
27 boxbrowser 0x00000001086b7b9f main + 111
28 libdyld.dylib 0x000000010d977145 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
maybe it is my environment problem. Because, I reset ("Reset content and setting" ) iPhone simulator, then it worked.
Only the subtitle style is valid for it, it shouldn't expose the style in it's init and just pass the subtitle style up to the super directly.
UIImage+BOXBrowseSDKAdditions.m line 52, resourcesBundleURL is null and app crashed
NSURL *resourcesBundleURL = [[NSBundle mainBundle] URLForResource:@"BoxBrowseSDKResources" withExtension:@"bundle"];
I used use_frameworks! config inside podfile, does it cause this issue ?
I'm using BoxPreviewSDKResources for temporary now.
The folder item information is not being updated as the contents of the folder changes.
We should update the information after each network request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.