Unable to use iOS framework which is internally using xib

2014-03-23 Thread Devarshi Kulshreshtha
I am trying to make a universal framework for iOS by following steps specified in this URL: http://blog.db-in.com/universal-framework-for-ios/ I have a view controller class within that framework which internally loads a xib file. Below is a part of code which shows how I am initializing that view

Re: Unable to use iOS framework which is internally using xib

2014-03-23 Thread Jens Alfke
On Mar 23, 2014, at 8:09 AM, Devarshi Kulshreshtha wrote: > While creating the framework, I included all xibs, including > ViewControllerWithinFramework.xib within its 'Copy Bundle Resources' > build phase. > > Now my problem is when I try to integrate that framework within other > project, it

Image without profile gets an sRGB profile on Mavericks

2014-03-23 Thread Leonardo
I create a jpg RGB image with Photoshop "without" any icc profile. I import it in my app. NSBitmapImageRep*srcRep = [NSBitmapImageRep imageRepWithData:imageData]; NSLog(@"profileName %@", srcRep.colorSpace.localizedName); On OS X 10.8.5 I properly get "Device RGB". On Mavericks 10.9.2 I wrong

Re: Image without profile gets an sRGB profile on Mavericks

2014-03-23 Thread Sandy McGuffog
Untagged images are a free-for-all - any app or framework can assume whatever it wants for a color space with them, so there’s no “wrongly” about what Mavericks does. It’s just different to previous versions. So far as I am aware, Apple is (strongly) discouraging the use of Device RGB, for the

Re: Best way to composite/tile multiple CGImages to one image

2014-03-23 Thread Kevin Meaney
I've experimented with trying to get the best performance I can with various different approaches by building a command line tool that creates a cover sheet of frame grabs from a movie file. I've blogged about my attempts here: http://blog.yvs.eu.com/2014/03/ssd-versus-hdd-movie-frame-grabs-and-

Re: Image without profile gets an sRGB profile on Mavericks

2014-03-23 Thread Kevin Meaney
I read somewhere that this change was part of Mavericks. I can't track that reference down right now, but I don't think Apple would consider it an error. Kevin On 23 Mar 2014, at 18:14, Leonardo wrote: > I create a jpg RGB image with Photoshop "without" any icc profile. > I import it in my app

Re: Image without profile gets an sRGB profile on Mavericks

2014-03-23 Thread Kevin Muldoon
As Sandy says, its not a matter of right/wrong. Simply expected vs. unexpected. Sure, if I save an image with a profile and immediately ask what profile the image is tagged with, I would expect the result of nil, not sRGB. However, there is a certain brilliance to having all nil profiles defau