IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label moving. Show all posts
Showing posts with label moving. Show all posts

Tuesday, January 15, 2013

Trouble while moving a UITabBar object

I face trouble while i try to move my UITabBar object in a UIViewController.

 

Whenever I change the position of my UITabBar object by changing its frame.origin attribut, the object is correctly displayed at the position, however I lost the interface: whenever I select the UITabBarItem, the 'didSelect' method is not called anymore.

 

If I don't change its frame.origin attribut, the 'didSelect' method is called when I select an UITabBarItem. Is that a known issue?

 

I need to move this object programmatically, as while rotating the device, it does rotate but it doesn't stay at the bottom of the view. Any clue on how to fix it?

 

Thanks


View the original article here

Problem moving xcode cocoa c++ app to other mac's

Hi everyone,

 

My apologies if I am posting this in the wrong forum/section.

 

I am developing a C++ Cocoa app using the latest version of XCode on my MACOS which is running Mountain Lion. It is a fairly simple C++ app but upon copying the executable to another machine, it states that it will not run due to the version of MACOS being different. Apparently my wife has 10.7.5 and I have version > 10.8 so I'm confused how I can make my simple C++ app written in Cocoa work on other macs. Any advice would be greatly appreciated.

 

Thank you


View the original article here

Friday, January 11, 2013

Problem moving xcode cocoa c++ app to other mac's

Hi everyone,

 

My apologies if I am posting this in the wrong forum/section.

 

I am developing a C++ Cocoa app using the latest version of XCode on my MACOS which is running Mountain Lion. It is a fairly simple C++ app but upon copying the executable to another machine, it states that it will not run due to the version of MACOS being different. Apparently my wife has 10.7.5 and I have version > 10.8 so I'm confused how I can make my simple C++ app written in Cocoa work on other macs. Any advice would be greatly appreciated.

 

Thank you


View the original article here

Problem moving xcode cocoa c++ app to other mac's

Hi everyone,

 

My apologies if I am posting this in the wrong forum/section.

 

I am developing a C++ Cocoa app using the latest version of XCode on my MACOS which is running Mountain Lion. It is a fairly simple C++ app but upon copying the executable to another machine, it states that it will not run due to the version of MACOS being different. Apparently my wife has 10.7.5 and I have version > 10.8 so I'm confused how I can make my simple C++ app written in Cocoa work on other macs. Any advice would be greatly appreciated.

 

Thank you


View the original article here

Re: Problem moving xcode cocoa c++ app to other mac's

Set your Deployment OS to 10.7.


View the original article here

Thursday, January 10, 2013

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

How do I make this duplicate variable an alias? I cannot think of another way to identify it.

Also, how do I access the Resources folder in applescript with Xcode? The normal applescript I've used in applescript apps:

 

set OriginalFinderIcon to ((path to me as text) & "Contents:Resources:finder.png")

tell application "Finder"

duplicate OriginalFinderIcon to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:" with replacing

end tell

 

This script is not working with my Xcode app.

I have the original finder, trashempty, and trashfull files in there, and would like a button that copies those files to the correct folder when the "Restore _____ Icon" button is pushed

 

Thanks


View the original article here

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

How do I make this duplicate variable an alias? I cannot think of another way to identify it.

Also, how do I access the Resources folder in applescript with Xcode? The normal applescript I've used in applescript apps:

 

set OriginalFinderIcon to ((path to me as text) & "Contents:Resources:finder.png")

tell application "Finder"

duplicate OriginalFinderIcon to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:" with replacing

end tell

 

This script is not working with my Xcode app.

I have the original finder, trashempty, and trashfull files in there, and would like a button that copies those files to the correct folder when the "Restore _____ Icon" button is pushed

 

Thanks


View the original article here

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

How do I make this duplicate variable an alias? I cannot think of another way to identify it.

Also, how do I access the Resources folder in applescript with Xcode? The normal applescript I've used in applescript apps:

 

set OriginalFinderIcon to ((path to me as text) & "Contents:Resources:finder.png")

tell application "Finder"

duplicate OriginalFinderIcon to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:" with replacing

end tell

 

This script is not working with my Xcode app.

