Could anyone help me fix it?
@implementation SecondViewController
-(IBAction) pushLowLevelQuestionView: (id) sender {
[self.navigationController pushViewController:lowLevelQController animated:YES];
There is a warning saying that "Incompatible Objective-C types 'struct LowLevelQuestionController *' expected 'struct UIViewController *' when passing argument 1 of 'pushViewController: animated: 'from distinct Objective-C type"
The class of lowLevelQController is LowLevelQuestionController : UITableViewController.
Isn't UITableViewController a subclass of UIViewController??
How come the complier blame me?
Thanks a lot!!!
Check your #import(s)
Similar Messages
-
Adobe 11 is not working with Firefox 16 could anyone help me fix the problem?
It will tell me that adobe will not run with this browser
Hello blair507, see [https://support.mozilla.org/en-US/kb/pdf-files-are-blank-and-cant-be-downloaded-mac#os=mac&browser=fx16 PDF files are blank and can't be downloaded on Mac]
[https://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them#os=mac&browser=fx16 View PDF files in Firefox without downloading them]
try the excellent [http://www.schubert-it.com/pluginpdf/ Schubert|it PDF Browser Plugin] (it is only for mac)
thank you -
Could anyone help me fix it? I think it's simple.
Here the class of lowLevelQController is LowLevelQuestionController : UITableViewController.
Is UITableViewController a subclass of UIViewController? Why did the complier blame me?
Thank you a lot!!!If you added an image, we can't see it.
-
I am not able to get any directions on my maps i am using iphone 4s and updated to ios 6.1.3 and whenever i try to find a route it always says directions could not be found can anyone help in fixing it
Maps: Turn-by-Turn Navigation
Argentina Australia Austria Belgium Brunei Bulgaria Canada Croatia Czech Republic Denmark Egypt Estonia Finland France Germany Greece Hong Kong Hungary Ireland Israel Italy Japan Latvia Liechtenstein Lithuania Luxembourg Macau Malaysia Malta Mexico Morocco Netherlands New Zealand Norway Poland Portugal Romania Russia San Marino Singapore Slovakia Slovenia South Africa South Korea Spain Sweden Switzerland Taiwan Thailand Turkey UK Ukraine USA
Back to Top -
could anyone help, just baffled, my i phone is literllly dead for no reason. i thought the battery had ran out, thou it had plenty left... i have tried to charge it and no life. also have plugged it in with my computer, again no life or aknowledgement... why? how can i fix it? Can i or is it the end of the road for my 3 month old Iphone 4???
My 3GS did the exact same thing today at about the same time. Thanks for the advice, because Apple was about to charge me $30 to tell me that!
-
Could anyone help me with this problem?
Hello!
I�m a working with JMS Tutorial of Jms.(J2EE 1.3.1). I follow all the steps of the tutorial, and when i write
"java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3"
The console shows me the following error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Files\s1studio\ee\j2s
dkee1/3/1\config\jms_client/properties"
I don�t know hot to fix this error. The classpath, and all the variables are correctily defined. I use XP o.s., jdkse 1.4 and j2see 1.3.1, and i repeat, i follow the steps of the tutorial. Could anyone help me?
Many Thanks.
Note: Sorry for my poor English.Well, it looks as if somehow your command window is converting periods into forward slashes, since "1.3.1" appears in the output as "1/3/1" and "jms_client.properties" appears as "jms_client/properties". That is why the file is not found. If you can figure out how to stop it from doing this, the java command should be able to find the file. I'm afraid I know nothing about Windows XP command windows, however.
I'm sorry not to be more helpful.
Kim Haase
Technical Writer
Sun Microsystems, Inc. -
Hi there
after installing Mavericks on my macbookpro 2009 (Japanese keyboards) the layout doesn't work anymore. I mean, if I press the "@" button the "è" symbol comes out. I did already change the layout in the Preferences but it didn't work.
Could anyone help me please?Apple has changed the way Kotoeri keyboard layouts work. You should be able to get normal behavior if you activate the US layout and switch to that just before using Kotoeri. Here is also an Apple note on the topic with another suggestion:
http://support.apple.com/kb/TS5284
Be sure to tell Apple you want this changed back to the way if was in 10.8 and earlier via
http://www.apple.com/feedback
If you know Japanese well, you might ask on the Japanese discussions whether someone has found a better fix for this:
https://discussionsjapan.apple.com -
I have just tried to connect my Mac book pro to an LG Plasma TV via an iWires Mini DisplayPort to HDMI cable. All I get on my TV is the Mac wallpaper and nothing else. I am missing something really silly, could anyone help please.
Hi there. I also bought an iWires mini Display port to HDMI cable and have an LG LED/LCD TV. I plugged it in to my MB Pro and followed the very small writing that came in the package and got both audio and video going. You need to change the audio settings from within System Preferences on your Mac to select your TV as the audio output.
My concern is the data latency - do you experience a delay between moving your mouse on the MBPro and the TV displaying the movement? It is only a fraction of a second, but certainly enough to be annoying, especially in a cable as expensive as the iWire. -
How can I connect my Mac Book Pro (year 2008) to the TV set through HDMI? I've seen a DVI to HDMI iwire but I'm no sure that it is correct. Could anyone help me? Thank you very much.
I do not know the iWire adapter, but I use an inexpensive ($3) DVI to HDMI adapter from Monoprice, along with a regular HDMI cable:
http://www.monoprice.com/products/product.asp?c_id=104&cp_id=10419&cs_id=1041902 &p_id=2029&seq=1&format=2
Be aware that this will only transfer video. You Macbook Pro cannot combine audio through DVI to HDMI. You will need to listen to the audio through the Mac speakers, or attach speakers or a sound system to the Mac earphone jack, or determine if your TV has the ability to accept external sound from the Mac while showing video through HDMI (few can). -
Hi, Could anyone help me with variables in BEx
Hi,
I want to know what a Variable is,when and how it is used in BEx Reporting. I am aware that Variables are very important in BEx, but i don't know where to use it. I know how to create a query report,but where will i use this variables and how,while creating one.
Could anyone help me through this step by step.
With Thanks,
Siva.Hi Siva,
Please go through the info here. It is very helpful:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm -
ReadString problem!! could anyone help me take a look
hi... i am doing a music Cd list program. there are two operation i need to do 1) insertion and 2) deletion. i have implemented my own sortList to do it... i work fine when i do the insertion to the list but it can`t perform well on deletion.. However, i am sure that my list deletion algoritm is totally correct... i perform two test as following to ensure my deletion is correct..but i think the problem is on my readString fucntoon ...could anyone help me take a look!!
public class SortedListTesting
SortedList musicCdList = new SortedList();
ReadOperation theRo = new ReadOperation();
//ErrorCheckingOperation theEco = new ErrorCheckingOperation();
MusicCd temp;
public void insertCdWithReadStringFunction()
String musicCdsTitle;
//try to prompt the user `s cd `s title for insertion to our List
musicCdsTitle = theRo.readString("Please enter your CD`s title : ");
musicCdList.insert(new MusicCd(musicCdsTitle));
System.out.println("Number of items in the list: "
+ musicCdList.getNumberOfItems() + "\n" + musicCdList.toString() );
public void deleteCdWithReadStringFunction()
try
//try to prompt the user `s delected cd `s title
String keyword = theRo.readString("Please enter CD `s title to be delected from SMOA : ") ;
// System.out.println("The CD that you just deleted is " + keyword);
temp = musicCdList.delete(keyword);
System.out.println("Number of items in the list: "
+ musicCdList.getNumberOfItems() + "\n" + temp );
catch ( InvalidDataException errorMsg )
System.out.println( errorMsg.getMessage() + "\n" );
System.out.println("Now, We have " + musicCdList.getNumberOfItems() + " items in the list, and the items as following :\n" + musicCdList.toString() );
public void insertCd()
String musicCdsTitle;
//try to input the string directly to our list
musicCdsTitle = "ann";//theRo.readString("Please enter your CD`s title : ");
musicCdList.insert(new MusicCd(musicCdsTitle));
System.out.println("Now, the number of items in the list: "
+ musicCdList.getNumberOfItems() + "\n" + musicCdList.toString() );
public void deleteCd()
try
//try to input the String directly
String keyword = "ann"; //theRo.readString("Please enter CD `s title to be delected from SMOA : ") ;
System.out.println("The CD that you just deleted is " + keyword);
temp = musicCdList.delete(keyword);
//System.out.println("Number of items in the list: "
// + musicCdList.getNumberOfItems() + "\n" + temp );
catch ( InvalidDataException errorMsg )
System.out.println( errorMsg.getMessage() + "\n" );
System.out.println("Now, We have " + musicCdList.getNumberOfItems() + " items in the list, and the items as following :\n" + musicCdList.toString() );
public static void main(String[] args)
SortedListTesting st = new SortedListTesting();
//These two testing i am trying to show that my list is working fine for inseting and deleting
//i try to input the cd `s title name " ivan " by my readString function, it work fine for insertion
//but it is fail in delete fuction..it shows that "ivan not found: cannot be deleted" ...At first,
//i think it is my delete function problem..but it is not my delete function problem...cos it work fine if
//input the string directly from the function...i think the issues works on my readString fucntion
//i try a milllion of time but i still got the same problem ...pls help....
System.out.println("\t...Testing for input from readString fuction...\t");
st.insertCdWithReadStringFunction();
st.deleteCdWithReadStringFunction();
//it work fine for input the string directly in the function, it show as following...
System.out.println("\t...Testing for input the string directly ...\t");
st.insertCd();
st.deleteCd();
javac SortedListTesting.java
Exit code: 0
java SortedListTesting ...Testing for input from readString fuction...
Please enter your CD`s title : ivan <<-inserting the cd`s title to our list
Number of items in the list: 1 <<- sucessfully insert to our list
Title: ivan
Please enter CD `s title to be delected from SMOA : ivan <<- try to delete from our list, i type "ivan" here
ivan not found: cannot be deleted <<- problem occur , it should be fine in there
Now, We have 1 items in the list, and the items as following :
Title: ivan <<- it should not be shown
...Testing for input the string directly ...
Now, the number of items in the list: 2
Title: ann <<- i pass "ann" String directly to insertion function
Title: ivan <<- it is the left over from the preivous process
The CD that you just deleted is ann <<- i pass " ann" String directly to my deletion
Now, We have 1 items in the list, and the items as following : <<- it successfully delete .... it prove that my deletion function is working properly....i think it is on readString problem..
Title: ivan
Exit code: 0*/
//it seems that the readString function read the string
//at the first time does not match the second time
//reading, it makes it can`t find the stuff from the list ..
import java.util.*;
public class ReadOperation{
//pls help check here....thx
public String readString(String userInstruction)
String aString = null;
try
Scanner scan = new Scanner(System.in);
System.out.print(userInstruction);
aString = scan.nextLine();
catch (NoSuchElementException e)
//if no line was found
System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
catch (IllegalStateException e)
// if this scanner is closed
System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
return aString;
public char readTheFirstChar(String userInstruction)
char aChar = ' ';
String strSelection = null;
try
//char charSelection;
Scanner scan = new Scanner(System.in);
System.out.print(userInstruction);
strSelection = scan.next();
aChar = strSelection.charAt(0);
catch (NoSuchElementException e)
//if no line was found
System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
catch (IllegalStateException e)
// if this scanner is closed
System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
return aChar;
public int readInt(String userInstruction) {
int aInt = 0;
try {
Scanner scan = new Scanner(System.in);
System.out.print(userInstruction);
aInt = scan.nextInt();
} catch (InputMismatchException e) {
System.out.println("\nInputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) " + e);
} catch (NoSuchElementException e) {
System.out.println("\nNoSuchElementException error occurred (input is exhausted)" + e);
} catch (IllegalStateException e) {
System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
return aInt;
public class SortedList extends ShellSortedList implements SortedListInterface<MusicCd>
public SortedList()
super();
public void insert( MusicCd aCd )
MusicCdNode cdNode = new MusicCdNode( aCd );
cdNode.setNext( head );
head = cdNode;
numberOfItems++;
public MusicCd delete(String aCdsTitle)
throws InvalidDataException
MusicCdNode current = head;
MusicCdNode previous = null;
while( current != null
&& current.getMusicCd().getCdTitle() != aCdsTitle)
previous = current;
current = current.getNext();
if (current == null ) //not found
throw new InvalidDataException(aCdsTitle
+ " not found: cannot be deleted" );
else
if( current == head )
head = head.getNext(); //delete head
else
previous.setNext( current.getNext() );
numberOfItems--;
return current.getMusicCd();
public MusicCd modify(String anExistedCdsTitle, String aModifyCdsTitle)
throws InvalidDataException
MusicCdNode current = head;
while( current != null
&& current.getMusicCd().getCdTitle() != anExistedCdsTitle)
current = current.getNext();
if ( current == null )
throw new InvalidDataException( anExistedCdsTitle
+ " not found: cannot be deleted" );
else
MusicCd tempCd = new MusicCd();
tempCd.setCdTitle(aModifyCdsTitle);
current.setMusicCd(tempCd);
return current.getMusicCd();
}//for better understand of my program
public interface SortedListInterface<T>
//public SortedList();
public void insert( T anElement );
public T delete(String searchKey)
throws InvalidDataException;
public T modify(String searchKey, String aModifyTitle)
throws InvalidDataException;
public abstract class ShellSortedList
protected MusicCdNode head;
protected int numberOfItems;
public ShellSortedList()
head = null;
numberOfItems = 0;
public int getNumberOfItems()
return numberOfItems;
public boolean isEmpty()
return( numberOfItems == 0 );
public boolean isDuplicate(String newCD)
boolean found = false;
MusicCdNode current = head;
for( int i=0; i < numberOfItems; i++)
if(current.getMusicCd().getCdTitle().equals(newCD))
System.out.println("Duplicate Cd is found !!");
found = true;
current = current.getNext();
return found;
public String toString()
String listString = " ";
MusicCdNode current = head;
for( int i=0; i < numberOfItems; i++)
listString += current.getMusicCd().toString() + "\n";
current = current.getNext();
return listString;
public class MusicCdNode
private MusicCd cd;
private MusicCdNode next;
// Default constructor
public MusicCdNode()
// Description: Initialize the reference for the cd object and the value of next to null.
// Postcondition: cd = null; next = null;
cd = null;
next = null;
// Parameterized constructor
public MusicCdNode(MusicCd aCd)
// Description: Set the reference for the cd object according to the parameters and value of next to null.
// Postcondition: cd = aCd; next = null;
cd = aCd;
next = null;
public MusicCd getMusicCd()
return new MusicCd(cd.getCdTitle());
public MusicCdNode getNext()
return next;
public void setMusicCd(MusicCd aCd)
cd = new MusicCd(aCd.getCdTitle());
public void setNext(MusicCdNode aCd)
next = aCd;
// File: MusicCd.java
// Author: Chi Lun To (Ivan To)
// Created on: June 5, 2007
// Class Description
// The MusicCd class defines a music cd object that contain the CD`s title, CD`s artist/GroupName,
// CD`s yearOfRelease , Cd`s music genre, and any comment of the Cd`s. This class provides functions
// to access the musicCdsTitle, artistOrGroupName, yearOfRelease, musicGenre, and aComment variable.
// Class Invariant: All MusicCd objects have a string musicCdsTitle, string artistOrGroupName, integer yearOfRelease
// String musicGenre, and String aComment. A string type musicCdsTitle,artistOrGroupName, musicGenre,or aComment of "None"
// indicates no real name specified yet. A integer yearOfRelease of 1000 indicates no real years specific yet.
public class MusicCd
String theCdTitle;// the CD`s Title
// Default constructor
public MusicCd()
// Description: Initialize theCdTitle to empty string
// Postcondition: theCdTitle = " ";
theCdTitle = " ";
}//end constructor
// Parameterized constructor
public MusicCd(String aCdTitle)
// Description: Set theCdTitle according to the parameters
// Postcondition: theCdTitle = aCdTitle;
theCdTitle = aCdTitle;
} // end constructor
// Accessor function : getCdTitle( ) function
public String getCdTitle()
// Description: Method to return the theCdTitle
// Postcondition: the value of theCdTitle is returned
return theCdTitle;
}// end getCdTitle( ) function
// Mutator function: setCdTitle( ) function
public void setCdTitle(String aCdTitle)
// Description: Method to set theCdTitle according to the parameter
// Postcondition: theCdTitle = aCdTitle;
theCdTitle = aCdTitle;
}// end setCdTitle( ) function
// toString( ) function
public String toString()
// Description: Method to return the theCdTitle
// Postcondition: the value of theCdTitle is returned as String
return("Title: " + theCdTitle );
}// end toString( ) function
// File: InvalidDataException.java
// Author: Chi Lun To (Ivan To)
// Created on: June 5, 2007
// Class Description
// The InvalidDataException class is a self- defined exception class which handles
// the issues that may arise with return value of the deleted and modify function.
// For example, the issue will occurs if the user try to delete the music cd from a empty list
// or deleting a music cd that does not exist on the list. it would return null to the user. But, the user
// expected to return an obeject reference of the music cd.Therefore, we instantiate InvalidDataException
// class to handle this issue.
// Class Invariant:
// InvalidDataException class is a self-defining exceptional class which
// inherits the existing functionality of the Exception class.
public class InvalidDataException extends Exception
//Parameterized constructor
public InvalidDataException( String s )
super( s ); //inherits the existing functionality of the Exception class.
}Message was edited by:
Ivan1238
Message was edited by:
Ivan1238thx for your suggestion ..but i did try to skip my code..but i am sure if u guy understand what i am trying to ask ..so i try to show my all program for u guy better undrstand my problem ...the first three paragraph of code i hope u guy could focus on it ....i try ask the user to input the cd`s title to our insert list by using a function call readString( ) and i use this method to ask the user what cd they want to be delete from the list ...but it doesn`t work when i try to perform the delete cd funtion. At first, i think it should be my deleteCd( ) problem ..but i do some testing on it..it works fine if i pass a String directly to my function instead of using readString() function to perform ...therefore, i am sure my delete function working fine....i am thinking if it is my readString() problem make my deletion does not perform well...thx for u guy help
-
Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you
You may be able to download it fom here:
Printer and Scanner software available for download:
http://support.apple.com/kb/HT3669?viewlocale=en_US -
I can sync icloud calender with pc based outlook calender. Photos also sync. But can not sync contacts. Already checked contact boxes in icloud and and on my PC. Also tried to reset Document & Data on icloud. Could anyone help me on that?
That's what I did... switching on iCloud calender in the panel leads to the following: The existing local Outlook calendar gets mved to an new iCloud calendar.Thus the local calendar is empty.
Given that iTunes dows not allow my whife's phone to be synced with that iCloud calendar (only the local acalendar appears in the list of available calendars in iTunes; syncing all dioes not include the iCloud one) this leads to an empty alendar on my whife's phone.
Hence the question how to
a) get iTunes to include the iCloud calendar to sync with the iPhone 2g (preferred) or
b) enable a local MS Outlook internal sync between the two calendars. -
Hello! So I have a iPod 5th generation, and I just had a recent update, it was for iOS 6.1.3, and now for some reason, I can't get the iOS 7 update. Could anyone help me?
Apple's servers are slammed right now with iOS 7 downloads AND activation requests.
Be patient and try again later. -
Problem during loading, could anyone help !!!
I am trying to Load a Masterdata(flatfile) in a infoobject.
This is what i did:
I created a infoobject name 'EMPNAM' with some attributes, like [soc_sec, 0city,0country].
I created and activated communication struct , and Transfer struct.
Created my own flatfile(.csv) with some fake datas.
created infopackage and loaded the flatfile, system generated as loading successful. I checked the datas in PSA and i was able to see all the fields ['EMPNAM, soc_sec, 0city,0country] been loaded.
When i try to see the loaded data in the datatarget i.e the infoobject, i could only see the 'EMPNAM' been loaded, not the attributes[soc_sec,0city,0country].
Why is that, could anyone help me with this please.Hi,
I have read your question and all the responses. If the Infoobject is not listed in the Attribute Change Run, the only other reason could be that data is not loaded into the object itself. I read that you have loaded into PSA. Did you process the data manually into the Infoobject.. or did you just do a simulation. Simulation would not load the data. For making sure, please run Infopackage once again using Option No. 1 on the Processing tab of the Infopackage. That way you would be sure the data is processed till the data target.
rgds
naga
Maybe you are looking for
-
What can I do if script runs faster than network?
I've written an inter-application script that moves from InDesign, where it starts in AppleScript, to Photoshop, where the AppleScript runs a JavaScript to perform various tasks. It runs beautifully on my laptop at home where I do my development. Yes
-
What is the keyboard shortcut for the green "+" in top left corner?
Can anybody advice me where can I find or where can I change shortcut for the green "+", which change the size of Safari window (sorry I even don't know the name of this button). Thanks a lot! Message was edited by: jakudo
-
I upgraded t iphone 4. When I sync to computer. I was asked to upgrade itunes, I did. When I tried to open itunes a Quick Time Error 2069 occured. I went through several procudures. Finally I could open itunes. When I pluged in the phone, it would c
-
Times New Roman not viewed correctly in Safari
I cannot for the life of me figure out why pages using Times as the font are viewed in, what appears to be, an Indian font. I've turned off all the Indian fonts I can find in font book, and changed my font preferences in Safari to Verdana instead, bu
-
How can I import SMS or MMS messages from android
Switching my wife from Android to iPhone but want to import here SMS/MMS activity. I found apps on Android that can export or import text files but I'm not sure how to import those to iPhone. Is there an App that exists on both platforms that can s