Hi;
Under OS 3.0 I am unable to compile this simple code, but it works
under OS 2.2.1
Under OS 3.0 CoreGraphics.framework is not available
"_CGContextFillRect", referenced from:
-[FlipsideView drawRect:] in FlipsideView.o
"_CGContextSaveGState", referenced from:
-[FlipsideView
What's the best way to include an external app's source into and Xcode
project? The app I'm using is cross platform, open source, programmed
in C and uses a makefile to build. Any suggestions?
Anthony
smime.p7s
Description: S/MIME cryptographic signature
_
On 15/07/2009, at 5:41 PM, Anthony Smith wrote:
What's the best way to include an external app's source into and
Xcode project? The app I'm using is cross platform, open source,
programmed in C and uses a makefile to build. Any suggestions?
There's probably no one "best" way, but you have
Hi,
Is there anyway one can install an OSX system on a virtual machine for
testing purposes?
It is not really practical to purchase extra hardware in order to test
your app on a different version of OSX.
Any thoughts?
___
Cocoa-dev mailing lis
Hi,
I have an application which builds successfully for 2.0 and 2.2 SDK but
gives me following errors for 3.0
In file included from
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:31,
error: syntax error
but it sill requires me to reboot my development machine to boot it
again from another partition/external drive in order to test my app.
I guess apple does not want people to run OSX on a virtual machine even
if it is for developers to test their applications in different scenarios
Paul Franz
On 15/07/2009, at 7:18 PM, Shraddha Karwan wrote:
error: syntax error before 'AT_NAME' token
error: syntax error before '}' token
fatal error: method definition not in @implementation context
This looks like you're missing the @end from the bottom of a class
definition somewhere. Maybe you
Am 13.07.2009 um 00:50 schrieb Konrad Windszus:
If I set an NSError in the method readFromURL of my NSDocument, I am
not able to overwrite the NSLocalizedDescriptionKey.
If have the following code in that method:
I guess for the desired (expected?) effect the code should look like:
- (BOO
It seems to be a bug with GCC 4.0. Set the compiler to GCC 4.2 for
SDK 3.0 or higher.
Devon
On 2009-07-15, at 7:07 AM, Graham Cox wrote:
On 15/07/2009, at 7:18 PM, Shraddha Karwan wrote:
error: syntax error before 'AT_NAME' token
error: syntax error before '}' token
fatal error: method d
Hi, All,
I'm rather new in XCode and Cocoa, so maybe it's my misunderstanding. Am I
correct in my understanding, that I need to select 10.4 SDK in XCode project
menu to create an application, compatible with both Tiger and Leo? I've got
few errors in compilation when I choose 10.4 SDK.
Some
Hi,
When I remove and NSOpenGLView or when I close a window that has an
NSOpenGLView that area is drawn over with his default background color
(in my case this is Black).
This only happens depending on how long it takes to replace or close
that window. I can see it in my app when I quit bec
On Jul 15, 2009, at 5:10 AM, Alexander Bokovikov wrote:
I'm rather new in XCode and Cocoa, so maybe it's my
misunderstanding. Am I correct in my understanding, that I need to
select 10.4 SDK in XCode project menu to create an application,
compatible with both Tiger and Leo? I've got few err
Is there anyway one can install an OSX system on a virtual machine
for testing purposes?
Check the EULA for Mac OS X Server. I think you can run that under a
VM, and I think VMWare has support for it in either the current or
future version.
Todd
__
An NSSocketPort is intended for use with Distributed Objects and
NSConnection or, at least, to communicate with another NSSocketPort at
the other end.
The documentation used to state this, possibly erroneously. It no
longer does so:
"NSSocketPort is a subclass of NSPort that represents a BSD
Thanks to all for help with my QuickLook generator!
The generator works when installed in ~/Library/QuickLook
but not in /Library/QuickLook
Do I need to do something else to install in Library/QuickLook and
have it work?
___
Cocoa-dev mailing l
On 7/15/09 10:53 AM, David Blanton said:
>Thanks to all for help with my QuickLook generator!
>
>The generator works when installed in ~/Library/QuickLook
>
>but not in /Library/QuickLook
>
>Do I need to do something else to install in Library/QuickLook and
>have it work?
Did you know there is a
Hi,
This tip looks simple enough, and it works to a certain extent.
But moving the scaling-slider or resizing the window, results in very
buggy display for me.
This is both the case with my own prototype app, as with apple's Image
Browser example code (set to use NSViewWidthSizable).
Two screens
Hi Arri,
This is a bug (fixed on SnowLeopard).
On Leopard, when the content resizing mask is set to
NSViewWidthSizable (for banners typically) only layouts with a single
row are supported.
-- Thomas
On Jul 15, 2009, at 7:05 PM, arri wrote:
Hi,
This tip looks simple enough, and it works
I've been searching the Cocoa documentation pages on extending and
interfacing with Apple applications, hoping to find notes related to
the Dictionary application. An API that finds words using a
soundex-type function would be nice. That, plus a plugin method to add
a UI item similar to "Dict
You need to add the CoreGraphics.framework to your project.
On Jul 15, 2009, at 12:02 AM, Agha Khan wrote:
Under OS 3.0 I am unable to compile this simple code, but it works
under OS 2.2.1
Under OS 3.0 CoreGraphics.framework is not available
"_CGContextFillRect", referenced from:
-[Fli
Phillip Mills wrote:
I've been searching the Cocoa documentation pages on extending and
interfacing with Apple applications, hoping to find notes related
to the Dictionary application. An API that finds words using a
soundex-type function would be nice. That, plus a plugin method to
add a
On Jul 15, 2009, at 11:49 AM, Kirk Kerekes wrote:
An NSSocketPort is intended for use with Distributed Objects and
NSConnection or, at least, to communicate with another NSSocketPort
at
the other end.
The documentation used to state this, possibly erroneously. It no
longer does so:
"NSS
- Message from glgue...@amug.org -
You might want to explain exactly what you tried.
Sure.
http://developer.apple.com/reference/Cocoa/idxAppleApplications-date.html
Since I'm not really interested in spell checking, but rather another
Dictionary-based service it seemed like a
Thomas,
Thanks for the fast respons!
Saves a lot of headaches.
.arri
On Wed, Jul 15, 2009 at 7:23 PM, Thomas Goossens wrote:
> Hi Arri,
>
> This is a bug (fixed on SnowLeopard).
> On Leopard, when the content resizing mask is set to NSViewWidthSizable (for
> banners typically) only layouts with
Phillip Mills wrote:
Sure. http://developer.apple.com/reference/Cocoa/
idxAppleApplications-date.html
Since I'm not really interested in spell checking, but rather
another Dictionary-based service it seemed like a page that
describes how "developers can have their applications interact wit
The current version of VMware Fusion has at least experimental support
for OS X Server.
Sent from my iPhone
On Jul 15, 2009, at 12:18 PM, Todd Heberlein
wrote:
Is there anyway one can install an OSX system on a virtual machine
for testing purposes?
Check the EULA for Mac OS X Server.
Thanks for the advice. I currently have the external app added to my
project as an external target which works well with the makefile. Is
it possible to use a makefile with a dynamic or static library or will
I have to translate the makefile into something else?
On Jul 15, 2009, at 4:01 AM,
This is not a "help, the code doesn't work" question, but more a
general question to help one write better Cocoa code.
Imagine my program requires a large amount of localizable strings. In
many cases (ex. error codes), I have a string associated with an
integer value. For some of these, I
I posted to QuickLook list but it does not seem very active so indulge
me please ..
When my files are show in Finder their Kind is Plain Text.
I have set a Description in my UTI declarations which the docs sat is
user visible.
Do I need to something more?
On Jul 15, 2009, at 1:45 PM, Development wrote:
Is this true? When I invoke -localizedStringForKey:value:table: (or
the other variations of NSLocalizedString), is the entire
Localizable.strings file read into memory? Is it thrown away at the
end of the call? Or is the localized version of
I have a PDF that I've loaded, combined with another PDF, and now I'm
ready to save the result as a new file. My program is using garbage
collection, but I understand that PDFKit is not garbage collected.
The problem is that I get reference count underflow error when writing
the PDF. Her
On 7/15/09 2:49 PM, David Blanton said:
>I posted to QuickLook list but it does not seem very active so indulge
>me please ..
You've only waited 50 minutes! Even paid support is not usually that
fast. Also, you're message's subject is not very descriptive. May I
politely suggest you read:
Ok, I lucked out and got a great chance at releasing a bit of software
in japan. The problem is that it is 50/50 client to web. My primary
concerns are string translation from iPhoneOS to data being stored in
a mysql database. I have spent quite a bit of time googling and am
still not sure
Sorry, I thought I remember reading in the Quick Look documentation
the steps required to write code with and link it against the Cocoa
framework.
Starting with a Quick Look Plugin Template in Xcode,
- Choose from the menu bar Project > Add to Project... and add the
framework /System/Librar
On Jul 15, 2009, at 11:19 AM, Ken Thomases wrote:
On Jul 15, 2009, at 11:49 AM, Kirk Kerekes wrote:
An NSSocketPort is intended for use with Distributed Objects and
NSConnection or, at least, to communicate with another
NSSocketPort at
the other end.
The documentation used to state this,
Yep, that's it ... and since I am using c++ as well my files are .mm
On Jul 15, 2009, at 4:57 PM, Kiel Gillard wrote:
Sorry, I thought I remember reading in the Quick Look documentation
the steps required to write code with and link it against the Cocoa
framework.
Starting with a Quick Lo
Hello,
On 14 Jul 2009, at 10:01 PM, Fritz Anderson wrote:
> On 14 Jul 2009, at 5:14 PM, Tim Mowlem wrote:
>> BOOL result = [moc save: &err];
..
>> The problem is that every time I call this method the result is NO
>> implying a failure when saving.
..
>> The issue for this post is that wh
On Jul 15, 2009, at 5:36 PM, Development wrote:
Ok, I lucked out and got a great chance at releasing a bit of
software in japan. The problem is that it is 50/50 client to web. My
primary concerns are string translation from iPhoneOS to data being
stored in a mysql database. I have spent qu
In an effort to get out of this problem, I also thought I might just
take a data representation of the PDFDocument object, and write the
data to a file. I get the same problem. Here is what I tried,
substituting for "[savedDoc writeToFile:@"newFile.pdf"]" below:
NSData *myData = [savedDoc
On 16/07/2009, at 3:26 AM, Phillip Mills wrote:
I've been searching the Cocoa documentation pages on extending and
interfacing with Apple applications, hoping to find notes related to
the Dictionary application. An API that finds words using a soundex-
type function would be nice. That, pl
On 16/07/2009, at 6:45 AM, Development wrote:
Anyone has some comments or ideas about this? Possibly someone with
some inner understanding of how localized strings are read?
Optimise later. You are fretting about the speed of loading strings to
the point where you are considering your
Hi,
I am still learning iPhone application development and I want to convert a
J2ME trading client application to an iPhone SDK application. I have already
developed an iPhone application that did not have any encryption published
at Apple AppStore. I have good knowledge with J2ME so I could under
Thanks Matt, for the advice. I followed your links, and found the
best way, for me at least, to print what I wanted was to create a view
in IB, populate a custom view with text fields and tables, and then
resize that view for printing.
For those who are working on a similar problem, I crea
On 16/07/2009, at 2:23 PM, K. Darcy Otto wrote:
There is probably some more efficient way to check where the page
should be broken, but the above implementation works just fine.
Working code is always worth much more than theoretical code, but if
your table has a constant height per row,
Ricky Sharp wrote:
As for the transport, I would highly recommend UTF-8 as no
byteswapping is needed. For most Latin-based data, the number of
bytes taken up in UTF-8 will be less than what is used by UTF-16.
For Japanese (and many other languages), the number of bytes of
UTF-8 will be mo
Hi all,
I want to add the following category method to NSString:
- (BOOL) isEqualToAnyStringIn:(NSString*) firstString, ...
NS_REQUIRES_NIL_TERMINATION;
I've used some of Cocoa's headers for examples of how to declare this,
as above, but I'm not sure how the actual implementation should g
On Thu, Jul 16, 2009 at 12:36 AM, Graham Cox wrote:
> I want to add the following category method to NSString:
>
> - (BOOL) Â isEqualToAnyStringIn:(NSString*) firstString, ...
> NS_REQUIRES_NIL_TERMINATION;
>
> I've used some of Cocoa's headers for examples of how to declare this, as
> above, but I'
On 16/07/2009, at 3:42 PM, Stephen J. Butler wrote:
On Thu, Jul 16, 2009 at 12:36 AM, Graham Cox
wrote:
I want to add the following category method to NSString:
- (BOOL) isEqualToAnyStringIn:(NSString*) firstString, ...
NS_REQUIRES_NIL_TERMINATION;
I've used some of Cocoa's headers for exa
48 matches
Mail list logo