Eclipse kepler not link (ctrl + arrow over a class) method or properties class by PDT (PHP)

Eclipse, PHP, WordPress oscar Nessun Commento »

I found out why in kepler don’t work fine (into some class) open a method or properties from another class with command CTRL + arrow “over” a class. I reinstall 1000 times PDT but nothing, the bug not fixed.

It’s sufficient look the source code of the class and update the code from “throw (new Exception(”));” to “throw new Exception(”);”, that is you must delete the “parentheses” before the word “new”. I don’t know why, but now kepler work fine.

bye

Rimuovere workspace da Flash (Flex) Builder 4.x

Varie Soft! Nessun Commento »


Per “switchare” da un workspace all’altro in eclipse è sufficiente sovrascrivere il file presente nei link qui sotto:

Windows XP:
C:\Documents and Settings\username\Adobe Flash Builder 4.x\cascaded\349722\configuration\.settings
OSX: 
[DOCUMENTS]/Adobe Flash Builder 4.x\cascaded\349722\configuration\.settings

modificate “org.eclipse.ui.ide.prefs”.

es.

#Fri Nov 08 09:47:00 CET 2013
RECENT_WORKSPACES_PROTOCOL=3
MAX_RECENT_WORKSPACES=5
SHOW_WORKSPACE_SELECTION_DIALOG=false
eclipse.preferences.version=1
RECENT_WORKSPACES=MY-WORKSPACE 

Questa operazione equivale a fare:
Flash Builder > Preferences > General > Startup and Shutdown > Workspaces

(i log si trovano [DOCUMENTS]/Adobe Flash Builder 4.x/.metadata/.log)
Ciao

<Google> Cannot find an ad network adapter with the name(s):

iPad, iPhone, Object-C Soft! Nessun Commento »

<Google> Cannot find an ad network adapter with the name(s): (
    GADMAdapterIAd
). Remember to link all required ad network adapters and SDKs, and set -ObjC -all_load in the 'Other Linker Flags' setting of your build target.

Il problema è stato risolto aggiungendo ‘libAdapterIAd.a’ e ‘ iAds.framework’.
La prima libreria si trova qui, mentre il secondo è presente nella lista dei “Link Binary” di “Build Phases” del progetto.

Cancellare e ricompilare.

Buon lavoro.

clang: error: linker command failed with exit code 1 – library not found

iPad, iPhone, Object-C Soft! Nessun Commento »

– problema:

ld: library not found for -lDMReader
clang: error: linker command failed with exit code 1 (use -v to see invocation)

– soluzione:

aggiungere in “Library Search Paths” di “Build Settings” la cartella dove si trova la libreria.

Forzare HIDE STATUS BAR per iOS7 e iOS6

cocos2d, iPhone, Object-C Soft! Nessun Commento »


Con il nuovo rilascio del sistema operativo di Apple bisogna fare qualche aggiustamento qua e la nei vecchi progetti.
Uno di questi è quello di nascondere la status bar:

 
//viewDidload
if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)]) {
// iOS 7
[self prefersStatusBarHidden];
[self performSelector:@selector(setNeedsStatusBarAppearanceUpdate)];
} else {
// iOS 6
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
}
 
 
// Add this Method
- (BOOL)prefersStatusBarHidden
{
return YES;
}

Flash vs jQuery 2013

AIR, Flash oscar Nessun Commento »

Ad oggi:

  • Google uses Blink rendering engine and V8 Javascript.
  • Mozilla uses Gecko rendering engine and SpiderMonkey Javascript.
  • Apple uses Webkit2 rendering and Nitro javascript.
  • Microsoft uses Trident engine and Chackra javascript.

e Flash? A me sembra che continuino a svilupparlo, alla faccia che doveva morire 2 anni fa.

Home | Graffiti e Disegni | Educazione | Chi siamo | Blog | Progetti | Contatti
RSS Feed Comments RSS Accedi