Re: Repository of older (outdated) PDF Guides?
I have a few lying around here: https://www.dropbox.com/sh/h0h56lj0dky27m9/AADbwmnbhu8I6DRVldV8Lum0a?dl=0 See if you find anything of use. Nimesh On 25 April 2017 at 23:50, David Hoerl wrote: > I've googled til my fingers are black and blue, but no luck finding some > of the older PDF guide documents. I could never express in words how > disappointed I am that Apple discontinued producing readable documentation > - I use to crow about it to all my non-Apple dev friends. > > Anyway, does anyone know of a place that stashed copies away? I'm fine > with reading 5 year old documentation to get the big picture, then make > annotations on paper copies, finally go online to see if anything of > interest changed. > > Thanks for any pointers! > > David > > PS: https://forums.developer.apple.com/message/100458 > > Note - I have some myself, but didn't keep them up to date so some way old > (never thought they'd go away). Need one? Email me and I'll send if have it. > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/nimeshneema%40gmail.com > > This email sent to nimeshne...@gmail.com > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
iOS AVPlayerViewController and AVPlayer Documentation/Help
Hi, The following code plays a movie file in Full Screen, I’d like to be able to play a Video inside an arbitrary View with the option to go into full screen. I’ve searched for info on this seemingly simple task but can’t seem to find anything useful. I’ve tried setting myPlayerViewController.view.frame but this doesn’t seem to work. I found some iOS 6 code that I wrote ages ago which does this, but of course this has changed so much since then….. Any help on this greatly appreciated. All the Best Dave -(void) viewDidAppear:(BOOL) theAnimatedFlag { NSURL* myMovieFileURL; AVPlayer* myPlayer; AVPlayerViewController* myPlayerViewController; CGRect myFrameRect; myMovieFileURL = [[NSBundle mainBundle] URLForResource:@"Demo-ENG-EX-001" withExtension:@"mp4"]; myPlayer = [[AVPlayer alloc] initWithURL:myMovieFileURL]; myPlayerViewController = [[AVPlayerViewController alloc] init]; myPlayerViewController.player = myPlayer; [self presentViewController:myPlayerViewController animated:YES completion:^ { [myPlayer play]; }]; } ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: iOS AVPlayerViewController and AVPlayer Documentation/Help
Hi Dave, not at all an expert on this but I think if you want “windowed” playback on iOS you need to abandon AVPlayerViewController and instead use your “own” AVPlayer instance pointed at an arbitrary AVPlayerLayer (which some custom view of yours would host). Never done it myself but searching on that combo of tech (an AVPlayer and an AVPlayerLayer) might get you started. Cheers. On Thu, May 11, 2017 at 8:33 AM, Dave wrote: > Hi, > > The following code plays a movie file in Full Screen, I’d like to be able > to play a Video inside an arbitrary View with the option to go into full > screen. I’ve searched for info on this seemingly simple task but can’t seem > to find anything useful. I’ve tried setting myPlayerViewController.view.frame > but this doesn’t seem to work. I found some iOS 6 code that I wrote ages > ago which does this, but of course this has changed so much since then….. > > Any help on this greatly appreciated. > > All the Best > Dave > > -(void) viewDidAppear:(BOOL) theAnimatedFlag > { > NSURL* myMovieFileURL; > AVPlayer* myPlayer; > AVPlayerViewController* myPlayerViewController; > CGRect myFrameRect; > > myMovieFileURL = [[NSBundle mainBundle] URLForResource:@"Demo-ENG-EX-001" > withExtension:@"mp4"]; > myPlayer = [[AVPlayer alloc] initWithURL:myMovieFileURL]; > > myPlayerViewController = [[AVPlayerViewController alloc] init]; > myPlayerViewController.player = myPlayer; > > [self presentViewController:myPlayerViewController animated:YES > completion:^ > { > [myPlayer play]; > }]; > } > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/vast.grapes%40gmail.com > > This email sent to vast.gra...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Repository of older (outdated) PDF Guides?
> On Apr 25, 2017, at 12:20 PM, David Hoerl wrote: > > I've googled til my fingers are black and blue, but no luck finding some of > the older PDF guide documents. I could never express in words how > disappointed I am that Apple discontinued producing readable documentation - > I use to crow about it to all my non-Apple dev friends. > > Anyway, does anyone know of a place that stashed copies away? I'm fine with > reading 5 year old documentation to get the big picture, then make > annotations on paper copies, finally go online to see if anything of interest > changed. > > Thanks for any pointers! > > David > > PS: https://forums.developer.apple.com/message/100458 > > Note - I have some myself, but didn't keep them up to date so some way old > (never thought they'd go away). Need one? Email me and I'll send if have it. Here are links to old style documentation before it was changed. Mac Developer Library September 11, 2014 https://web.archive.org/web/20140911155409/https://developer.apple.com/library/mac/navigation/ iOS Developer Library October 21, 2014 https://web.archive.org/web/20141021181308/https://developer.apple.com/library/ios/navigation/ It seems abundantly clear to me that the new style documentation was designed by Apple for presentation on an an iPad or iPhone. It is beautiful to behold but designed for the lowest common denominator. This has resulted in documentation that is unreadable, unsearchable, and unusable. Also your fingers will go black and blue navigating through it. If you are elementary school child learning to code on an iPad using Swift Playgrounds the documentation may be ideal, but for many developers my guess it is a huge step backwards. In a recent interview with Apple executives Jon Gruber (Daring Fireball) asked the following question: “There's a contingent of the pro market – I have friends who are in it, and I hear from people who read the site. Their theory is that Apple doesn’t care about Mac Pro users anymore. They certainly care very much about iPad Pro users. In broad strokes, their theory is that Apple wants everyone to switch to iPads. And that the Mac has some sort of end of life on the horizon. Are you aware of this group of users who at least have this theory? I know you’re going to say it's not true. At least I think you are. But are you aware that reasonable people – not conspiracy theorists — because they’re looking at real evidence…" https://techcrunch.com/2017/04/06/transcript-phil-schiller-craig-federighi-and-john-ternus-on-the-state-of-apples-pro-macs/ So apparently some individuals are floating the theory that Apple wants everyone to switch to iPads some day. If you are wondering where does a wacky rumor like this get started you need look no further than Apple's own developer documentation. I filed bug report 29248282 on this issue. Perhaps more developers should file a bug report on this issue to get Apple’s attention if that is possible. But then again if we simply wait long enough there will be a new crop of young developers with strong minds and fingers weaned on iPads and Swift Playground who will never know the difference. --Richard Charles ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com