Re: GNUstep Kickstarter Project

2013-08-17 Thread Paul Franz
I am in. Paul Franz On Aug 15, 2013, at 8:02 PM, "Reaves, Timothy" wrote: > No, not really. > > On Thu, Aug 15, 2013 at 5:02 PM, Lars Sonchocky-Helldorf < > lars.sonchocky-helld...@hamburg.de> wrote: > >> Hi list, >> >> I've got this from the lead developer of GNUstep, maybe some of you ar

Re: predefined macro iOS vs OS X

2013-08-17 Thread Marcel Weiher
On Aug 16, 2013, at 19:04 , Kyle Sluder wrote: > On Aug 16, 2013, at 12:41 PM, "Gerriet M. Denkmann" > wrote: >> On 16 Aug 2013, at 22:59, Kyle Sluder wrote: >>> Xcode does know this. But if you're building for 32-bit OS X, it will >>> correctly complain. >> >> When I build for Mac OS X CGR

Re: predefined macro iOS vs OS X

2013-08-17 Thread Marcel Weiher
On Aug 16, 2013, at 19:04 , Kyle Sluder wrote: > On Aug 16, 2013, at 12:41 PM, "Gerriet M. Denkmann" > wrote: >> On 16 Aug 2013, at 22:59, Kyle Sluder wrote: >>> Xcode does know this. But if you're building for 32-bit OS X, it will >>> correctly complain. >> >> When I build for Mac OS X CGR

Re: predefined macro iOS vs OS X

2013-08-17 Thread Maxthon Chan
I actually got one step (sorry for the pun) ahead as limited to what Cocoa’s Foundation and GNUstep’s Base have in common. That allows me to create code-compatible programs that builds and runs under both OS X (or iOS) and Linux. (In my company everything starts off in Objective-C and now with t

editing text part in a custom NSTextFieldCell (of a NSTableView)

2013-08-17 Thread Nick Rogers
Hi, I have a NSTableView and I'm setting a particular column to have a custom NSTextFieldCell subclass object as its cell. For this I'm doing in awakeFromNib: TableViewListCell *aTableViewListCell3 = [[[TableViewListCell alloc] init] autorelease]; [[tableViewPresetsMainList tableColumnW

Re: predefined macro iOS vs OS X

2013-08-17 Thread Jean-Daniel Dupas
Le 17 août 2013 à 17:55, Marcel Weiher a écrit : > > On Aug 16, 2013, at 19:04 , Kyle Sluder wrote: > >> On Aug 16, 2013, at 12:41 PM, "Gerriet M. Denkmann" >> wrote: >>> On 16 Aug 2013, at 22:59, Kyle Sluder wrote: Xcode does know this. But if you're building for 32-bit OS X, it will

Re: predefined macro iOS vs OS X

2013-08-17 Thread Marcel Weiher
On Aug 17, 2013, at 18:03 , Maxthon Chan wrote: > On Aug 17, 2013, at 23:52, Marcel Weiher wrote: >> On Aug 16, 2013, at 19:04 , Kyle Sluder wrote: >> >>> Stop using NSRect in your method prototypes and just use CGRect. >> >> This is certainly pragmatic, effective advice. >> >> >> >> Howev

Re: predefined macro iOS vs OS X

2013-08-17 Thread Maxthon Chan
Well I chose GNUstep for its longer history (it predates Cocoa, even OpenStep - in fact it is the second implementation of Application Kit, what would later become the libraries we now know as Foundation and AppKit, after NeXT.) and better ARC support. They have an impressive libobjc that combin

Re: predefined macro iOS vs OS X

2013-08-17 Thread Clark Smith Cox III
On Aug 16, 2013, at 10:04, Kyle Sluder wrote: > On Aug 16, 2013, at 12:41 PM, "Gerriet M. Denkmann" > wrote: > >> >> On 16 Aug 2013, at 22:59, Kyle Sluder wrote: >> >>> >>> Xcode does know this. But if you're building for 32-bit OS X, it will >>> correctly complain. >> >> When I build f

Re: predefined macro iOS vs OS X

2013-08-17 Thread Kyle Sluder
On Aug 17, 2013, at 4:52 PM, Clark Smith Cox III wrote: > On Aug 16, 2013, at 10:04, Kyle Sluder wrote: > >> Stop using NSRect in your method prototypes and just use CGRect. > > Or just define NS_BUILD_32_LIKE_64. Doing so will cause NSRect to be defined > as a typedef for CGRect. Gerriet st

-[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Rick Aurbach
I just filed the following radar and I thought I'd share it. (Of course, if this is one of those things that "everybody knows", please be kind.) rdar://14766402 -[NSBundle URLForResource:withExtension:subdirectory] is case sensitive Create a file named "Index.html" (notice the leading 'I' is c

Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Stephen J. Butler
On Sat, Aug 17, 2013 at 6:03 PM, Rick Aurbach wrote: > I expect indexURL to be non-null (and to contain the appropriate URL). > However, in actual devices, this function returns nil; on the IOS Simulator > it returns a valid URL. If I change the resource name to exactly match the > actual file na

Re: editing text part in a custom NSTextFieldCell (of a NSTableView)

2013-08-17 Thread Keary Suska
On Aug 17, 2013, at 10:31 AM, Nick Rogers wrote: > I have a NSTableView and I'm setting a particular column to have a custom > NSTextFieldCell subclass object as its cell. > > For this I'm doing in awakeFromNib: >TableViewListCell *aTableViewListCell3 = [[[TableViewListCell alloc] init] > a

Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Kyle Sluder
On Aug 17, 2013, at 7:29 PM, "Stephen J. Butler" wrote: > This is a known limitation of the Simulator. On OS X the filesystem is case > preserving, but not case sensitive. Since the Simulator runs on top of OS X > it inherits this behavior. > > However, on iOS the filesystem is case sensitive.

Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Ken Thomases
On Aug 17, 2013, at 6:29 PM, Stephen J. Butler wrote: > On Sat, Aug 17, 2013 at 6:03 PM, Rick Aurbach wrote: > >> I expect indexURL to be non-null (and to contain the appropriate URL). >> However, in actual devices, this function returns nil; on the IOS Simulator >> it returns a valid URL. If I