Re: Getters/Setters via Property/Synthesize...

2014-06-02 Thread Peters, Brandon
Graham, The view is not nil on initialization, checked using NSLog’s. On Jun 2, 2014, at 11:24 PM, Graham Cox wrote: > > On 3 Jun 2014, at 12:31 pm, Peters, Brandon wrote: > >> What could cause such a discrepancy? > > > _simulationView being nil. > > --Graham > > _

Re: Getters/Setters via Property/Synthesize...

2014-06-02 Thread Graham Cox
On 3 Jun 2014, at 12:31 pm, Peters, Brandon wrote: > What could cause such a discrepancy? _simulationView being nil. --Graham ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the l

Getters/Setters via Property/Synthesize...

2014-06-02 Thread Peters, Brandon
Is there anything that could cause the getter and setter not to be generated properly? I have my properties declared: @property (assign) float mass, appliedForce; In the implementation file: @synthesize mass = _mass; Then in the AppController: -(IBAction)updateMass:(id)sender { [_simulati

Re: How to write a .icns file

2014-06-02 Thread Ken Thomases
On Jun 2, 2014, at 7:04 PM, John Brownie wrote: > I don't see a simple way of working out which ones are the @2x versions for > the purposes of creating a full .icns file, either. I would expect that you could compare the size of the image rep vs. its (pixelsWide, pixelsHigh) dimensions. Regar

CoreData Question

2014-06-02 Thread Laurent Daudelin
I have what I think is a simple CoreData question. Suppose I have an Employee table and a City table, a little bit like the CoreData documentation. Each employee resides in a city. Now, multiple employees can reside in the same city. Suppose I fetch a certain number of employees, how do I find

Re: How to write a .icns file

2014-06-02 Thread Gary L. Wade
The file format for an icns file is the same as an 'icns' resource, which is documented in IconStorage.h. -- Gary L. Wade (Sent from my iPhone) http://www.garywade.com/ > On Jun 2, 2014, at 5:04 PM, John Brownie wrote: > >> On Sat May 31 2014 12:37:59 GMT+1000 (PGT) Gary L. Wade wrote: >> Maybe

Re: How to write a .icns file

2014-06-02 Thread John Brownie
On Sat May 31 2014 12:37:59 GMT+1000 (PGT) Gary L. Wade wrote: Maybe you could get by just saving those icons that are more modern? You may truly need to keep them, but there's practically no need for 'ICN#' and their like anymore in modern OS X. The most modern ones (especially the retina-base

Re: AVFoundation joining Audio files

2014-06-02 Thread Rhythmic Fistman
Try AAC in m4a, that's an lossy compression format that is AVFoundation friendly. RF On 2 June 2014 11:45, Damien Cooke wrote: > Hi All, > In our specific market video app we take videos and merge them together > and they are used for advertising. We can add music or a voice over to the > vid