Re: [swift-users] My Email

2016-08-01 Thread James Campbell via swift-users
:) Did you mean to do this ? *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 27 July 2016 at 14:05, Dvir Julius - Play Actual via swift-users < swift-use

Re: [swift-users] C Pointers and Memory

2016-07-29 Thread James Campbell via swift-users
Have you read > https://developer.apple.com/library/tvos/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithCAPIs.html#//apple_ref/doc/uid/TP40014216-CH8-ID17 > ? > > Zhaoxin > > On Fri, Jul 29, 2016 at 4:55 PM, James Campbell via swift-users < > swift-users@swif

Re: [swift-users] C Pointers and Memory

2016-07-29 Thread James Campbell via swift-users
​Do you know of any resources to brush up on the pointer aspect of swift ? ​ *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 29 July 2016 at 09:10, Dmitr

Re: [swift-users] C Pointers and Memory

2016-07-29 Thread James Campbell via swift-users
(data)) } *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com <http://supmenow.com>* *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 28 July 2016 at 21:32, Dmitri Gribenko wrote: > On Thu, Jul 28, 2016 at 1:27 PM, James Campbell via swift-

[swift-users] C Pointers and Memory

2016-07-28 Thread James Campbell via swift-users
How are arrays passed to C in Linux ? I tried unwrapping an optional array in an if statment and passing it to c. it seemed like the array was deallocated however if I stored it in a local var in the function before the if statment it worked perfectly fine, sureley this shouldn't work either ? *__

Re: [swift-users] Why there's no Character literals?

2016-07-11 Thread James Campbell via swift-users
In Ruby they have special literals, like so: So this would be an array of chars %c{a b c d e f g} *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 11 Jul

Re: [swift-users] Where did “powl” go?

2016-07-06 Thread James Campbell via swift-users
It seems like Swift has broken a lot of the export functionality. Some of the exporting system was actually a bug but resulting in useful functionality (i.e like importing C Macros as enums). But once fixed we lost a lot of it. *___* *James⎥Head of Trolls* *ja...@

Re: [swift-users] Bls: Swift to Javascript

2016-06-23 Thread James Campbell via swift-users
Emscripten will eventually have swift support. *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 23 June 2016 at 05:22, Mr Bee via swift-users wrote: > I

Re: [swift-users] super.init() called automatically?

2016-05-17 Thread James Campbell via swift-users
Not a big fan of this implict behaviour. Not super obvious. *___* *James⎥Head of Trolls* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On 17 May 2016 at 10:48, tuuranton--- via swift-

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
;>>> >>>> *Runway East * >>>> >>>> *10 Finsbury Square* >>>> >>>> *London* >>>> >>>> * EC2A 1AF * >>>> >>>> On Thu, Mar 24, 2016 at 3:40 PM, Daniel Dunbar >>> > wrote: &g

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
>>>> an #if in Swift? >>>> >>>> - Daniel >>>> >>>> >>>> If I write the Macros in the bridging header they are imported but I >>>> would ideally like to keep them in a build setting. >>>> >>>

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
*ja...@supmenow.com ⎥supmenow.com >>> <http://supmenow.com/>* >>> >>> *Sup* >>> >>> *Runway East * >>> >>> *10 Finsbury Square* >>> >>> *London* >>> >>> * EC2A 1AF * >>> >>>

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
gt; GPG/PGP-Key: http://www.slayers.de/transfer/Jan_GPG_pub.asc > > On 23.03.2016, at 17:43, James Campbell via swift-users < > swift-users@swift.org> wrote: > > We are experiencing an issue when compiling swift code under Xcode 7.3. > > Preprocessor macros specified i

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
t;> >>> To follow on to what Joe said, can you provide more info about the exact >>> problem. Is this a C preprocessor definition that you expect to be >>> available in code imported by the Clang importer (i.e., bridging header >>> files, etc.), or is a a macro you a

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
t us know exactly which build setting you are referring to. >> >> Thanks, >> - Daniel >> >> > On Mar 23, 2016, at 3:59 PM, Joe Groff via swift-users < >> swift-users@swift.org> wrote: >> > >> > >> >> On Mar 23, 2016, at 9:

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-24 Thread James Campbell via swift-users
ing to. > > Thanks, > - Daniel > > > On Mar 23, 2016, at 3:59 PM, Joe Groff via swift-users < > swift-users@swift.org> wrote: > > > > > >> On Mar 23, 2016, at 9:43 AM, James Campbell via swift-users < > swift-users@swift.org>

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-23 Thread James Campbell via swift-users
Sorry reported it rather. *___* *James⎥Head Of CEO* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On Wed, Mar 23, 2016 at 8:41 PM, James Campbell wrote: > Fixed this issue. > > http

Re: [swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-23 Thread James Campbell via swift-users
Fixed this issue. https://openradar.appspot.com/radar?id=6116002660089856 *___* *James⎥Head Of CEO* *ja...@supmenow.com ⎥supmenow.com * *Sup* *Runway East * *10 Finsbury Square* *London* * EC2A 1AF * On Wed, Mar 23, 2016 at 4:43 PM, Jam

[swift-users] Serious Issue with Project Preprocessor Build Setting, Xcode 7.3 and Swift.

2016-03-23 Thread James Campbell via swift-users
We are experiencing an issue when compiling swift code under Xcode 7.3. Preprocessor macros specified in the Xcode Project aren't imported into swift. Ones manually declared in code are imported fine. Specifying Xcode 7.3 to use the Xcode 7.2 toolchain (Swift 2.1 etc) has no effect on this. This