I have looked up a lot of resources for programming NSCollectionView but couldn't find any please help.
Seen following but not working:
1.https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/CollectionViews/Introduction/Introduction.html
2. not found any relevant source code on github
3.watched-https://www.youtube.com/watch?v=dw-sHMTsMVs but outdated.
please help.
You mention Xcode 6.4. Is that for a specific reason?
If you have the opportunity to upgrade then Apple has introduced a new NSCollectionView in OSX 10.11 El Capitan.
You can watch the WWDC introduction video here
The related example can be downloaded from Apple here in ObjectiveC
And if you'd like an example in Swift, the Exhibition example is worth investigating.
All of the above is 10.11 only, so if you're stuck on Xcode 6.4 then the above won't be of any usage to you, sorry
Related
I was starting to make simple iPhone apps using online tutorials and books and then I realized that I upgraded to OS X Yosemite and can only download Xcode 6.1 and all the tutorials are based on Xcode 5.1. I can't learn anything with Xcode 6 since there aren't many tutorials out there for Xcode 6. Can someone please suggest me what to do? basically I'm trying to learn objective-c but before learning objective-c I'd like to make a simple app through tutorials and get the hang of Xcode and learn further..
don't worry, proceed with the current version. Any differences will be made obvious by compiler warnings or errors, at which point you can deal with them. This might be considered preferable to learning to do something in a manner which is no longer current
I started reading the apple developer documentation for audio units here, but I realized that the docs are very outdated and there appears to be no audio unit template available in xcode 5. I looked for quite some time yesterday and today for an up-to-date guide on building audio units, but to no avail. If anyone has a guide for building audio units in xcode 5 on OSX 10.9 I would be eternally grateful. Even better, if someone knows how to get the old audio unit templates into xcode 5, that would be really helpful.
The best resource I've found is Adamson and Avila's book.
Highly recommended. You may need to tweak the code a bit to work in Xcode 5 but it shouldn't be too much work.
I'm a newbie and trying to work through this tutorial:
https://developer.apple.com/library/mac/documentation/musicaudio/conceptual/audiounitprogrammingguide/Tutorial-BuildingASimpleEffectUnitWithAGenericView/Tutorial-BuildingASimpleEffectUnitWithAGenericView.html#//apple_ref/doc/uid/TP40003278-CH5-SW4
I'm using OSX 10.6.8 Snow Leopard so could only install XCode 3.2.6. I can't seem to find Core Audio SDK anywhere and the only solutions I've been able to find are all for XCode 4 and above.
Can anyone point me in the right direction? I'm very new to all this so layman's terms would be much appreciated where possible.
Thanks,
Jess
I've decided to learn c++ and try to make a game with SDL framework. The problem is that I don't know how to use SDL together with Xcode 4.3, since I can't use it like a template, as seen in other guides. Would be great if someone could help me get SDL to work with Xcode 4.3.
EDIT:
I try add SDL to Xcode project following http://meandmark.com/blog/2012/01/using-sdl-with-xcode-4/
When I try to compile I get this error:
The following article should help you:
Using SDL with Xcode 4
It took a quite long time until I got SDL and Xcode running. So, don't care. :-)
I uploaded here a simple SDL template for Xcode 4.5 and Mac OS X 10.7 and 10.8 (also using OpenGL 3.2 Core Profile possible). Step by Step instructions:
Download SDL (at the moment version 1.2.15)
Open the downloaded .dmg file
copy the SDL.framework into /Library/Frameworks/
Done. You can use the Xcode template (you should see a red area):
Further details and an image on my Blog (only german, sorry).
I've been writing a program based on the ScreenSnapshot example from apple: http://developer.apple.com/library/mac/#samplecode/OpenGLScreenSnapshot/Introduction/Intro.html
and after upgrading from Snow Leopard to Lion my program stopped working. When I checked the example I realized it is not working either.
For some reason glReadPixels function raises the GL_INVALID_FRAMEBUFFER_OPERATION_EXT error (0x0506).
I have reinstalled developer's tools but no luck. Has anyone made any progress with this issue? Any pointers will be greatly appreciated.
An updated version was posted a few days ago, see this new sample code called ScreenSnapshot. There's now a dedicated fonction CGDisplayCreateImage. There's even an accompanying technical Q&A.
So, a more général answer: follow Apple's document révisions regularly. (Sorry for extraneous accents over é's or fonctions... somehow Lion's spell checker wants to be in French mode.. grr...)