Hi,
I have my 'shake' working fine (using motionEnded), based off of Apple's GLPaint code. When the user shakes the device (running 3.0 and up) I want to open a view controller modally using presentModalViewController.
In my appdelegate I have the notification (as per the GLPaint sample code):
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(shakeToOpenHiddenScreen) name:@"shake" object:nil];
In my shakeToOpenHiddenScreen I just want to open view 'x' modally but I don't think that my appdelegate will respond to presentModalViewController.
Is there a way around this?
Hi,
i want to check if an Webserver on on local lan ip is reachable. I checked Apple's Rechability Sample, but this sample says all local lan ip's are reachable.
Any Ideas how to check this?
Thank's
Sorry to ask question not related to programming. But I have been wanting to know what are the name of the companies that do business in Mobile industry besides Apple, Microsoft and Motorolla? The company that makes hardware and sofware for their mobile devices for consumers. The reason I ask because I really want to find job in that area. So if anyone can help with the name, very appreciate.
Thanks in advance..
I need to be able to send text from the clipboard to an application I'm writing (in Objective-C) via AppleScript. Obviously I need to make my application scriptable (I'm currently reading the Apple Docs about this) but is this possible/easy-to-implement?
I would like to create my own google maps mash up exactly like wundermaps but with different data.
How can i go about doing this?
http://itunes.apple.com/us/app/wundermap/id364884105?mt=8
Hello everybody,
i am developing a GPS application in which i needs to track the speed of the device/iphone ,i am using the CLCorelocation API's Locate me referral code provided by Apple my problem is that the LocationManager does not updates the current latitude and longitudes thus i am unable to calculate the distance as well as the speed of the device/iphone.
Any kinds of suggestions/code will be highly appreciated please suggest me if i can do something with the Mapkit framework introduced in the sdk 3.0.
thanks in advance
After I've unarchived an object with NSKeyedUnarchiver, I am able to use it like usual, but I am unable to re-archive it. When I try, it crashes.
[NSKeyedArchiver archiveRootObject:unarchivedObject toFile:fileName];
I tried looking in the developer resources in apple but I haven't seen a thorough explination of proper usage of NSKeyedArchiver. Please Help.
For my iPhone application, Apple wants to know if my password encryption (md5) is greater then 64-bit symmetric or greater then 1024-bit symmetric. I have not been able to find it online, so I am wondering if anyone knows the answer. In addition, is this considered an appropriate encryption technology for passwords, or should I use something different?
Thanks for any help!
With the advent of the iPhone 3GS' video capability - does anyone know if Apple bundled the ability to capture the device screen as a video?
Note: I know this question has already been asked regarding previous handset versions but I am specifically asking about the 3GS where this functionality seems more plausible.
Update: until I hear otherwise I am going to have to accept that this is not possible.
Do you think that if I'll build my own custom analytic tool (Flurry, Pinchmedia) and I'll host that on the same server where I have my data source for the application, will Apple consider this as a thirdparty analytic tool or not? ... Problem is that Flurry and Pinch are being banned from Appstore by the newest T&C ... than I thought that I'll build an open source library that will allow anyone to have their own analytic installed on their server ...
Thanks,
Ondrej
I need to write an app which can observe and manipulate the positions of windows on screen, and I've been told that this requires using Cocoa's Accessibility API.
Unfortunately I'm a Java programmer, and Objective C scares me ;) Is it possible to access this Cocoa API from within Java? I know that back when Apple cared about Java it maintained a "bridge" to cocoa, but I'm not sure if this does what I need.
Oh, and my IDE is Eclipse, in case that is relevant.
Hi everybody, I decide to learn OPEN-GL ES for IPHONE development, but I know nothing about graphics programing. So I've some questions.
1 I know OPEN-GL ES is a series of open standard API. IPHONE still use these standard API or apple define it's own API for OPENGL ES?
2 Before I start to learn OPEN-GL ES, I think I should be familiar with OPEN-GL. Am I right?
I have all my splash screens for iPad and the old iPhone, but the new iPhone will run at 960 x 640 resolution.
I can't seem to find the docs on how a launch image should be sized for this. Does anyone know where Apple documents this, what size the splash screen should be, and what it should be named in the bundle?
Let's say I had an ArrayCollection like this:
public var ac:ArrayCollection= new ArrayCollection([
{item:"dog", group:"Animal"},
{item:"orange", group:"Fruits"},
{item:"cat", group:"Animal"},
{item:"apple", group:"Fruits"}
]);
How would I create a Tree component in Flex 3 that uses the groups as nodes, with the appropriate items listed under each node?
With all the normal Apple updates applied (I.E. No additional effort has been made by the customer to install a particular version of Java), what versions of Java are available for the Tiger, Leopard and Snow Leopard versions of Mac OS X? If it also depends on the hardware 32bit/64bit could you please include this information.
Thank you for your answers.
K.P.Sullivan
Does anyone have a good starting point for learning about development for the new Nintendo DSi? What kind of hardware do you need to develop and test something like this? Can you develop for the DSi using the standard DS? What language do you need to use?
[Bonus Question] : I also heard the new DSi is going to get an App Store similar to Apple - Are developers going to be able to sell games using this?
Hey there everyone,
So I'm used to the iPhone API, and I used MBProgressHUD a lot in my iPhone applications, but since I started developing apps for the Mac I noticed that I can't use MBProgressHUD. Is there an alternative that will do the same job as the MBProgressHUD? I notice that apple has it in their OS as well.
If anyone could help me find an alternative for MBProgressHUD, I would greatly appreciate it!!
Thanks,
Kevin
I like the look of the group rows in the nstableview. In apple mail, the group sections like mailboxes and rss with that style too.
Is there an easy way to make a group row or root item in an nsoutlineview to look like that? I think I have to override the willDisplayCell method...
In former Mac OS x versions it was possible to call Cocoa methods via the "call method" command in applescript ("Applescript Studio").
E.g. this way:
set theURL to "http://www.apple.com"
set URLWithString to (call method "stringByAddingPercentEscapesUsingEncoding:" of theURL with parameter 30)
The script interpreter in the "Applescript Editor" (10.6) does not understand the command "call method". - Is there an equivalent for "Applescript Editor" (10.6)?
Let's say I managed to get the dictionary opened for iTunes in the Applescript editor:
How would I access the "search" commands using Python with pyobjc?
I know I get can hold of the iTunes application using:
iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
but after I do a dir on it, I don't see the search command in the returned dictionary. Help please!
Is it possible to buy content from itunes store via iPhone app? Does apple allows to purchase stuff from iTunes using iTunes API? And is there an ability in the API to do that? Thanks
I am modifying the "MoveMe" example from the apple web site. When I get the "touchesMoved" message I move the centre of the target view to the centre of the touch.
Is there a way that when the touch starts ("touchesBegan" message) I can remember the offset from the target view and keep that offset.
Let me know if this is hard to understand and I will try to explain it a bit better.