I have the original finder, trashempty, and trashfull files in there, and would like a button that copies those files to the correct folder when the "Restore _____ Icon" button is pushed

 

Thanks


View the original article here

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

How do I make this duplicate variable an alias? I cannot think of another way to identify it.

Also, how do I access the Resources folder in applescript with Xcode? The normal applescript I've used in applescript apps:

 

set OriginalFinderIcon to ((path to me as text) & "Contents:Resources:finder.png")

tell application "Finder"

duplicate OriginalFinderIcon to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:" with replacing

end tell

 

This script is not working with my Xcode app.

I have the original finder, trashempty, and trashfull files in there, and would like a button that copies those files to the correct folder when the "Restore _____ Icon" button is pushed

 

Thanks


View the original article here

AppleScriptObjC app with check marks, asking for files, and moving the files?

I am fairly familiar with AppleScript, but I just downloaded Xcode, and I am trying to make a simple app, but I am completely lost.

What I am making is an app where it asks for icons for Finder, Empty Trash, and Full Trash. I have three check boxes, "Finder," "Trash Empty," and "Trash Full." Whichever are checked, when you click the "Change my Icons!" button, it will ask for the appropriate icons, and move them to: /System/Library/CoreServices/Dock.app/Contents/Resources, then run the Terminal command: killall Dock. I have the appearance set up, but I am clueless on how to match the buttons to the command, and how to make a variable out of each check mark.

 

Thanks So much!


View the original article here

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

How do I make this duplicate variable an alias? I cannot think of another way to identify it.

Also, how do I access the Resources folder in applescript with Xcode? The normal applescript I've used in applescript apps:

 

set OriginalFinderIcon to ((path to me as text) & "Contents:Resources:finder.png")

tell application "Finder"

duplicate OriginalFinderIcon to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:" with replacing

end tell

 

This script is not working with my Xcode app.

I have the original finder, trashempty, and trashfull files in there, and would like a button that copies those files to the correct folder when the "Restore _____ Icon" button is pushed

 

Thanks


View the original article here

Wednesday, January 9, 2013

Re: AppleScriptObjC app with check marks, asking for files, and moving the files?

So... would this work:

on ChangeFullTrashIconPushed_(sender)

        set FullTrashIcon to (choose file with prompt "Choose a PNG icon to use for your Full Trash icon:" of type {"PNG"} without invisibles)

set theFile to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources:trashfull.png"

set qpp to quoted form of POSIX path of theFile

do shell script "zip " & qpp & ".zip " & qpp

        tell application "Finder"

            set theDupe2 to duplicate FullTrashIcon

            set the name of theDupe2 to "trashfull.png"

            move theDupe2 to "Macintosh HD:System:Library:CoreServices:Dock.app:Contents:Resources" with replacing

        end tell

        do shell script "killall Dock"

    end ChangeFullTrashIconPushed_

 

then I control-dragged a button to that script, and did a similar thing with buttons "Change Finder Icon" and "Change Empty Trash Icon"  Now I have a didderent problem. When I try to run it, I get this error:

Command /usr/bin/osacompile failed with exit code 1

What does that mean? I sort of messed up with creating a new project of the same thing and not replacing the old one due to a misspelling, so I renamed it in Xcode, and I don't know if that is related, but I also heard in reviews that simulator doesn't work well. How do I fix it? and did I do the first part right?

 

Thanks so much


View the original article here

Tuesday, January 8, 2013

AppleScriptObjC app with check marks, asking for files, and moving the files?

I am fairly familiar with AppleScript, but I just downloaded Xcode, and I am trying to make a simple app, but I am completely lost.

What I am making is an app where it asks for icons for Finder, Empty Trash, and Full Trash. I have three check boxes, "Finder," "Trash Empty," and "Trash Full." Whichever are checked, when you click the "Change my Icons!" button, it will ask for the appropriate icons, and move them to: /System/Library/CoreServices/Dock.app/Contents/Resources, then run the Terminal command: killall Dock. I have the appearance set up, but I am clueless on how to match the buttons to the command, and how to make a variable out of each check mark.

 

Thanks So much!


View the original article here