Tag:
190 entries about programming.
related tags: csharp, computer, game, program, visual basic, vb, ภาษาซี, language, music synthesis, kenessar
การสร้าง NSIndexPath
ดีค่ะ
จดท่านี้เอาไว้ สำหรับเพื่อนๆ ที่ต้องการสร้าง NSIndexPath มาใช้งาน
โดยใน NSIndexPath จะมี method indexPathForRow ให้ใช้ ในการสร้าง IndexPath ขึ้นมาได้นะค่ะ
..
...
กำเนิด สวัสดีชาวโลก(Hello world!)
วันนี้นึกสงสัยว่าทำไมหนังสือสอนเขียนโปรแกมทุกเล่ม ต้องสอนไอ้เจ้าโปรแกรม Hello World ซึ่งก็คือการรันโปรแกรมแล้วให้โปรแกรมแสดงคำว่า "Hello world" ออกทางหน้าจอ(แค่เนียะ)
ไม่ว่าจะเขียนภาษ...
Tags: programming
ภาษา CSharp
namespace Universe
{
public partial class Thaina : ILifeForm
{
Soul MySoul;
 ...
Ruby: Metaprogramming Episode II "method_missing"
มาต่อเรื่อง Metaprogramming อีกดีกว่า(เป็น feature ที่ชอบที่สุดในภาษา Ruby เลยแฮะ )
Entry นี้คงต้องพูดถึง method ที่สำคัญสุดๆ method หนึ่ง ในเรื่องของ metaprogramming นั่นคือ method_missing ซึ่งถ้า...
Compiling and Installing miniAudicle and ChucK on Ubuntu 9.10 (update)
Finally, Ubuntu 9.10 is released, and so did the new version of
ChucK (1.2.1.3) and miniAudicle (0.2.0.0). Now we can compile
easier, we don't have to hack the source code any more.
H...
folder resource : iphone
ดีค่ะ
เพื่อนๆ รู้ไหมค่ะ ว่า folder resource ใน iphone จะมีคุณสมบัติเป็น READ ONLY อะ
จบแระค่า บายค่ะ
...
convert string to int
ดีค่ะ จด ท่าเล็กๆ ไว้นะค่ะ สำหรับการแปลงค่าจาก string ไป int ใน iphone
NSString *theString = @"123";
int theInteger = [theString intVa...
demo iCigalert (2)
ดีนะค่ะ ต่อจาก [1] [2]
มาดูตัวอย่าง demo iCigalert ส่วนของ settings นะค่ะ
โดยตัวอย่างนี้จะเรียนในบทของการดึงค่าจาก database ออกมาแสดง ,การใช้ UItable แบบ Group Style,การแบ่งกลุ่ม...
ปรับสเกลลดขนาดภาพ
มันก็แค่โปรแกรมง่ายๆตัวนึงน่ะแหละ 5*5*5*
ทำไมถึงทำไอ้นี่ขึ้นมาน่ะหรอ...เออนั่นดิ กรั่กๆๆ (ไอ้จขบ.มันรั่ว ปล่อยไป..)
เอาเป็นว่าก่อนหน้านี้ตัวเองค่อนข้างมีปัญหาอยู่เรื่องปรับขนาดภาพน่ะ
...
Tags: image, programming
tableview ภาษาไทย (2)
สวัสดีค่ะ
ต่อจากตอนที่แล้วได้ทำการดึงข้อมูลจาก database sqlite แล้วมายัดใส่ tableview เกิดปัญหาเรื่อง font thai
โดยหลังจากที่ได้ทำการดึงข้อมูลมาด้วยคำสั่ง
NSString *dataE = [NSStr...
