Re: LGPL code in the Mac App Store?

2016-01-26 Thread Quincey Morris
I dunno, but it seems to me that this thread ran off the rails right at the start. It would be the end of the App Store if it were possible to strip the code signature out of a downloaded app and then just run it. However, what happens after the code signature is tampered with is going to

Re: App Transport Security exceptions App Store signed app

2016-01-26 Thread Ben Kennedy
On 26 Jan 2016, at 9:55 pm, Trygve Inda wrote: > connection failed: (null) The resource could not be loaded because the App > Transport Security policy requires the use of a secure connection. > http://www.earthdeskcloudhost02.com/mosaic/free/clouds-2048.jpg I'm no App

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Jake Petroules
> On Jan 26, 2016, at 1:06 PM, Pascal J. Bourguignon > wrote: > You cannot use dynamically loaded libraries on iOS. Wrong, you can use dynamically loaded libraries in iOS 8 and above. > Also, I think you won't be able to load a library yourself (as data) and jump >

Re: App Transport Security exceptions App Store signed app

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 9:55 PM, Trygve Inda wrote: > > NSTemporaryExceptionAllowsInsecureHTTPLoads The “Temporary” in those names was only needed for the first iOS 9 beta. It might still be supported, but the official names do not have Temporary in them. See the

App Transport Security exceptions App Store signed app

2016-01-26 Thread Trygve Inda
I am still getting an error despite my Info.plist beign configured correctly (as far as I can tell). Calls to http on my domain (xericdesign.com) work. Calls via http to my other domain (earthdeskcloudhost02.com) do not work. connection failed: (null) The resource could not be loaded because the

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Pascal J. Bourguignon
On 26/01/16 22:17, Jens Alfke wrote: On Jan 26, 2016, at 1:06 PM, Pascal J. Bourguignon > wrote: I'm not sure it's allowed, you would have to check the App Store EULA and license, and your Apple Developer Program agreement, etc. Why

Re: Dodgy Code - Low Level Memory Management Question!

2016-01-26 Thread Dave
Hi Again \ > On 25 Jan 2016, at 19:22, Quincey Morris > wrote: > > On Jan 25, 2016, at 10:48 , Dave > wrote: >> >> myNewObject = [super initWithSomething: something]; > > This is a dangerous thing

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
On Jan 26, 2016, at 5:47 AM, Dave wrote: > Hi, > >> Yeah, the ivar for an @property called myThing is _myThing and we can know >> that by looking at it with our eyeballs. How do we extend that type of >> visual exposure of information of the “thing” being inspected in a similar >> manner?

Array of Dictionaries as .userInfo

2016-01-26 Thread Eric E. Dolecki
I have a control which takes an array of dictionaries to construct it's UI (as a distinct method). Now I'd like to add a notification to supply the data as well. I'd like to pass the data as userInfo. When constructing the observer method, how do I constuct? func

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Roland King
> On 26 Jan 2016, at 23:12, Eric E. Dolecki wrote: > > I have a control which takes an array of dictionaries to construct it's UI > (as a distinct method). > > Now I'd like to add a notification to supply the data as well. I'd like to > pass the data as userInfo. > > When

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Eric E. Dolecki
That makes perfect sense - thanks. I forgot about the userInfo type! On Tue, Jan 26, 2016 at 10:31 AM Roland King wrote: > > > On 26 Jan 2016, at 23:12, Eric E. Dolecki wrote: > > > > I have a control which takes an array of dictionaries to construct it's >

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Clark Cox
The notification’s userInfo *must* be a dictionary, trying to force it to be something else is just asking for trouble. You could create a dictionary that contains your array of dictionaries if you want to be able to pass it through an NSNotification. That said, IMHO, this use of notifications

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Eric E. Dolecki
I agree with you there in terms of passing the data in the notification. I've requested that the developer in charge of some of the appDelegate backend allow for the explicit data request. It's an extra call or two, but keeps the pipeline known and clean. On Tue, Jan 26, 2016 at 10:37 AM Clark

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Alex Zavatone
Shouldn't the notification be as dumb as possible and let the notification receiver/processor handle any decisions on what to process or read from? On Jan 26, 2016, at 10:37 AM, Clark Cox wrote: > The notification’s userInfo *must* be a dictionary, trying to force it to be > something else is

Re: Array of Dictionaries as .userInfo

2016-01-26 Thread Eric E. Dolecki
Yes probably in most cases. One can send an object and a NSDictionary (userInfo) though too. So there are some implied options. I was about to over-use my userInfo ;) On Tue, Jan 26, 2016 at 11:46 AM Alex Zavatone wrote: > Shouldn't the notification be as dumb as possible and let

