aslanyanhaik / youtube-ios Goto Github PK
View Code? Open in Web Editor NEWyoutube iOS app template written in swift 5
License: MIT License
youtube iOS app template written in swift 5
License: MIT License
Hello! I'm using the normal UITabBarController in a storyboard. The video player swipe down works fine but it covers the tab bar items in the region and does not allow them to be selected.
https://www.dropbox.com/s/3evuehsevj1t5vf/Screen%20Shot%202017-01-30%20at%201.01.20%20PM.png?dl=0
In the screenshot in the link above, the "Live" and "Me" tabs are not selectable when the video player is in minimised state. Plus I want the minimised player to always appear above the Tab bar. Please, How do I fix this?
Hi i've created UITabBarController for change main views. However when i minimized player view i can't touch tabbar's some buttons which in right side tabbar. I know player comes top of tabbar. How can i fix it?
I am Using this Library like tab bar controller with Different view controllers, When I give constraints for controllers in other view controllers I am not getting the exact Appearnce of that controllers .
I have a tab bar on the bottom. How can i minimize layout always on the tab bar bottom
Is there any way to remove navigation bar button items on push to next View controller i.e (table view segue navigation) and add different set of navigation bar button items with different actions.
Why I open the project , it comes so many errors
Hello! Thanks for the fantastic app.
I have a question about the way the application lifecycle works for the tabs.
When a new tab is clicked, are any of the lifecycle methods invoked (viewDidAppear, viewWillAppear, viewWillLoad)? I know they are invoked when the app is first run, but I'm trying to load new data before a tab is selected (ie in viewWillAppear or viewDidLoad), but none of the methods are running when I select a tab.
Thank you!
I'm trying to change the tab programmatically when a table view cell is being tapped
This is my current code:
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
{
let vc = MainViewController()
vc.didSelectItem(atIndex: 2)
}
When I do this, the app crashes in the MainViewController in the customization()
method on the View Controller init. (crashes when setting the storyboard.
If I set self.viewsAreInitialized
to true before I programmatically select the Item, the app crashes in TabBar.swift on the highlightItem
function.
Is there a better way I can programmatically change the tab from one of the view controllers?
Showing Recent Messages
No account for team "P6GDVV24N5". (Add a new account in the Accounts preference pane or verify that your accounts have valid credentials.)
It is showing me this error how to fix this?
Tried to run the project on xCode,
i got the same below error multiple times.
'default' label can only appear inside a 'switch' statement expected member name following '.'
*** Building scheme "YouTubePlayer" in YouTubePlayer.xcworkspace
/usr/bin/xcrun xcodebuild -workspace /Users/Shared/xxxx/frontend/apps/ios/xxxx/xxxxx/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.xcworkspace -scheme YouTubePlayer -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build2016-11-29 01:28:19.979 xcodebuild[54330:9187692] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos10.1
=== CLEAN TARGET YouTubePlayer OF PROJECT YouTubePlayer WITH CONFIGURATION Release ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
warning: no umbrella header found for target 'YouTubePlayer', module map will not be generated
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
=== BUILD TARGET YouTubePlayer OF PROJECT YouTubePlayer WITH CONFIGURATION Release ===
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
warning: no umbrella header found for target 'YouTubePlayer', module map will not be generated
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/Shared/xna/frontend/apps/ios/loqootv/LoQooTV/Carthage/Checkouts/Swift-YouTube-Player/YouTubePlayer.xcworkspace -scheme YouTubePlayer -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
2016-11-29 01:28:19.979 xcodebuild[54330:9187692] [MT] PluginLoading: Required plug-in compatibility UUID DA4FDFD8-C509-4D8B-8B55-84A7B66AE701 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
** CLEAN FAILED **
The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Hi
When i run the app on iphone 8 the layout is very good but when i run the app on iphone 5s the layout is not that good. Its moved so much to the left edge. Can you fix that please.
Why when we hide the navigationbar, the tabbar go to the top automatic?
Are you going to support video play in fullscreen when rotate to landscape?
Hello,
I need to use youtube in a native react application, a bridge has already been made but is no longer functional on IOS. Do you think it is possible to use your code to understand how the youtube component works and update the native react bridge? cordially
.json files on the domain http://mexonis.com
are unavailable as the domain is down. These URL's are found in GlobalVariables.swift:
home.json
more.json
subscriptions.json
profile.json
video.json
Good alternative might be to store those as Gist's
For those who know what the content of the json files were, can you post them here or in a gist?
Hello!. I'm trying to replicate this in my app I got the minimising feature right but couldn't get AVPlayerPlayer to fit into the UIView for a video player in my code, I have set this playerLayer.frame = self.videoPlayerView.frame self.videoPlayerView.layer.addSublayer(playerLayer)
but it still not inside of it. Where in the code could I be getting it wrong? It's just a thin rect at the middle of the screen as shown in the screenshot.
why viewWillAppear call only one time? Please fix this bug.
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.