where are device screenshots visible in Xcode6? - xcode6

For Xcode 6, the older Xcode 4 & 5 Organizer menu item has been split up into both an Organizer and a Devices set of menu choices.
Under the Devices menu item, you'll see a list of the various devices Xcode knows about, in addition to simulators and things like that.
And a cleaner looking interface that lists device information, installed apps for each of those devices, etc.
Here's my question:
There are two bigger buttons on the new Devices page. One is "View Device Logs" and the other is "Take Screenshot".
If one presses the "Take Screenshot" button to take a screenshot of what's on the connected device, there's no obvious way to actually view that screenshot.
Does anyone know how to view the screenshots that were taken from the Xcode 6 Devices menu? Hard to believe that's an oversight on the Dev Tool team's part.

Six minutes after asking my question I figured out the answer. There's a tooltip that pops up when hovering over the "Take Screenshot" button.
The screenshots get saved directly to the desktop and you'll see them saved there with the filename format "Screen Shot YYYY-MM-DD at HH.mm.ss AM/PM.png".

Related

Save screenshots on tvOS

The question is very simple, but i haven't found an answer.
How can i take a screenshot on tvOS?
In simulator is straightforward, just File -> Save Screenshot, but on a real device?
I already tried some combination of buttons, but nothing happened.
Let me know. Thank you.
With the Apple TV connected to your development machine via USB.
Steps
In XCode from the menu Window -> Devices
Select the Apple TV on the left representing your device.
On the device, configure the screen the way you want to capture it.
Click the Take Screenshot button.
It will save the screenshot to your development Mac
The new screenshot appears on the desktop.
For reference:
https://developer.apple.com/library/ios/recipes/xcode_help-devices_organizer/articles/capture_screenshots_from_device.html

Automatically select video source from dialog? VB.net

I've been playing with a generic usb camera to take snapshots every few seconds. With the help of this SO question, I was able to get the camera working; however, when you click the button to connect to the camera, a dialog box appears.
The difference between the other question and my question is that I have two video sources: a built in webcam and a usb camera. I also intend to have multiple cameras connected, all taking pictures. It appears that when you have multiple devices, you always get the dialog box where you have to choose the device. I'm trying to automatically choose the camera (and eventually cameras, plural) without this dialog box.
There are other pieces of sample code that I have played with - samples that have a device listbox that is populated; I thought this was what I needed (and I'd just remove the listbox control and process the list and what to connect to in code), but every one of these samples populates the listbox with "Microsoft WDM Image Capture (Win32)" instead of the devices listed in the dialog after attempting to connect to this "device."
Surely there's a way to automate the webcam(s) I'm connecting to instead of having to choose it from a dropdown in a Windows dialog, right? How would I go about doing this?
The solution ultimately was to use EMGU to access the camera; this also allows for connecting to multiple cameras at the same time.

Cmd + click to move status item

The built in battery, wi-fi, sound, etc, Apple supplied status items, can be dragged to any position on the menu by using cmd + click and drag:
How can I support similar functionality in my own status item?
There are two ways to get menus on the right side of the menu bar. The officially supported way is creating an NSStatusItem in your app. The other ways is creating an NSMenuExtra. You've noticed one difference: NSStatusItem menus are fixed in place, whereas the menu extras can be moved around by cmd-dragging them.
The other major difference, and the reason 3rd-party menu extras are not officially supported, is that unlike status items (which run as separate applications), menu extras are loaded into the address space of the SystemUIServer process. That means if they go haywire and crash, they can take down the UI.
You can see the Menu Extras installed on your system at /System/Library/CoreServices/Menu Extras. It may still be possible to create your own and have the OS load them, but you will run into problems if you try to ship the result. Better to go to bugreport.apple.com and let them know that NSStatusItems ought to be draggable.
Wikipedia has more info on Menu Extras, including some links to a tutorial on building your own.

How to create "Theme Apps" for iPhone (3G, 3GS, 4S) Using xcode without jailbraking?

I need to develop one application for iPhone which is named as "Theme Apps"
My requirement is like this :
This is a simple iPhone App that allows the user to press the "app
icon" and the iPhone Theme immediately changes the entire theme.
By pressing this button inside the app... the Theme of the iPhone will
switch between "normal" and "special mode"
In "special mode", anything that can be changed to a specific color
(just one color) will change. This needs to be done without
jailbreaking the phone and needs to serve as an "on/off" switch type
of functionality.
I searched everywhere but not got anything about it whether it is possible in iPhone or not OR how to do it in iPhone....
Please tell me how to do it or provide any link which can help me for the same.
I don't believe Apple lets you play with the OS of the phone. If you find a way to do it, it'll most likely be rejected on the app store, just a heads up.

Squeak System Browser Questions

I am using (a school modified version of) the "Squeak By Example" (SBE) image for a OOP/OOD class. However, my System Browser is missing a few features that appear in SBE. I assume there are some configuration options that can get them back for me, but I can't find them yet.
My questions are:
1) How do I get the buttons back? In the bottom pane there should be a bunch of button (browse, senders, implementors, versions, ..., source). My buttons are missing.
2) How do I get the small workspace area above the buttons to appear? There is supposed to be an area that I can type in, below the top panes, and above the buttons, but it doesn't appear.
Thanks in advance!
Robert
Edit - I did fool around in the Preferences Browser and tried a lot of settings. I managed to make the buttons come back and then later got that small (unknown name) workspace pane back, but I have no idea how. I have tried to systematically turn stuff off again to find out what setting(s) controlled what, but I was unable to determine what controlled either problem. So even though I have it working, I would like some squeak/smalltalk knowledgeable person to let me know how to control these as it might help me learn...
"In the bottom pane there should be a bunch of button (browse, senders, implementors, versions, ..., source). " -- switch on the optionalButtons preference in the preferences browser.
The "area that I can type in, below the top panes, and above the buttons, but it doesn't appear" sounds like the annotation pane - this gives you summary information about the method you're currently viewing, and it's controlled by the annotationPanes preference. Alternatively you may be referring to the Mercury Panel which is used for fast navigation to other classes and methods; this is (of course :-) controlled by the mercuryPanel preference.
If you've been messing around, you may also find that you now have an incorrect system browser selected. Squeak has a choice of browsers which can act as the System Browser. You can choose between them by clicking the menu button on the System Browser and selecting "Choose new default Browser". Open a new browser window to see what effect this has had.
You may also want to try a Pharo image which has everything configured the way you want by default.
Do you have access to the Preferences Browser? It should be in the main system menu. You can alter all sorts of things via this browser, including which buttons appear in teh system browser?