Re: Dodgy Code - Low Level Memory Management Question!

2016-01-26 Thread Quincey Morris
On Jan 26, 2016, at 06:00 , Dave wrote: > > IOW, the autorelease will basically just be a NOP? An autorelease is never a NOP. It’s a “release later”, not a “release if necessary”. Rather than trying to count or balance retains globally, I think it’s easier to think

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 6:32 AM, Alex Zavatone wrote: > > Since we're all computery and programmy and stuff, couldn't we put together a > little matrix of the type of variable and come up with several loose > standards? > The reason I ask this (am pressing on this) is that a large

Re: Dodgy Code - Low Level Memory Management Question!

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 6:00 AM, Dave wrote: > > Sorry typeo in the pseudo code, it passes the object and it is retained…. Dave, if you want us to debug your code for you, then SHOW US THE ACTUAL #*$&% CODE! Don’t show us something else that _looks_ like real Obj-C but

LGPL code in the Mac App Store?

2016-01-26 Thread thatsanicehatyouhave
Hi, I’m working on a program that I will be submitting to the Mac App Store that uses LGPL code. I have recently learned that the license requires the capability for the end user to create their own version of the LGPL library to link against the application (I have been compiling the source

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 11:23 AM, thatsanicehatyouh...@me.com wrote: > > I’m working on a program that I will be submitting to the Mac App Store that > uses LGPL code. I have recently learned that the license requires the > capability for the end user to create their own version of the LGPL

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
On Jan 26, 2016, at 2:10 PM, Jens Alfke wrote: > >> On Jan 26, 2016, at 6:32 AM, Alex Zavatone wrote: >> >> Since we're all computery and programmy and stuff, couldn't we put together >> a little matrix of the type of variable and come up with several loose >> standards? >>

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Pascal J. Bourguignon
On 26/01/16 20:23, thatsanicehatyouh...@me.com wrote: Hi, I’m working on a program that I will be submitting to the Mac App Store that uses LGPL code. I have recently learned that the license requires the capability for the end user to create their own version of the LGPL library to link

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 12:43 PM, Alex Zavatone wrote: > > Additionally, when creating an @property, the compiler does this > automatically, when it create the iVar, correct? Only if you have auto-synthesis turned on. (Which it is, by default, but I always turn it off because I

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 1:06 PM, Pascal J. Bourguignon > wrote: > > You cannot use dynamically loaded libraries on iOS. (a) No. You can use dylibs/frameworks in iOS 8 or later. (b) But this is irrelevant since the OP is writing a *Mac OS* application. —Jens

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 1:06 PM, Pascal J. Bourguignon > wrote: > > I'm not sure it's allowed, you would have to check the App Store EULA and > license, and your Apple Developer Program agreement, etc. Why would Apple care one way or another about the license of the

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Britt Durbrow
Mac App Store, not iOS. I would consider a: packaging a version of the library in your resources; and loading that if there is not one in the app’s Application Support folder; and b: providing the library on github. If the user wishes to modify the library for whatever reason, they download

Re: Dodgy Code - Low Level Memory Management Question!

2016-01-26 Thread Dave
> On 26 Jan 2016, at 19:15, Jens Alfke wrote: > > >> On Jan 26, 2016, at 6:00 AM, Dave > > wrote: >> >> Sorry typeo in the pseudo code, it passes the object and it is retained…. > > Dave, if you want us to debug

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Jens Alfke
> On Jan 26, 2016, at 1:17 PM, Britt Durbrow > wrote: > > I would consider a: packaging a version of the library in your resources; and > loading that if there is not one in the app’s Application Support folder Loading a library at runtime is somewhat

Re: Obj-C - your thoughts on hiding data members?

2016-01-26 Thread Alex Zavatone
On Jan 26, 2016, at 4:08 PM, Jens Alfke wrote: > >> On Jan 26, 2016, at 12:43 PM, Alex Zavatone wrote: >> >> Additionally, when creating an @property, the compiler does this >> automatically, when it create the iVar, correct? > > Only if you have auto-synthesis turned on.

Re: LGPL code in the Mac App Store?

2016-01-26 Thread Dru Satori
Now you are getting into the nitty gritty of LGPL wording and implementation, at that point, it becomes more about working with the copyright holder to ensure you are complying with the intended spirit of the license, or engaging a lawyer to get him to sign off on a willingness to defend the

Music App-style search

2016-01-26 Thread Rick Mann
I've got an app that's structured a lot like the iOS Music App: tab bar controller, navigation controller, search button in nav bar. Tapping that brings the search UI down from the top and a keyboard up from the bottom, and hides the displayed content. The search results can be tapped and will