Given graph, how could i represent it using adj matrix?. I have read lots of tutorials, post, slides, etc but i cant get my head round it, i just need that little push.
I have been successful with this in the past but now I can't seem to find the setting that tells XCode or Doxygen (or both) to display compile errors if documentation is missing. I have looked at the Apple documentation that tells how to create docsets and that works fine but XCode does not throw compiling errors on missing comments in the source code. Anyone know how to get this turned on?
Thanks,
Rob
I created a branch on my local Mercurial repository. I want to push to the shared repository so my work can be backed up, but I don't want other project members to see the branch.
What's the standard operating procedure in this case?
I'd like to avoid having the repository get full of developer branches that I don't need to see.
Facebook provided the facility to tag friends on the wall post. I want to tag multiple friends in an application.
How do I tag multiple friends in the application. Any pointers? I need to push updates to the walls of all the friends tagged through the application.
Is it possible to perform custom action when user touch autodetected phone link in UITextView. Please do not advice to use UIWebView instead.
And please don't just repeat text from apple classes reference
- certainly I've already read it.
Thanks.
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)?
Apple's reachability application crashes at runtime after successful compile. Given the extent to which these routines are implemented, has anyone discovered the correction for this?
Thanks ...
Hi,
I have one problem let assume A and B are 2 view controller from A user push to B view controller,In B user starts some download by creating object C(which is NSObject class) and sets B as delegate to C(assign),now user want go back to A then dealloc of B calls object releases, C delegate fails to give call back(crashes).I want to get call and allow user to move to other view controller thats way i am retain the delegate in C class but retain of delegate is wrong ...
what are all solutions ...
Thanks in Advance.
I know of:
http://lua-users.org/wiki/SimpleLuaApiExample
It shows me how to build up a table (key, value) pair entry by entry.
Suppose instead, I want to build a gigantic table (say something a 1000 entry table, where both key & value are strings), is there a fast way to do this in lua (rather than 4 func calls per entry:
push
key
value
rawset
Thanks!
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.
I used two different command x/w and disas at the same address 0x405130,get totally different output:
(gdb) x/w 0x405130
0x405130 <_imp__printf>: 0x77c1186a
(gdb) disas 0x405130
Dump of assembler code for function _imp__printf:
0x00405130 <_imp__printf+0>: push $0x18
0x00405132 <_imp__printf+2>: (bad)
0x00405133 <_imp__printf+3>: ja 0x405109 <_imp___iob+1>
End of assembler dump.
I don't understand why it's like this,can anyone explain it?
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
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
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
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?
I have a settings page that a user can enter some text and save directly to a combobox. Next time when page loads, combobox is filled in with the previous entered text. Also i have a modify button, so the user can delete or edit a value from the combobox.
My question is, what's the best way to save to user settings on the client with javascirpt/jquery?
I can only think of using an array and then (push/pop).,,Anyone got some bad experience with arrrays?
thx
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 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.
Hello guys,
I was hoping to get a nice push in the right direction I would like to change the ending of my images sources string... i hope i worded that right.
Anyway my current src's are reading:
<img src="something/something/12345_m.jpg" />
I would like to change it to:
<img src="something/something/12345_t.jpg" />
Any idea guys...Thanks!
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!
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...
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.
I've been working on an iPhone application in XCode and Interface Builder of the Tab Bar project type. After getting a table view of topics (business sectors) working fine I realized that I would need to add a Navigation Control to allow the user to drill into a subtopics (subsectors) table.
As a green Objective-C developer, that was confusing, but I managed to get it working by reading various documentation trying out a few different IB options. My current setup is a Tab Bar Controller with Tab 1 as a Navigation Controller and Tab 2 a plain view with a Table View placed into it. The wiring works: I can log when table rows are selected and I'm ready to push a new View Controller onto the stack so that I can display the subtopics Table View.
My problem: For some reason the first tab's Table View is a delegate and dataSource of the second ta. It doesn't make sense to me and I can't figure out why that's the only setup that works.
Here is the wiring:
Navigation Controller (Sectors) is a
delegate of Tab Bar
Navigation Bar is
a delegate of Navigation Controller
(Sectors)
View Contoller (Sectors) has a view of Table View
Table View (in Navigation
Controller (Sectors)) is a delegate
of First View Controller
(Companies)
Table View (in Navigation
Controller (Sectors)) is a dataSource outlet of First View Controller
(Companies)
First View Controller (Companies)
First View Contoller (Sectors) has a view of Table View
Table View (in First View Controller (Companies)) is not hooked up to a dataSource outlet and is not a delegate
When I click the tab buttons and look at the Inspector I see that the first tab is correctly hooked up to my MainWindow.xib and the second tab has selected a nib called SecondView.xib. It's in the File's Owner of MainWindow.xib where I inherit UITableViewDataSource and UITableViewDelegate (and also UITabBarControllerDelegate) in the .h, and in the .m where I implement the delegate methods.
Why does this setup only work when the Table View in my first tab (View Controller (Sectors)) is a delegate and dataSource of the second tab? I'm confused: why wouldn't it need to be hooked up to the Navigation Controller-enabled tab in which the Table View is seen (Navigation Controller (Sectors))? The Table View seen on the second tab has neither dataSource and is not a delegate.
I'm having trouble getting a pushViewController to fire (self.navigationController is not nil but the new View Controller still doesn't load) and I suspect that I need to work out this IB wiring issue before I can troubleshoot why the Nav Controller won't push a new View Controller onto the stack.
if(nil == self.navigationController) {
NSLog(@"self.navigationController is nil.");
} else {
NSLog(@"self.navigationController is not nil.");
SectorList *subsectorViewController = [[SectorList alloc] initWithNibName:@"SectorList" bundle:nil];
subsectorViewController.title = @"Subsectors";
[[self navigationController] pushViewController:subsectorViewController animated:YES];
[subsectorViewController release];
}
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..