Re: adding frameworks to my project

2016-01-22 Thread Alex Zavatone
Yes, your project has 0 frameworks. When you click the plus, a sheet slides down and contains a search field and below it a list of frameworks that you can select to add to your project. At the bottom of that sheet, there should be buttons to allow you to add and cancel the frameworks you want

Re: adding frameworks to my project

2016-01-22 Thread Scott Berry
Hello Alex and all, Alex, I have found what your talking about but it’s showing 0 frame works. I did exactly as you said. Would anyone know why this is? > On Jan 22, 2016, at 7:08 PM, Alex Zavatone wrote: > > If you select your project from the navigator, you can add frameworks by > select

Re: adding frameworks to my project

2016-01-22 Thread Alex Zavatone
If you select your project from the navigator, you can add frameworks by selecting Build Settings in the center Editor window. From there, there are 4 items that appear, "Target Dependencies", "Compile Sources", "Link Binary With Libraries" and "Copy Bundle Resources". Select and expand "Link B

Re: How to save a Dictionary Network to a plist file?

2016-01-22 Thread Graham Cox
> On 22 Jan 2016, at 11:44 AM, Alex Zavatone wrote: > > You can use NSCoding to write the object out to disk and read it back. > > If you want to convert it to a dictionary, you can save it as a pList Also, you can set NSKeyedArchiver to encode in XML format rather than a binary format, so

adding frameworks to my project

2016-01-22 Thread Scott Berry
Hello there, I am having trouble seeing the frameworks that come with Xcode. I need to add some to my project such as the maps and the sound and I need to see which others are available. I thought I would add those first before redoing my code that way I am covered when I need to access them.

Re: Yet another privileged-helper-tool question: how to launch from a system-preferences panel?

2016-01-22 Thread Damien DeVille
Hey Motti, Could you maybe have a Cocoa app in your pref pane bundle that could talk to the privileged daemon? You would launch it from the pref pane, it would bless the tool on your behalf and you would communicate between the privileged app and the pref pane via the helper app? That’s defini

Re: How to save a Dictionary Network to a plist file?

2016-01-22 Thread Scott Ahten
There is a helpful article on NSHipster comparing methods of storing object graphs, which includes an example of using NSKeyedArchive / NSCoding to persist objects. The example defaults to Swift, but you can switch to Objective-C. The output is NSData, which you can write to disk or stash in NSU

Re: How to record screen in iOS

2016-01-22 Thread Alex Zavatone
On Jan 22, 2016, at 1:03 PM, Hunter Hillegas wrote: > You can (we have done this) but using the public API (even with the iOS 7 > improvements to getting the screen), this doesn’t give you great FPS on > anything but the latest hardware. > Ahhh, well, I remember like 2 years ago searching vid

Re: How to record screen in iOS

2016-01-22 Thread Hunter Hillegas
You can (we have done this) but using the public API (even with the iOS 7 improvements to getting the screen), this doesn’t give you great FPS on anything but the latest hardware. > On Jan 22, 2016, at 9:59 AM, Alex Zavatone wrote: > > As somewhat of a cheesy hack, can't you capture the desire

Re: How to record screen in iOS

2016-01-22 Thread Alex Zavatone
As somewhat of a cheesy hack, can't you capture the desired views or window content as bitmaps on schedule and queue them for processing to a file or set of files to be converted into a video? If it's not your app that you want the client to record, couldn't you make an SDK for game vendors to

Re: How to record screen in iOS

2016-01-22 Thread Clark S. Cox III
Unfortunately, what you ask is not possible. There are ways for your app to record *itself* (e.g. through ReplayKit), and there are ways for a connected computer to record the screen of any running app (e.g. through QuickTime Player). But there is no way for your app to record *another* app that

Re: How to record screen in iOS

2016-01-22 Thread Jens Alfke
> On Jan 21, 2016, at 6:45 PM, ico wrote: > > For the sandboxing reason, I know it possibly not to get it done. However, > what if there is some dark magic like private API The list moderators won’t allow discussion of private APIs on an Apple forum. You’ll be warned, and then banned. Honestl

Re: Using an anchor in NSURL file url

2016-01-22 Thread Jens Alfke
> On Jan 21, 2016, at 6:23 PM, Jeff Evans wrote: > > //The full url appears to have the anchor prepended, plus a couple of > dashes: > > #page3-- [pathtobook is here]/book/chapter1.html The .description property of a URL assembled with -relativeToURL is weird looking like that,

Re: Problem Archiving/Un-archiving Custom Objects

2016-01-22 Thread Clark S. Cox III
> On Jan 22, 2016, at 06:14, Dave wrote: > > >> On 21 Jan 2016, at 23:40, Quincey Morris >> wrote: >> >> On Jan 21, 2016, at 15:22 , Dave > > wrote: >>> >>> I’m relying of the copy attribute for the NSString’s, do I need to change >>> these to do a [xxx

Re: Problem Archiving/Un-archiving Custom Objects

2016-01-22 Thread Clark S. Cox III
> On Jan 22, 2016, at 06:14, Dave wrote: > > >> On 21 Jan 2016, at 23:40, Quincey Morris >> wrote: >> >> On Jan 21, 2016, at 15:22 , Dave > > wrote: >>> >>> I’m relying of the copy attribute for the NSString’s, do I need to change >>> these to do a [xxx

Re: Problem Archiving/Un-archiving Custom Objects

2016-01-22 Thread Kyle Sluder
On Fri, Jan 22, 2016, at 08:14 AM, Dave wrote: > > > On 21 Jan 2016, at 23:40, Quincey Morris > > wrote: > > > > On Jan 21, 2016, at 15:22 , Dave > > wrote: > >> > >> I’m relying of the copy attribute for the NSString’s, do I need to change > >> these to do a

Re: Problem Archiving/Un-archiving Custom Objects

2016-01-22 Thread Dave
> On 21 Jan 2016, at 23:40, Quincey Morris > wrote: > > On Jan 21, 2016, at 15:22 , Dave > wrote: >> >> I’m relying of the copy attribute for the NSString’s, do I need to change >> these to do a [xxx copy] too > > If you’re writing the setter yourself, yo

Re: How to record screen in iOS

2016-01-22 Thread ico
The reason that not to use ReplayKit is simple, if the user play a game without ReplayKit feature then they can not record the video. If I can implement an app for recording, then users can do it no matter what game they play. Actually I am not asking how to do this for a game I develop, I just wa

Re: Using an anchor in NSURL file url

2016-01-22 Thread diederik
Would it be possible to parse the anchor out from the url and then once the page is completely loaded in the webview use javascript's window.location to jump to the anchor's location within the page. I know that can work for UIWebView, not 100% sure for WKWebView. > On Jan 21, 2016, at 7:17 PM,

Re: Faster scrolling after resizing window

2016-01-22 Thread Martin Huber
> That doesn’t make much sense. Try comparing samples before and after. What is > different? > Instruments with "Time Profiler" shows very similar percent values for both situations, but after resizing the window the CPU utilization is higher. But that was to be expected, because it is redrawin