iPhone 에서 작성된 글입니다.
'Dev > iOS' 카테고리의 다른 글
App 안에 Store Link 달기 (0) | 2011.01.10 |
---|---|
[Xcode] Build and Archive (1) | 2010.12.22 |
xcode weak framework (0) | 2010.12.22 |
Uninstalling Xcode Developer Tools (0) | 2010.12.21 |
UIImage to bytes (0) | 2010.11.16 |
이제안잊어먹겠지...
iPhone 에서 작성된 글입니다.
'Dev > iOS' 카테고리의 다른 글
[Xcode] Build and Archive (1) | 2010.12.22 |
---|---|
objective C category 내 동일한 함수들 (0) | 2010.12.22 |
Uninstalling Xcode Developer Tools (0) | 2010.12.21 |
UIImage to bytes (0) | 2010.11.16 |
Base SDK Missing (0) | 2010.09.09 |
Uninstalling Xcode Developer Tools
To uninstall Xcode developer tools on the boot volume along with the directory, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools -mode=all
To remove the underlying developer content on the boot volume, but leave the directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=systemsupport
To just remove the UNIX development support on the boot volume, but leave the directory and supporting files untouched, from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=unixdev
Finally, to just uninstall the directory you can simply drag it to the trash, or from a Terminal window type:
$ sudo <Xcode>/Library/uninstall-devtools --mode=xcodedir
NOTE: The uninstaller that ships with previous versions of the Xcode developer tools will not clean everything off of your system properly. You should use the one installed with these Xcode developer tools.
'Dev > iOS' 카테고리의 다른 글
objective C category 내 동일한 함수들 (0) | 2010.12.22 |
---|---|
xcode weak framework (0) | 2010.12.22 |
UIImage to bytes (0) | 2010.11.16 |
Base SDK Missing (0) | 2010.09.09 |
Couldn't register ** with the bootstrap server. Error: unknown error code. (0) | 2010.09.07 |
iPhone 에서 작성된 글입니다.
'Dev > Unity3D' 카테고리의 다른 글
Unity3D Inspector object 선택후 일괄 처리 (0) | 2011.07.02 |
---|---|
Unity3D 에서 XML Serialize Encrypt/Decrypt. (3) | 2011.04.22 |
Unity Script 와 Obejct-C 연동. (0) | 2010.11.09 |
Unity3D 3.0 과 OpenFeint 2.7.4 연동 (4) | 2010.11.02 |
OnGUI() 와 Garbage Collection (0) | 2010.10.08 |
UIImage *image = [UIImage imageNamed: @"canning.png"];
NSData *imageData = UIImagePNGRepresentation(image);
//Converting NSData to Byte array
NSUInteger len = [imageData length];
Byte *byteData = (Byte*)malloc(len);
memcpy(byteData, [imageData bytes], len);
'Dev > iOS' 카테고리의 다른 글
objective C category 내 동일한 함수들 (0) | 2010.12.22 |
---|---|
xcode weak framework (0) | 2010.12.22 |
Uninstalling Xcode Developer Tools (0) | 2010.12.21 |
Base SDK Missing (0) | 2010.09.09 |
Couldn't register ** with the bootstrap server. Error: unknown error code. (0) | 2010.09.07 |
'Dev > Unity3D' 카테고리의 다른 글
Unity3D 에서 XML Serialize Encrypt/Decrypt. (3) | 2011.04.22 |
---|---|
FindObjectOfType fail. (0) | 2010.12.14 |
Unity3D 3.0 과 OpenFeint 2.7.4 연동 (4) | 2010.11.02 |
OnGUI() 와 Garbage Collection (0) | 2010.10.08 |
Optimizing with Unity iPhone, the first three things I’ll do… (0) | 2010.09.16 |
- Unity3D -
1. OFEditorIntegration.cs 안에 OpenFeintSettingsWizzard class 를 따로 파일을 만들어 생성.
2. OpenFeint/Set Application Initialization Settings... : setting 해주시고 apply.
3.AppController+OpenFeint.mm
- 코드 수정
extern bool gDidResignActive = false; ( 이건 extern 에 initialized 했다고 경고가 뜬다.흠..)
// Give ourselves access to the OpenFeint Unity scripts via Mono.
NSString *path = [[[NSBundle mainBundle] bundlePath]
stringByAppendingPathComponent:@"Data/Managed/Assembly-CSharp-firstpass.dll"];
4. Build 하기 전에 꼭 xcode 를 종료.(build 하면 이것저것 추가됩.)
- XCode -
5. OpenFeint source add 해주시고.
6. build -> 수많은 error 가...--;
- error fix -
7. OpenFeint/OpenFeintSettings.h code 추가.
extern const NSString* OpenFeintSettingInvertNotifications;
8. OpenFeint/api/internal/OpenFeint/OpenFeintSettings.mm code 추가
const NSString* OpenFeintSettingInvertNotifications = @"OpenFeintSettingInvertNotifications";
9. Frameworks 에 아래 framwwork 추가
GameKit.framework
AddressBook.framework
AddressBookUI.framework
== 성공 ==
ps. 수정된 unitypackage 첨부.(7, 8 번만 수동으로 해주면 됨)
'Dev > Unity3D' 카테고리의 다른 글
FindObjectOfType fail. (0) | 2010.12.14 |
---|---|
Unity Script 와 Obejct-C 연동. (0) | 2010.11.09 |
OnGUI() 와 Garbage Collection (0) | 2010.10.08 |
Optimizing with Unity iPhone, the first three things I’ll do… (0) | 2010.09.16 |
Unity3D iPhone frame 변경 (2) | 2010.09.06 |
가급적 OnGUI 를 사용하지 말고 써드파티 GUI툴을 사용해야겠다.
참고 : http://forum.unity3d.com/threads/60217-Garbage-collector-spikes-because-of-GUI?highlight=garbage
'Dev > Unity3D' 카테고리의 다른 글
FindObjectOfType fail. (0) | 2010.12.14 |
---|---|
Unity Script 와 Obejct-C 연동. (0) | 2010.11.09 |
Unity3D 3.0 과 OpenFeint 2.7.4 연동 (4) | 2010.11.02 |
Optimizing with Unity iPhone, the first three things I’ll do… (0) | 2010.09.16 |
Unity3D iPhone frame 변경 (2) | 2010.09.06 |
1. Use InvokeRepeating()
MonoBehaviour.InvokeRepeating
function InvokeRepeating (methodName : string, time : float, repeatRate : float) : void
Description
Invokes the method methodName in time seconds.
After the first invocation repeats calling that function every repeatRate seconds.
2. Force Garbage Collecting every some times
- System.GC.Collect()
'Dev > Unity3D' 카테고리의 다른 글
FindObjectOfType fail. (0) | 2010.12.14 |
---|---|
Unity Script 와 Obejct-C 연동. (0) | 2010.11.09 |
Unity3D 3.0 과 OpenFeint 2.7.4 연동 (4) | 2010.11.02 |
OnGUI() 와 Garbage Collection (0) | 2010.10.08 |
Unity3D iPhone frame 변경 (2) | 2010.09.06 |
- Device 선택.
Project-> Edit Active Target "Unity-iPhone"
- Device 선택..
쿠쿠..
'Dev > iOS' 카테고리의 다른 글
objective C category 내 동일한 함수들 (0) | 2010.12.22 |
---|---|
xcode weak framework (0) | 2010.12.22 |
Uninstalling Xcode Developer Tools (0) | 2010.12.21 |
UIImage to bytes (0) | 2010.11.16 |
Couldn't register ** with the bootstrap server. Error: unknown error code. (0) | 2010.09.07 |