Controlling iOS scrolling

2012-01-09 Thread Ken Tabb
Morning folks & Happy New Year, I've got an iOS app that needs to have a UIScrollView containing a horizontal row of UIImageViews, all the same size. The UIScrollView will be a subclass as I need it to implement some additional behaviour, but I've got 2 questions which may already be built

Re: Controlling iOS scrolling

2012-01-09 Thread Conrad Shultz
Take a look at the WWDC videos from either 2010 or 2011... "Advanced Scroll View Techniques" I think was the title. These topics are covered in some depth. You will likely also want to examine UIScrollView's -pagingEnabled property as relates to your second question. (Sent from my iPhone.) -

Re: Does NSOpenGLView override -isOpaque?

2012-01-09 Thread Corbin Dunn
On Jan 6, 2012, at 11:57 AM, vincent habchi wrote: > Corbin, > >> Yes, NSOpenGLView has: >> >> - (BOOL)isOpaque { >> return YES; >> } > > Thanks for your answer! > > Could the documentation then mention than when an NSOpenGLView occupies the > whole frame of its parent window, and when its

music.read-only sandbox entitlement doesn't seem to work

2012-01-09 Thread Michael Crawford
I'm converting over a legacy Core-Audio application to run sandboxed. This app normally access files in the iTunes library in order to analyze them for BPM information. Enabling the music.read-only entitlement does not work. com.apple.security.assets.music.read-only I get the followin

Core Data ignoring validation constraint

2012-01-09 Thread Tom Harrington
I have a data model where one of the string attributes has both a min and max length validation requirement. At run time though, only the max length constraint seems to exist. Violating the min length constraint doesn't cause validation failures, whether using -validateForInsert: or -validateValue:

Re: music.read-only sandbox entitlement doesn't seem to work

2012-01-09 Thread Michael Nickerson
On Jan 09, 2012, at 12:52 PM, Michael Crawford wrote: > I'm converting over a legacy Core-Audio application to run sandboxed. This > app normally access files in the iTunes library in order to analyze them for > BPM information. Enabling the music.read-only entitlement does not work. > >

Maintaining Image for a UIButton

2012-01-09 Thread R
This is easy in OSX and bindings. But how do I maintain the aspect ratio of an UIImage place in a UIButton... via [myButton setImage...] or [myButton setBackgroundImage...]. In IB, there is a setting for Aspect Ratio in the View settings but it seems to make zero difference. _

Issue in iTunes COM for Windows SDK with iOS5

2012-01-09 Thread Payal Mundhada
Hi All, This is regarding iTunes COM for Windows SDK. This may not be the proper place to post this question, but there doesn’t seem to be a list for the same. I am trying to transfer audio files to iPhone through iTunes SDK Following is the code snippet which I am using to transfer the file II