I’ve set up the web site and Subversion repository for StudioMan. If you’re interested in taking a look what I have so far, head on over and check it out.
I’ve set up the web site and Subversion repository for StudioMan. If you’re interested in taking a look what I have so far, head on over and check it out.
Looks like you’ve learned a lot more than I thought you would have and have put John to shame
Though I can’t get it to build in Xcode - i get message about missing methods and conflicting types as well as several warnings
are you using special build settings?
SMAnimatingTabView.m:41: (Messages without a matching method signature will be assumed to return ‘id’ and accept ‘…’ as arguments.)
SMAnimatingTabView.m:41: warning: no ‘-isTestingInterface’ method found
SMAppController.m:57: warning: unused variable ‘newVCalImporter’
SMAppController.m:57: warning: no ‘-initWithFile:context:’ method found
SMAppController.m:57: (Messages without a matching method signature will be assumed to return ‘id’ and accept ‘…’ as arguments.)
SMVCardExporter.h:38: warning: previous declaration of ‘-(NSData *)encodeBase64WithNewlines:(BOOL)encodedWithNewlines withData:(NSData *)data’
SMVCardExporter.m:28: warning: assignment from distinct Objective-C type
SMVCardExporter.m:63: warning: conflicting types for ‘-(NSString *)encodeBase64WithNewlines:(BOOL)encodeWithNewlines withData:(NSData *)data’
I’d go through and figure out what was wrong except im at work on a short break and don’t have the time right now to figure out what is wrong, though i did notice you were using QuartzCore functions without actually linking against the framework
It won\’t build for you? I\’m not doing anything special. The warnings, I have no clue about. They do not make sense to me, as the arguments being passed are exactly what should be expected.
Weirdness.
Also, I am linking against QuartzCore, just in some sleep-deprived state I put the import declaration in the implementation file instead of the header file.
OK, got it all figured out now, in one class I was doing @class where I needed to #import, and in another I the interface declaration was (NSData *)methodName where the (correct) implementation was (NSString *)methodName. Compiles without warnings now.
No by linking against it I mean you have
#import
and yet if you expand the very first studioman reference on the side and then go to and expand Frameworks then Linked Frameworks QuartzCore isn’t there
You need to right click on Linked Frameworks and then go to Add -> Existing Frameworks and then add the QuartzCore framework. In the past i’ve gotten away without it at times but at the same time some projects act odd if you don’t include it in the project. In the case of AssignmentTracker X I have enough code that it would fail without linking against the framework.
nm checked out a new copy and it looks like it’s working right now though a couple sections are blank or just contain a blue view with a red square in it